chains/README.md
2019-07-02 12:02:07 +02:00

44 lines
653 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# EVM-based Chains
Listed by chainId according to EIP-155
Data source available on `_data/chains.json`
## Example
```json
{
"name": "Ethereum Mainnet",
"chain": "ETH",
"network": "mainnet",
"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",
"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
```