feat: add rootstock network

This commit is contained in:
ahsan-javaiid 2024-09-28 13:54:36 +05:00
parent 004fdcec64
commit 25fc7e8dc3
No known key found for this signature in database
GPG Key ID: AD13E2F5F85E469C
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',
@ -105,6 +114,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/',