Skip to content

Commit

Permalink
Merge pull request #399 from api3dao/1342-add-new-chains-for-csur-dat…
Browse files Browse the repository at this point in the history
…e-manta-pacific-sepolia-testnet-manta-pacific

Add new chains for csur
  • Loading branch information
hiletmis authored Aug 6, 2024
2 parents abe127d + f273393 commit 40d2b81
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/stupid-dolphins-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@api3/chains": minor
---

Adds following chains:

- Manta
- Manta testnet
23 changes: 23 additions & 0 deletions chains/manta-sepolia-testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"alias": "manta-sepolia-testnet",
"decimals": 18,
"explorer": {
"api": {
"key": {
"required": false
},
"url": "https://pacific-explorer.sepolia-testnet.manta.network/api/"
},
"browserUrl": "https://pacific-explorer.sepolia-testnet.manta.network/"
},
"id": "3441006",
"name": "Manta testnet",
"providers": [
{
"alias": "default",
"rpcUrl": "https://pacific-rpc.sepolia-testnet.manta.network/http"
}
],
"symbol": "ETH",
"testnet": true
}
39 changes: 39 additions & 0 deletions chains/manta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"alias": "manta",
"decimals": 18,
"explorer": {
"api": {
"key": {
"required": false
},
"url": "https://pacific-explorer.manta.network/api/"
},
"browserUrl": "https://pacific-explorer.manta.network/"
},
"id": "169",
"name": "Manta",
"providers": [
{
"alias": "default",
"rpcUrl": "https://pacific-rpc.manta.network/http"
},
{
"alias": "public",
"rpcUrl": "https://r1.pacific.manta.systems/http"
},
{
"alias": "nirvanalabs",
"rpcUrl": "https://manta.nirvanalabs.xyz/mantapublic"
},
{
"alias": "tencentcloud",
"rpcUrl": "https://www.tencentcloud-rpc.com/v2/manta/manta-rpc"
},
{
"alias": "drpc",
"homepageUrl": "https://drpc.org"
}
],
"symbol": "ETH",
"testnet": false
}
32 changes: 32 additions & 0 deletions src/generated/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,38 @@ export const CHAINS: Chain[] = [
symbol: 'LYX',
testnet: false,
},
{
alias: 'manta-sepolia-testnet',
decimals: 18,
explorer: {
api: { key: { required: false }, url: 'https://pacific-explorer.sepolia-testnet.manta.network/api/' },
browserUrl: 'https://pacific-explorer.sepolia-testnet.manta.network/',
},
id: '3441006',
name: 'Manta testnet',
providers: [{ alias: 'default', rpcUrl: 'https://pacific-rpc.sepolia-testnet.manta.network/http' }],
symbol: 'ETH',
testnet: true,
},
{
alias: 'manta',
decimals: 18,
explorer: {
api: { key: { required: false }, url: 'https://pacific-explorer.manta.network/api/' },
browserUrl: 'https://pacific-explorer.manta.network/',
},
id: '169',
name: 'Manta',
providers: [
{ alias: 'default', rpcUrl: 'https://pacific-rpc.manta.network/http' },
{ alias: 'public', rpcUrl: 'https://r1.pacific.manta.systems/http' },
{ alias: 'nirvanalabs', rpcUrl: 'https://manta.nirvanalabs.xyz/mantapublic' },
{ alias: 'tencentcloud', rpcUrl: 'https://www.tencentcloud-rpc.com/v2/manta/manta-rpc' },
{ alias: 'drpc', homepageUrl: 'https://drpc.org' },
],
symbol: 'ETH',
testnet: false,
},
{
alias: 'mantle-sepolia-testnet',
decimals: 18,
Expand Down

0 comments on commit 40d2b81

Please sign in to comment.