From a8a8b65e4cb2915f8a76a1d3dd269e6da9f6ecd2 Mon Sep 17 00:00:00 2001 From: Pedro Gomes Date: Tue, 2 Jul 2019 12:02:07 +0200 Subject: [PATCH] update README --- README.md | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9ba36c67..8e186dcc 100644 --- a/README.md +++ b/README.md @@ -9,17 +9,35 @@ Data source available on `_data/chains.json` ```json { "name": "Ethereum Mainnet", - "shortName": "eth", "chain": "ETH", "network": "mainnet", - "chainId": 1, - "networkId": 1, "rpc": [ "https://mainnet.infura.io/v3/${INFURA_API_KEY}", "https://api.mycryptoapi.com/eth" ], "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, "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 +```