Merge pull request #13 from ahsan-javaiid/feat/rootstock-network

Add Rootstock Network
This commit is contained in:
Andrei O. 2024-09-29 21:34:48 +03:00 committed by GitHub
commit 2d6f5e887f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 17 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -29,6 +29,15 @@ export const mainNets: {[key: number]: Network} = {
symbol: 'xDAI', symbol: 'xDAI',
priceId: 'xdai' priceId: 'xdai'
}, },
30: {
name: 'Rootstock',
rpc: 'https://public-node.rsk.co',
chainId: 30,
explorer: 'https://explorer.rootstock.io',
icon: 'rootstock.webp',
symbol: 'RBTC',
priceId: 'rootstock'
},
10: { 10: {
name: 'Optimism', name: 'Optimism',
rpc: 'https://mainnet.optimism.io', rpc: 'https://mainnet.optimism.io',
@ -114,6 +123,14 @@ export const testNets = {
explorer: 'https://gnosis-chiado.blockscout.com', explorer: 'https://gnosis-chiado.blockscout.com',
icon:'xdai_t.webp' icon:'xdai_t.webp'
}, },
31: {
name: 'Rootstock Testnet',
rpc: 'https://public-node.testnet.rsk.co',
chainId: 31,
explorer: 'https://explorer.testnet.rootstock.io',
icon: 'rootstock_t.webp',
symbol: 'tRBTC',
},
420: { 420: {
name: 'TESTNET Optimism Goreli', name: 'TESTNET Optimism Goreli',
rpc: 'https://goerli.optimism.io/', rpc: 'https://goerli.optimism.io/',