update README

This commit is contained in:
Pedro Gomes 2019-07-02 12:02:07 +02:00
parent 1461fc98d6
commit a8a8b65e4c

View File

@ -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
```