mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
update README
This commit is contained in:
parent
1461fc98d6
commit
a8a8b65e4c
26
README.md
26
README.md
|
@ -9,17 +9,35 @@ Data source available on `_data/chains.json`
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"name": "Ethereum Mainnet",
|
"name": "Ethereum Mainnet",
|
||||||
"shortName": "eth",
|
|
||||||
"chain": "ETH",
|
"chain": "ETH",
|
||||||
"network": "mainnet",
|
"network": "mainnet",
|
||||||
"chainId": 1,
|
|
||||||
"networkId": 1,
|
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://mainnet.infura.io/v3/${INFURA_API_KEY}",
|
"https://mainnet.infura.io/v3/${INFURA_API_KEY}",
|
||||||
"https://api.mycryptoapi.com/eth"
|
"https://api.mycryptoapi.com/eth"
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Ether",
|
||||||
|
"symbol": "ETH",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
"infoURL": "https://ethereum.org",
|
"infoURL": "https://ethereum.org",
|
||||||
"nativeCurrency": {"name":"Ether","symbol":"ETH","decimals":18}
|
"shortName": "eth",
|
||||||
|
"chainId": 1,
|
||||||
|
"networkId": 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Scripts
|
||||||
|
|
||||||
|
1. Install dependencies
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd scripts && npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Verify chainId and networkId
|
||||||
|
|
||||||
|
```sh
|
||||||
|
node scripts/verify.js
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user