From dfef4ac8f61c2f0c37611e8808b61c64807c80c3 Mon Sep 17 00:00:00 2001 From: Jan-Felix Date: Thu, 2 May 2024 22:43:22 +0200 Subject: [PATCH 1/2] base support --- extension/src/chains.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/extension/src/chains.ts b/extension/src/chains.ts index 72812682..65cb076b 100644 --- a/extension/src/chains.ts +++ b/extension/src/chains.ts @@ -9,6 +9,7 @@ export const RPC = { 100: 'https://rpc.gnosischain.com', 137: 'https://polygon-rpc.com', 246: 'https://rpc.energyweb.org', + 8453: 'https://mainnet.base.org', 42161: 'https://arb1.arbitrum.io/rpc', 42220: 'https://forno.celo.org', 73799: 'https://volta-rpc.energyweb.org', @@ -27,6 +28,7 @@ export const EXPLORER_URL: Record = { 100: 'https://gnosisscan.io', 137: 'https://polygonscan.com', 246: 'https://explorer.energyweb.org', + 8453: 'https://basescan.org', 42161: 'https://arbiscan.io', 42220: 'https://explorer.celo.org', 73799: 'https://volta-explorer.energyweb.org', @@ -43,6 +45,7 @@ export const EXPLORER_API_URL: Record = { 100: 'https://api.gnosisscan.io/api', 137: 'https://api.polygonscan.com/api', 246: 'https://explorer.energyweb.org/api', + 8453: 'https://api.basescan.org/api', 42161: 'https://api.arbiscan.io/api', 42220: 'https://explorer.celo.org/api', 73799: 'https://volta-explorer.energyweb.org/api', @@ -59,6 +62,7 @@ export const EXPLORER_API_KEY: Record = { 100: 'W575K6DTMSTVB7UFUSNW7GWQ4UWUARTJ7Z', 137: '', 246: '', + 8453: 'KCC7EQHE17IAQZA9TICUS6BQTJGZUDRNIY', 42161: '', 42220: '', 73799: '', @@ -75,6 +79,7 @@ export const CHAIN_PREFIX: Record = { 100: 'gno', 137: 'matic', 246: 'ewt', + 8453: 'base', 42161: 'arb1', 42220: 'celo', 73799: 'vt', @@ -91,6 +96,7 @@ export const CHAIN_CURRENCY: Record = { 100: 'xDAI', 137: 'MATIC', 246: 'EWT', + 8453: 'ETH', 42161: 'ETH', 42220: 'CELO', 73799: 'VT', @@ -107,6 +113,7 @@ export const CHAIN_NAME: Record = { 100: 'Gnosis Chain', 137: 'Polygon', 246: 'Energy Web', + 8453: 'Base', 42161: 'Arbitrum One', 42220: 'Celo', 73799: 'Volta Testnet', @@ -154,6 +161,7 @@ export const MULTI_SEND_ADDRESS: Record = { // 595: '0x998739BFdAAdde7C933B942a68053933098f9EDa', // 686: '0x998739BFdAAdde7C933B942a68053933098f9EDa', // 787: '0x998739BFdAAdde7C933B942a68053933098f9EDa', + 8453: '0x998739BFdAAdde7C933B942a68053933098f9EDa', // 1001: '0x998739BFdAAdde7C933B942a68053933098f9EDa', // 1008: '0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761', // 1088: '0x998739BFdAAdde7C933B942a68053933098f9EDa', From bcc762ca8ae487576d9d24b01ec2a66d9ca02fee Mon Sep 17 00:00:00 2001 From: Jan-Felix Date: Thu, 2 May 2024 22:45:45 +0200 Subject: [PATCH 2/2] add base safe tx service --- extension/src/safe/kits.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/extension/src/safe/kits.ts b/extension/src/safe/kits.ts index 0d53de2d..f7da0744 100644 --- a/extension/src/safe/kits.ts +++ b/extension/src/safe/kits.ts @@ -14,6 +14,7 @@ export const TX_SERVICE_URL: Record = { [100]: 'https://safe-transaction-gnosis-chain.safe.global', [137]: 'https://safe-transaction-polygon.safe.global', [246]: 'https://safe-transaction-ewc.safe.global', + [8453]: 'https://safe-transaction-base.safe.global', [42161]: 'https://safe-transaction-arbitrum.safe.global', [42220]: undefined, // not available [73799]: 'https://safe-transaction-volta.safe.global',