Skip to content

Commit 6500019

Browse files
committed
update chain config
1 parent 61a5e9e commit 6500019

File tree

6 files changed

+22
-0
lines changed

6 files changed

+22
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"ethereum-testnet-sepolia-zircuit-1": {
33
"chainSelector": "4562743618362911021"
4+
},
5+
"sonic-testnet-blaze": {
6+
"chainSelector": "3676871237479449268"
47
}
58
}

src/config/data/chain-to-technology.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"SHIBARIUM_PUPPYNET": "SHIBARIUM",
7070
"SONIC_MAINNET": "SONIC",
7171
"SONIC_TESTNET": "SONIC",
72+
"SONIC_TESTNET_BLAZE": "SONIC",
7273
"BOB_MAINNET": "BOB",
7374
"BOB_SEPOLIA": "BOB",
7475
"BOTANIX_TESTNET": "BOTANIX",

src/config/data/chains.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,18 @@
10931093
"symbol": "S",
10941094
"decimals": 18
10951095
}
1096+
},
1097+
"SONIC_TESTNET_BLAZE": {
1098+
"chainId": 57054,
1099+
"title": "Sonic Blaze Testnet",
1100+
"explorer": {
1101+
"baseUrl": "https://testnet.sonicscan.org"
1102+
},
1103+
"nativeCurrency": {
1104+
"name": "Sonic",
1105+
"symbol": "S",
1106+
"decimals": 18
1107+
}
10961108
}
10971109
}
10981110
},

src/config/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export type SupportedChain =
146146
| "SHIBARIUM_PUPPYNET"
147147
| "SONIC_MAINNET"
148148
| "SONIC_TESTNET"
149+
| "SONIC_TESTNET_BLAZE"
149150
| "BOB_MAINNET"
150151
| "BOB_SEPOLIA"
151152
| "WORLD_MAINNET"

src/config/web3Providers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export const chainToProvider: Record<SupportedChain, () => Provider> = {
6363
SHIBARIUM_PUPPYNET: () => new JsonRpcProvider("https://puppynet.shibrpc.com"),
6464
SONIC_MAINNET: () => new JsonRpcProvider("https://rpc.ankr.com/sonic_mainnet"),
6565
SONIC_TESTNET: () => new JsonRpcProvider("https://rpc.testnet.soniclabs.com"),
66+
SONIC_TESTNET_BLAZE: () => new JsonRpcProvider("https://rpc.blaze.soniclabs.com"),
6667
BOB_MAINNET: () => new JsonRpcProvider("https://rpc.gobob.xyz"),
6768
BOB_SEPOLIA: () => new JsonRpcProvider("https://bob-sepolia.rpc.gobob.xyz"),
6869
WORLD_MAINNET: () => new JsonRpcProvider("https://worldchain.drpc.org"),

src/features/utils/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ export const directoryToSupportedChain = (chainInRdd: string): SupportedChain =>
306306
return "SONIC_MAINNET"
307307
case "sonic-testnet":
308308
return "SONIC_TESTNET"
309+
case "sonic-testnet-blaze":
310+
return "SONIC_TESTNET_BLAZE"
309311
case "bitcoin-mainnet-bob-1":
310312
return "BOB_MAINNET"
311313
case "bitcoin-testnet-sepolia-bob-1":
@@ -645,6 +647,8 @@ export const supportedChainToChainInRdd = (supportedChain: SupportedChain): stri
645647
return "sonic-mainnet"
646648
case "SONIC_TESTNET":
647649
return "sonic-testnet"
650+
case "SONIC_TESTNET_BLAZE":
651+
return "sonic-testnet-blaze"
648652
case "BOB_MAINNET":
649653
return "bitcoin-mainnet-bob-1"
650654
case "BOB_SEPOLIA":

0 commit comments

Comments
 (0)