forked from ethereum-lists/chains
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chains.json
19 lines (19 loc) · 1.13 KB
/
chains.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
layout: none
permalink: chains.json
---
[{% assign chains = site.data.chains | sort %}{% for json in chains %}{% if json[0] != "deprecated" %}{% assign chain = json[1] %}
{
"name": "{{ chain.name }}",
"chainId": {{ chain.chainId }},
"shortName": "{{ chain.shortName }}",
"chain": "{{ chain.chain }}",
"network": "{{ chain.network }}",
"networkId": {{ chain.networkId }},
"nativeCurrency": {"name":"{{chain.nativeCurrency["name"]}}","symbol":"{{chain.nativeCurrency["symbol"]}}","decimals":{{chain.nativeCurrency["decimals"]}}},
"rpc": [{% for rpc in chain.rpc %}"{{ rpc }}"{% unless forloop.last %},{% endunless %}{%endfor%}],
"faucets": [{% for faucet in chain.faucets %}"{{ faucet }}"{% unless forloop.last %},{% endunless %}{%endfor%}],
"explorers": [{% for explorer in chain.explorers %}{"name":"{{explorer.name}}","url":"{{explorer.url}}"{% if explorer.icon != null %},"icon":"{{explorer.icon}}"{% endif %},"standard":"{{explorer.standard}}"}{% unless forloop.last %},{% endunless %}{%endfor%}],
"infoURL": "{{ chain.infoURL }}"
}{% unless forloop.last %},{% endunless %}{% endif %}{% endfor %}
]