Ethcode docs
  • Introduction
  • Installation
    • How to install?
  • Configurations
    • Extension Settings
    • Set transaction gas strategy
  • How to Use?
    • Account
    • Initialize Ethcode
    • Compiling contracts
    • Add ABI into Ethcode
    • Deploy contract to network
    • Calling contracts
    • Create rental NFT
  • API Documentation
    • Getting started with extension API
    • wallet
    • contract
    • provider
    • events
    • status
  • Help and support
    • Support
Powered by GitBook
On this page
  1. Configurations

Extension Settings

Extension settings for Ethcode

PreviousHow to install?NextSet transaction gas strategy

Last updated 2 years ago

Use extension settings to define various configurations for your ethereum environment.

Add network configurations

  1. Go to the VScode settings.

  2. On the left side select Extensions and then select

    ΞTHcode

3. Find the Networks section and click on the Add Item button.

4. Enter the Name of your network as the key.

5. Paste below JSON object as a value.

Make sure to replace the values with your network configurations.

{
"rpc": "network_rpc_url", // e.g https://polygon-rpc.com
"blockScanner": "network_blockscanner_url", // e.g https://polygonscan.com
"chainID": "network_chainID", // e.g 137
"nativeCurrency": {
      "name": "native_currency_name", // e.g Matic
      "symbol": "network_currency_symbol" // e.g  Matic
      "decimals": "currency_decimals" // e.g 18
      }
}

network settings