Skip to content

DefiLlama/chainlist

Repository files navigation

Chainlist

Add a chain

Submit a PR that adds a new file to the constants/additionalChainRegistry folder. The new file should be named chainid-{chainid_number}.js and the contents should follow this structure:

{
  "name": "Ethereum Mainnet",
  "chain": "ETH",
  "rpc": [
    "https://eth.llamarpc.com",
  ],
  "faucets": [],
  "nativeCurrency": {
    "name": "Ether",
    "symbol": "ETH",
    "decimals": 18
  },
  "features": [{ "name": "EIP155" }, { "name": "EIP1559" }],
  "infoURL": "https://ethereum.org",
  "shortName": "eth",
  "chainId": 1,
  "networkId": 1,
  "icon": "ethereum",
  "explorers": [{
    "name": "etherscan",
    "url": "https://etherscan.io",
    "icon": "etherscan",
    "standard": "EIP3091"
  }]
}

Add an RPC to a chain that is already listed

If you wish to add your RPC, please submit a PR modifying constants/extraRpcs.js to add your RPC to the given chains.

API

The following API returns all the data in our website, including chain data along with all of their RPCs:

https://chainlist.org/rpcs.json

Releases

No releases published

Packages

No packages published

Languages