Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/chatty-badgers-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@api3/chains': patch
---

Update block explorer for mantle and mantle-sepolia-testnet
6 changes: 6 additions & 0 deletions .changeset/five-melons-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@api3/chains': minor
---

Adds following chain:
- soneium
6 changes: 3 additions & 3 deletions chains/mantle-sepolia-testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"explorer": {
"api": {
"key": {
"required": false
"required": true
},
"url": "https://explorer.sepolia.mantle.xyz/api"
"url": "https://api-sepolia.mantlescan.xyz/api"
},
"browserUrl": "https://explorer.sepolia.mantle.xyz/"
"browserUrl": "https://sepolia.mantlescan.xyz/"
},
"id": "5003",
"name": "Mantle testnet",
Expand Down
6 changes: 3 additions & 3 deletions chains/mantle.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"explorer": {
"api": {
"key": {
"required": false
"required": true
},
"url": "https://explorer.mantle.xyz/api"
"url": "https://api.mantlescan.xyz/api"
},
"browserUrl": "https://explorer.mantle.xyz/"
"browserUrl": "https://mantlescan.xyz/"
},
"id": "5000",
"name": "Mantle",
Expand Down
31 changes: 31 additions & 0 deletions chains/soneium.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"alias": "soneium",
"decimals": 18,
"explorer": {
"api": {
"key": {
"required": false
},
"url": "https://soneium.blockscout.com/api"
},
"browserUrl": "https://soneium.blockscout.com/"
},
"id": "1868",
"name": "Soneium",
"providers": [
{
"alias": "default",
"rpcUrl": "https://rpc.soneium.org/"
},
{
"alias": "alchemy",
"homepageUrl": "https://alchemy.com"
},
{
"alias": "tenderly",
"homepageUrl": "https://tenderly.co/"
}
],
"symbol": "ETH",
"testnet": false
}
25 changes: 21 additions & 4 deletions src/generated/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1051,8 +1051,8 @@ export const CHAINS: Chain[] = [
alias: 'mantle-sepolia-testnet',
decimals: 18,
explorer: {
api: { key: { required: false }, url: 'https://explorer.sepolia.mantle.xyz/api' },
browserUrl: 'https://explorer.sepolia.mantle.xyz/',
api: { key: { required: true }, url: 'https://api-sepolia.mantlescan.xyz/api' },
browserUrl: 'https://sepolia.mantlescan.xyz/',
},
id: '5003',
name: 'Mantle testnet',
Expand All @@ -1064,8 +1064,8 @@ export const CHAINS: Chain[] = [
alias: 'mantle',
decimals: 18,
explorer: {
api: { key: { required: false }, url: 'https://explorer.mantle.xyz/api' },
browserUrl: 'https://explorer.mantle.xyz/',
api: { key: { required: true }, url: 'https://api.mantlescan.xyz/api' },
browserUrl: 'https://mantlescan.xyz/',
},
id: '5000',
name: 'Mantle',
Expand Down Expand Up @@ -1635,6 +1635,23 @@ export const CHAINS: Chain[] = [
symbol: 'ETH',
testnet: true,
},
{
alias: 'soneium',
decimals: 18,
explorer: {
api: { key: { required: false }, url: 'https://soneium.blockscout.com/api' },
browserUrl: 'https://soneium.blockscout.com/',
},
id: '1868',
name: 'Soneium',
providers: [
{ alias: 'default', rpcUrl: 'https://rpc.soneium.org/' },
{ alias: 'alchemy', homepageUrl: 'https://alchemy.com' },
{ alias: 'tenderly', homepageUrl: 'https://tenderly.co/' },
],
symbol: 'ETH',
testnet: false,
},
{
alias: 'sonic-testnet',
decimals: 18,
Expand Down