mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
150aa21bd1
also improves #61 - at least now mainnet is on top again ;-)
19 lines
846 B
JSON
19 lines
846 B
JSON
---
|
|
layout: none
|
|
permalink: chains.json
|
|
---
|
|
[{% assign chains = site.data.chains | sort %}{% for json in chains %}{% 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%}],
|
|
"infoURL": "{{ chain.infoURL }}"
|
|
}{% unless forloop.last %},{% endunless %}{% endfor %}
|
|
]
|