diff --git a/dapps/react-dapp-v2/src/chains/eip155.ts b/dapps/react-dapp-v2/src/chains/eip155.ts index e7c0db1..a55b41c 100644 --- a/dapps/react-dapp-v2/src/chains/eip155.ts +++ b/dapps/react-dapp-v2/src/chains/eip155.ts @@ -26,8 +26,8 @@ export const EIP155Metadata: NamespaceMetadata = { rgb: EIP155Colors.ethereum, }, "5": { - logo: BLOCKCHAIN_LOGO_BASE_URL + "eip155:5.png", - rgb: EIP155Colors.goerli, + logo: BLOCKCHAIN_LOGO_BASE_URL + "eip155:1.png", + rgb: EIP155Colors.ethereum, }, "10": { name: "Optimism", @@ -38,8 +38,8 @@ export const EIP155Metadata: NamespaceMetadata = { logo: BLOCKCHAIN_LOGO_BASE_URL + "eip155:42.png", rgb: EIP155Colors.ethereum, }, - "69": { - logo: BLOCKCHAIN_LOGO_BASE_URL + "eip155:69.png", + "420": { + logo: BLOCKCHAIN_LOGO_BASE_URL + "eip155:420.png", rgb: EIP155Colors.optimism, }, "100": { diff --git a/dapps/react-dapp-v2/src/constants/default.ts b/dapps/react-dapp-v2/src/constants/default.ts index eb8bfbe..d92224a 100644 --- a/dapps/react-dapp-v2/src/constants/default.ts +++ b/dapps/react-dapp-v2/src/constants/default.ts @@ -13,8 +13,8 @@ export const DEFAULT_MAIN_CHAINS = [ export const DEFAULT_TEST_CHAINS = [ // testnets - "eip155:42", - "eip155:69", + "eip155:5", + "eip155:420", "eip155:80001", "eip155:421611", "eip155:44787", diff --git a/dapps/react-dapp-v2/src/helpers/api.ts b/dapps/react-dapp-v2/src/helpers/api.ts index 02f30a2..ab7d798 100644 --- a/dapps/react-dapp-v2/src/helpers/api.ts +++ b/dapps/react-dapp-v2/src/helpers/api.ts @@ -10,9 +10,9 @@ const rpcProvidersByChainId: Record = { symbol: "ETH", }, }, - 42: { - name: "Ethereum Kovan", - baseURL: "https://kovan.infura.io/v3/5dc0df7abe4645dfb06a9a8c39ede422", + 5: { + name: "Ethereum Goerli", + baseURL: "https://goerli.infura.io/v3/5dc0df7abe4645dfb06a9a8c39ede422", token: { name: "Ether", symbol: "ETH", @@ -42,9 +42,9 @@ const rpcProvidersByChainId: Record = { symbol: "ETH", }, }, - 69: { - name: "Optimism Kovan", - baseURL: "https://kovan.optimism.io", + 420: { + name: "Optimism Goerli", + baseURL: "https://goerli.optimism.io", token: { name: "Ether", symbol: "ETH", diff --git a/wallets/react-wallet-v2/public/chain-logos/eip155-10.png b/wallets/react-wallet-v2/public/chain-logos/eip155-10.png new file mode 100644 index 0000000..bcb45b3 Binary files /dev/null and b/wallets/react-wallet-v2/public/chain-logos/eip155-10.png differ diff --git a/wallets/react-wallet-v2/src/data/EIP155Data.ts b/wallets/react-wallet-v2/src/data/EIP155Data.ts index f9d5a27..3e76cb7 100644 --- a/wallets/react-wallet-v2/src/data/EIP155Data.ts +++ b/wallets/react-wallet-v2/src/data/EIP155Data.ts @@ -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' } }