Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit cd0ac32

Browse files
authored
Merge pull request #569 from api3dao/main
Initiate release
2 parents 3908a8a + 7ded2e2 commit cd0ac32

6 files changed

Lines changed: 69 additions & 10 deletions

File tree

.changeset/chatty-badgers-rhyme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@api3/chains': patch
3+
---
4+
5+
Update block explorer for mantle and mantle-sepolia-testnet

.changeset/five-melons-melt.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@api3/chains': minor
3+
---
4+
5+
Adds following chain:
6+
- soneium

chains/mantle-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://explorer.sepolia.mantle.xyz/api"
9+
"url": "https://api-sepolia.mantlescan.xyz/api"
1010
},
11-
"browserUrl": "https://explorer.sepolia.mantle.xyz/"
11+
"browserUrl": "https://sepolia.mantlescan.xyz/"
1212
},
1313
"id": "5003",
1414
"name": "Mantle testnet",

chains/mantle.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://explorer.mantle.xyz/api"
9+
"url": "https://api.mantlescan.xyz/api"
1010
},
11-
"browserUrl": "https://explorer.mantle.xyz/"
11+
"browserUrl": "https://mantlescan.xyz/"
1212
},
1313
"id": "5000",
1414
"name": "Mantle",

chains/soneium.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"alias": "soneium",
3+
"decimals": 18,
4+
"explorer": {
5+
"api": {
6+
"key": {
7+
"required": false
8+
},
9+
"url": "https://soneium.blockscout.com/api"
10+
},
11+
"browserUrl": "https://soneium.blockscout.com/"
12+
},
13+
"id": "1868",
14+
"name": "Soneium",
15+
"providers": [
16+
{
17+
"alias": "default",
18+
"rpcUrl": "https://rpc.soneium.org/"
19+
},
20+
{
21+
"alias": "alchemy",
22+
"homepageUrl": "https://alchemy.com"
23+
},
24+
{
25+
"alias": "tenderly",
26+
"homepageUrl": "https://tenderly.co/"
27+
}
28+
],
29+
"symbol": "ETH",
30+
"testnet": false
31+
}

src/generated/chains.ts

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,8 +1051,8 @@ export const CHAINS: Chain[] = [
10511051
alias: 'mantle-sepolia-testnet',
10521052
decimals: 18,
10531053
explorer: {
1054-
api: { key: { required: false }, url: 'https://explorer.sepolia.mantle.xyz/api' },
1055-
browserUrl: 'https://explorer.sepolia.mantle.xyz/',
1054+
api: { key: { required: true }, url: 'https://api-sepolia.mantlescan.xyz/api' },
1055+
browserUrl: 'https://sepolia.mantlescan.xyz/',
10561056
},
10571057
id: '5003',
10581058
name: 'Mantle testnet',
@@ -1064,8 +1064,8 @@ export const CHAINS: Chain[] = [
10641064
alias: 'mantle',
10651065
decimals: 18,
10661066
explorer: {
1067-
api: { key: { required: false }, url: 'https://explorer.mantle.xyz/api' },
1068-
browserUrl: 'https://explorer.mantle.xyz/',
1067+
api: { key: { required: true }, url: 'https://api.mantlescan.xyz/api' },
1068+
browserUrl: 'https://mantlescan.xyz/',
10691069
},
10701070
id: '5000',
10711071
name: 'Mantle',
@@ -1635,6 +1635,23 @@ export const CHAINS: Chain[] = [
16351635
symbol: 'ETH',
16361636
testnet: true,
16371637
},
1638+
{
1639+
alias: 'soneium',
1640+
decimals: 18,
1641+
explorer: {
1642+
api: { key: { required: false }, url: 'https://soneium.blockscout.com/api' },
1643+
browserUrl: 'https://soneium.blockscout.com/',
1644+
},
1645+
id: '1868',
1646+
name: 'Soneium',
1647+
providers: [
1648+
{ alias: 'default', rpcUrl: 'https://rpc.soneium.org/' },
1649+
{ alias: 'alchemy', homepageUrl: 'https://alchemy.com' },
1650+
{ alias: 'tenderly', homepageUrl: 'https://tenderly.co/' },
1651+
],
1652+
symbol: 'ETH',
1653+
testnet: false,
1654+
},
16381655
{
16391656
alias: 'sonic-testnet',
16401657
decimals: 18,

0 commit comments

Comments
 (0)