Skip to content

Commit 90e64c1

Browse files
authored
Merge pull request #506 from api3dao/check-block-explorer-against-chain-documentations
Update block explorers according to chain docs
2 parents 2c4bb9c + 317509e commit 90e64c1

File tree

8 files changed

+37
-23
lines changed

8 files changed

+37
-23
lines changed

.changeset/fast-seals-read.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@api3/contracts': patch
3+
---
4+
5+
Update block explorer for following chains:
6+
7+
- apechain-arbitrum-sepolia-testnet
8+
- berachain-testnet
9+
- kroma-sepolia-testnet
10+
- metis
11+
- world-sepolia-testnet

data/chains/apechain-arbitrum-sepolia-testnet.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"explorer": {
55
"api": {
66
"key": {
7-
"required": false
7+
"required": true
88
},
9-
"url": "https://curtis.explorer.caldera.xyz/api"
9+
"url": "https://api-curtis.apescan.io/api"
1010
},
11-
"browserUrl": "https://curtis.explorer.caldera.xyz/"
11+
"browserUrl": "https://curtis.apescan.io/"
1212
},
1313
"id": "33111",
1414
"name": "ApeChain testnet",

data/chains/berachain-testnet.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"explorer": {
55
"api": {
66
"key": {
7-
"required": false
7+
"required": true
88
},
9-
"url": "https://api.routescan.io/v2/network/testnet/evm/80069/etherscan/api"
9+
"url": "https://api-testnet.berascan.com/api"
1010
},
11-
"browserUrl": "https://bepolia.beratrail.io/"
11+
"browserUrl": "https://testnet.berascan.com/"
1212
},
1313
"id": "80069",
1414
"name": "Berachain testnet",

data/chains/kroma-sepolia-testnet.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"key": {
77
"required": true
88
},
9-
"url": "https://api-sepolia.kromascan.com/api"
9+
"url": "https://api.routescan.io/v2/network/testnet/evm/2358/etherscan"
1010
},
11-
"browserUrl": "https://sepolia.kromascan.com/"
11+
"browserUrl": "https://testnet.kroscan.io/"
1212
},
1313
"id": "2358",
1414
"name": "Kroma testnet",

data/chains/metis.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"key": {
77
"required": false
88
},
9-
"url": "https://andromeda-explorer.metis.io/api"
9+
"url": "https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan/api"
1010
},
11-
"browserUrl": "https://andromeda-explorer.metis.io/"
11+
"browserUrl": "https://explorer.metis.io/"
1212
},
1313
"id": "1088",
1414
"name": "Metis",

data/chains/world-sepolia-testnet.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"explorer": {
55
"api": {
66
"key": {
7-
"required": false
7+
"required": true
88
},
9-
"url": "https://worldchain-sepolia.explorer.alchemy.com/api"
9+
"url": "https://api-sepolia.worldscan.org/api"
1010
},
11-
"browserUrl": "https://worldchain-sepolia.explorer.alchemy.com/"
11+
"browserUrl": "https://sepolia.worldscan.org/"
1212
},
1313
"id": "4801",
1414
"name": "World Chain testnet",

