feat: adds zk sync era (#211)

This commit is contained in:
Ramon "9Tails" Canales
2023-06-30 16:31:28 +02:00
committed by GitHub
parent 40b772f142
commit d7c56a3bea
8 changed files with 90 additions and 4 deletions
@@ -0,0 +1,5 @@
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 64C0 28.6538 28.6538 0 64 0H448C483.346 0 512 28.6538 512 64V448C512 483.346 483.346 512 448 512H64C28.6538 512 0 483.346 0 448V64Z" fill="#F2F2F2"/>
<path d="M160 128L32 256L160 384V288L288 192H160V128Z" fill="black"/>
<path d="M480 256L352 128V224L224 320H352V384L480 256Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 410 B

@@ -39,7 +39,14 @@ export const EIP155_MAINNET_CHAINS = {
logo: '/chain-logos/eip155-10.png',
rgb: '235, 0, 25',
rpc: 'https://mainnet.optimism.io'
}
},
'eip155:324': {
chainId: 324,
name: 'zkSync Era',
logo: '/chain-logos/eip155-324.svg',
rgb: '242, 242, 242',
rpc: 'https://mainnet.era.zsync.io/'
},
}
export const EIP155_TEST_CHAINS = {
@@ -70,7 +77,14 @@ export const EIP155_TEST_CHAINS = {
logo: '/chain-logos/eip155-10.png',
rgb: '235, 0, 25',
rpc: 'https://goerli.optimism.io'
}
},
'eip155:280': {
chainId: 280,
name: 'zkSync Era Testnet',
logo: '/chain-logos/eip155-324.svg',
rgb: '242, 242, 242',
rpc: 'https://testnet.era.zsync.dev/'
},
}
export const EIP155_CHAINS = { ...EIP155_MAINNET_CHAINS, ...EIP155_TEST_CHAINS }