From 4fde70e2b4372804948cd403ae6a1dc29257edfa Mon Sep 17 00:00:00 2001 From: paintoshi <88572775+paintoshi@users.noreply.github.com> Date: Tue, 24 Oct 2023 19:26:08 +0200 Subject: [PATCH] fix: Adding sonic network --- pages/_app.tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index 09a0045..d149268 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -37,7 +37,7 @@ const metadata = { const sonic: Chain = { ...fantom, - id: 251, // What to use here? + id: 64240, /** * contracts: { * {multicall3: {address: '0xca11bde05977b3631167028862be2a173976ca11'} @@ -46,13 +46,19 @@ const sonic: Chain = { name: 'Sonic', network: 'sonic', rpcUrls: { - default: {http: ['https://rpc.ftm.tools/'] as const}, // To satisfy readonly - public: {http: ['https://rpc.ftm.tools/'] as const} // To satisfy readonly + default: {http: ['https://rpcapi.sonic.fantom.network/'] as const}, // To satisfy readonly + public: {http: ['https://rpcapi.sonic.fantom.network/'] as const} // To satisfy readonly + }, + blockExplorers: { + default: { + name: 'Sonic Explorer', + url: 'https://public-sonic.fantom.network', + }, }, } const { chains, publicClient } = configureChains( - [fantom, avalanche], + [sonic, fantom, avalanche], [ walletConnectProvider({ projectId }), publicProvider(),