refactor: update ETH/Optimism Kovan to Goerli in Sign v2 examples (#66)

This commit is contained in:
Ben Kremer
2022-10-06 13:42:04 +02:00
committed by GitHub
parent 9b7950fc4a
commit 77adb22535
5 changed files with 30 additions and 16 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+18 -4
View File
@@ -32,16 +32,23 @@ export const EIP155_MAINNET_CHAINS = {
logo: '/chain-logos/eip155-137.png',
rgb: '130, 71, 229',
rpc: 'https://polygon-rpc.com/'
},
'eip155:10': {
chainId: 10,
name: 'Optimism',
logo: '/chain-logos/eip155-10.png',
rgb: '235, 0, 25',
rpc: 'https://mainnet.optimism.io'
}
}
export const EIP155_TEST_CHAINS = {
'eip155:42': {
chainId: 42,
name: 'Ethereum Kovan',
'eip155:5': {
chainId: 5,
name: 'Ethereum Goerli',
logo: '/chain-logos/eip155-1.png',
rgb: '99, 125, 234',
rpc: 'https://kovan.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161'
rpc: 'https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161'
},
'eip155:43113': {
chainId: 43113,
@@ -56,6 +63,13 @@ export const EIP155_TEST_CHAINS = {
logo: '/chain-logos/eip155-137.png',
rgb: '130, 71, 229',
rpc: 'https://matic-mumbai.chainstacklabs.com'
},
'eip155:420': {
chainId: 420,
name: 'Optimism Goerli',
logo: '/chain-logos/eip155-10.png',
rgb: '235, 0, 25',
rpc: 'https://goerli.optimism.io'
}
}