Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: initial config for Ronin network #20

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ To add a chain to the metadata, please open a pull request with the following ch

- Update `CHAIN_IDS` in `scripts/update.py` with the chain IDs you want to add
- Run `python scripts/update.py`
- Submit a PR with the updated script and updated `evmchain/chains.py` metdata file
- Submit a PR with the updated script and updated `evmchains/chains.py` metdata file
bitwise-constructs marked this conversation as resolved.
Show resolved Hide resolved

**Do not edit `evmchain/chains.py` manually.** Any manual changes are likely to be overwritten later.
**Do not edit `evmchains/chains.py` manually.** Any manual changes are likely to be overwritten later.
73 changes: 68 additions & 5 deletions evmchains/chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
!!!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!
!!!! DO NOT EDIT THIS FILE DIRECTLY! !!!!
!!!! This file is auto-generated by scripts/update.py !!!!
!!!! 2024-12-04 18:03:20.068411+00:00 !!!!
!!!! 2024-12-16 19:59:59.568897+00:00 !!!!
!!!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!
"""

Expand Down Expand Up @@ -1115,6 +1115,7 @@
"https://sepolia.gateway.tenderly.co",
"https://ethereum-sepolia-rpc.publicnode.com",
"https://sepolia.drpc.org",
"https://eth-sepolia.g.alchemy.com/v2/WddzdzI2o9S3COdT73d5w6AIogbKq4X-",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol weird there would be one with an API in key...

],
"shortName": "sep",
"slip44": 1,
Expand Down Expand Up @@ -2242,6 +2243,64 @@
"slip44": None,
},
},
"ronin": {
"mainnet": {
"chain": "PublicMint",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow this is the first time we have had a clashing of chain IDs... weird

"chainId": 2020,
"ens": None,
"explorers": [
{
"name": "PublicMint Explorer",
"standard": "EIP3091",
"url": "https://explorer.publicmint.io",
}
],
"faucets": [],
"features": None,
"icon": None,
"infoURL": "https://publicmint.com",
"name": "PublicMint Mainnet",
"nativeCurrency": {"decimals": 18, "name": "USD", "symbol": "USD"},
"networkId": 2020,
"rpc": ["https://rpc.publicmint.io:8545"],
"shortName": "pmint",
"slip44": 60,
},
"testnet": {
"chain": "EDG",
"chainId": 2021,
"ens": None,
"explorers": [
{
"name": "Edgscan EdgeEVM explorer by Bharathcoorg",
"standard": "EIP3091",
"url": "https://edgscan.live",
},
{
"icon": "edgscan",
"name": "Edgscan EdgeWASM explorer by Bharathcoorg",
"standard": "none",
"url": "https://edgscan.ink",
},
],
"faucets": [],
"features": [{"name": "EIP155"}, {"name": "EIP1559"}],
"icon": "edgeware",
"infoURL": "https://edgeware.io",
"name": "Edgeware EdgeEVM Mainnet",
"nativeCurrency": {"decimals": 18, "name": "Edgeware", "symbol": "EDG"},
"networkId": 2021,
"rpc": [
"https://edgeware-evm.jelliedowl.net",
"https://edgeware-evm0.jelliedowl.net",
"https://edgeware-evm1.jelliedowl.net",
"https://edgeware-evm2.jelliedowl.net",
"https://edgeware-evm3.jelliedowl.net",
],
"shortName": "edg",
"slip44": 523,
},
},
"rootstock": {
"mainnet": {
"chain": "Rootstock",
Expand Down Expand Up @@ -2328,12 +2387,16 @@
"symbol": "BONE",
},
"networkId": 109,
"rpc": ["https://www.shibrpc.com"],
"rpc": [
"https://www.shibrpc.com",
"https://rpc.shibrpc.com",
"https://shib.nownodes.io",
],
"shortName": "shibariumecosystem",
"slip44": None,
},
"puppynet": {
"chain": "Puppynet Shibarium",
"chain": "Puppynet",
"chainId": 157,
"ens": None,
"explorers": [
Expand All @@ -2343,11 +2406,11 @@
"url": "https://puppyscan.shib.io",
}
],
"faucets": ["https://beta.shibariumtech.com/faucet"],
"faucets": ["https://shibarium.shib.io/faucet"],
"features": None,
"icon": "shibarium",
"infoURL": "https://shibariumecosystem.com",
"name": "Puppynet Shibarium",
"name": "Puppynet",
"nativeCurrency": {"decimals": 18, "name": "BONE", "symbol": "BONE"},
"networkId": 157,
"rpc": ["https://puppynet.shibrpc.com"],
Expand Down
4 changes: 4 additions & 0 deletions scripts/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@
"mainnet": 8008,
"sepolia": 80008,
},
"ronin": {
"mainnet": 2020,
"testnet": 2021,
},
"rootstock": {
"mainnet": 30,
"testnet": 31,
Expand Down
Loading