Ethcode docs
Search…
⌃K

Extension Settings

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

Add network configurations

  1. 1.
    Go to the VScode settings.
  2. 2.
    On the left side select Extensions and then select
    ΞTHcode
3. Find the Networks section and click on the Add Item button.
network settings
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.
1
{
2
"rpc": "network_rpc_url", // e.g https://polygon-rpc.com
3
"blockScanner": "network_blockscanner_url", // e.g https://polygonscan.com
4
"chainID": "network_chainID", // e.g 137
5
"nativeCurrency": {
6
"name": "native_currency_name", // e.g Matic
7
"symbol": "network_currency_symbol" // e.g Matic
8
"decimals": "currency_decimals" // e.g 18
9
}
10
}