example.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
MNEMONIC=
2+
ETHERSCAN_API_KEY_APECHAIN_ARBITRUM_SEPOLIA_TESTNET=
23
ETHERSCAN_API_KEY_APECHAIN=
34
ETHERSCAN_API_KEY_ARBITRUM_SEPOLIA_TESTNET=
45
ETHERSCAN_API_KEY_ARBITRUM=
56
ETHERSCAN_API_KEY_AVALANCHE_TESTNET=
67
ETHERSCAN_API_KEY_AVALANCHE=
78
ETHERSCAN_API_KEY_BASE_SEPOLIA_TESTNET=
89
ETHERSCAN_API_KEY_BASE=
10+
ETHERSCAN_API_KEY_BERACHAIN_TESTNET=
911
ETHERSCAN_API_KEY_BERACHAIN=
1012
ETHERSCAN_API_KEY_BLAST_SEPOLIA_TESTNET=
1113
ETHERSCAN_API_KEY_BLAST=
@@ -43,6 +45,7 @@ ETHERSCAN_API_KEY_TAIKO_HOLESKY_TESTNET=
4345
ETHERSCAN_API_KEY_TAIKO=
4446
ETHERSCAN_API_KEY_UNICHAIN_SEPOLIA_TESTNET=
4547
ETHERSCAN_API_KEY_UNICHAIN=
48+
ETHERSCAN_API_KEY_WORLD_SEPOLIA_TESTNET=
4649
ETHERSCAN_API_KEY_WORLD=
4750
ETHERSCAN_API_KEY_ZIRCUIT_SEPOLIA_TESTNET=
4851
ETHERSCAN_API_KEY_ZIRCUIT=

src/generated/chains.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export const CHAINS: Chain[] = [
1212
alias: 'apechain-arbitrum-sepolia-testnet',
1313
decimals: 18,
1414
explorer: {
15-
api: { key: { required: false }, url: 'https://curtis.explorer.caldera.xyz/api' },
16-
browserUrl: 'https://curtis.explorer.caldera.xyz/',
15+
api: { key: { required: true }, url: 'https://api-curtis.apescan.io/api' },
16+
browserUrl: 'https://curtis.apescan.io/',
1717
},
1818
id: '33111',
1919
name: 'ApeChain testnet',
@@ -171,8 +171,8 @@ export const CHAINS: Chain[] = [
171171
alias: 'berachain-testnet',
172172
decimals: 18,
173173
explorer: {
174-
api: { key: { required: false }, url: 'https://api.routescan.io/v2/network/testnet/evm/80069/etherscan/api' },
175-
browserUrl: 'https://bepolia.beratrail.io/',
174+
api: { key: { required: true }, url: 'https://api-testnet.berascan.com/api' },
175+
browserUrl: 'https://testnet.berascan.com/',
176176
},
177177
id: '80069',
178178
name: 'Berachain testnet',
@@ -570,8 +570,8 @@ export const CHAINS: Chain[] = [
570570
alias: 'kroma-sepolia-testnet',
571571
decimals: 18,
572572
explorer: {
573-
api: { key: { required: true }, url: 'https://api-sepolia.kromascan.com/api' },
574-
browserUrl: 'https://sepolia.kromascan.com/',
573+
api: { key: { required: true }, url: 'https://api.routescan.io/v2/network/testnet/evm/2358/etherscan' },
574+
browserUrl: 'https://testnet.kroscan.io/',
575575
},
576576
id: '2358',
577577
name: 'Kroma testnet',
@@ -830,8 +830,8 @@ export const CHAINS: Chain[] = [
830830
alias: 'metis',
831831
decimals: 18,
832832
explorer: {
833-
api: { key: { required: false }, url: 'https://andromeda-explorer.metis.io/api' },
834-
browserUrl: 'https://andromeda-explorer.metis.io/',
833+
api: { key: { required: false }, url: 'https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan/api' },
834+
browserUrl: 'https://explorer.metis.io/',
835835
},
836836
id: '1088',
837837
name: 'Metis',
@@ -1379,8 +1379,8 @@ export const CHAINS: Chain[] = [
13791379
alias: 'world-sepolia-testnet',
13801380
decimals: 18,
13811381
explorer: {
1382-
api: { key: { required: false }, url: 'https://worldchain-sepolia.explorer.alchemy.com/api' },
1383-
browserUrl: 'https://worldchain-sepolia.explorer.alchemy.com/',
1382+
api: { key: { required: true }, url: 'https://api-sepolia.worldscan.org/api' },
1383+
browserUrl: 'https://sepolia.worldscan.org/',
13841384
},
13851385
id: '4801',
13861386
name: 'World Chain testnet',

0 commit comments

Comments
 (0)