Skip to content

Commit

Permalink
feat: add rootstock chain to update script and update metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansmirnoff committed May 16, 2024
1 parent 9e6cf8f commit 25fcb89
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 1 deletion.
66 changes: 65 additions & 1 deletion evmchains/chains.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is auto-generated by scripts/update.py
# 2024-04-09 14:08:35.326760
# 2024-05-16 20:07:59.147046
# Do not edit this file directly.
from typing import Any, Dict

Expand Down Expand Up @@ -490,6 +490,7 @@
"https://sepolia.gateway.tenderly.co",
"https://ethereum-sepolia-rpc.publicnode.com",
"https://sepolia.drpc.org",
"https://rpc-sepolia.rockx.com",
],
"shortName": "sep",
"slip44": 1,
Expand Down Expand Up @@ -940,4 +941,67 @@
"slip44": 1,
},
},
"rootstock": {
"mainnet": {
"chain": "Rootstock",
"chainId": 30,
"ens": None,
"explorers": [
{
"name": "Rootstock Explorer",
"standard": "EIP3091",
"url": "https://explorer.rsk.co",
},
{
"icon": "blockscout",
"name": "blockscout",
"standard": "EIP3091",
"url": "https://rootstock.blockscout.com",
},
],
"faucets": [],
"features": None,
"icon": "rootstock",
"infoURL": "https://rootstock.io",
"name": "Rootstock Mainnet",
"nativeCurrency": {
"decimals": 18,
"name": "Smart Bitcoin",
"symbol": "RBTC",
},
"networkId": 30,
"rpc": ["https://public-node.rsk.co", "https://mycrypto.rsk.co"],
"shortName": "rsk",
"slip44": 137,
},
"tesnet": {
"chain": "Rootstock",
"chainId": 31,
"ens": None,
"explorers": [
{
"name": "RSK Testnet Explorer",
"standard": "EIP3091",
"url": "https://explorer.testnet.rsk.co",
}
],
"faucets": ["https://faucet.rsk.co/"],
"features": None,
"icon": "rootstock",
"infoURL": "https://rootstock.io",
"name": "Rootstock Testnet",
"nativeCurrency": {
"decimals": 18,
"name": "Testnet Smart Bitcoin",
"symbol": "tRBTC",
},
"networkId": 31,
"rpc": [
"https://public-node.testnet.rsk.co",
"https://mycrypto.testnet.rsk.co",
],
"shortName": "trsk",
"slip44": 1,
},
},
}
4 changes: 4 additions & 0 deletions scripts/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
"mainnet": 59144,
"sepolia": 59141,
},
"rootstock": {
"mainnet": 30,
"tesnet": 31,
},
}

pp = PrettyPrinter(indent=4)
Expand Down

0 comments on commit 25fcb89

Please sign in to comment.