From 0a5f620b6bc1c97c2612999d20d862235f6ca5e4 Mon Sep 17 00:00:00 2001 From: hiletmis Date: Wed, 28 Aug 2024 14:51:22 +0300 Subject: [PATCH 1/3] Add sonic-testnet for CSUR --- chains/sonic-testnet.json | 17 +++++++++++++++++ src/generated/chains.ts | 10 ++++++++++ 2 files changed, 27 insertions(+) create mode 100644 chains/sonic-testnet.json diff --git a/chains/sonic-testnet.json b/chains/sonic-testnet.json new file mode 100644 index 0000000..b15dfbd --- /dev/null +++ b/chains/sonic-testnet.json @@ -0,0 +1,17 @@ +{ + "alias": "sonic-testnet", + "decimals": 18, + "explorer": { + "browserUrl": "https://public-sonic.fantom.network/" + }, + "id": "64165", + "name": "Sonic testnet", + "providers": [ + { + "alias": "default", + "rpcUrl": "https://rpc.sonic.fantom.network" + } + ], + "symbol": "FTM", + "testnet": true +} diff --git a/src/generated/chains.ts b/src/generated/chains.ts index 8ae85ea..59692b5 100644 --- a/src/generated/chains.ts +++ b/src/generated/chains.ts @@ -1509,6 +1509,16 @@ export const CHAINS: Chain[] = [ symbol: 'SEI', testnet: false, }, + { + alias: 'sonic-testnet', + decimals: 18, + explorer: { browserUrl: 'https://public-sonic.fantom.network/' }, + id: '64165', + name: 'Sonic testnet', + providers: [{ alias: 'default', rpcUrl: 'https://rpc.sonic.fantom.network' }], + symbol: 'FTM', + testnet: true, + }, { alias: 'sx-testnet', decimals: 18, From 228e2f8a31afa3ea1c6a0e225e9b1fb953ccb610 Mon Sep 17 00:00:00 2001 From: hiletmis Date: Wed, 28 Aug 2024 14:56:38 +0300 Subject: [PATCH 2/3] Add changeset --- .changeset/empty-pandas-sip.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/empty-pandas-sip.md diff --git a/.changeset/empty-pandas-sip.md b/.changeset/empty-pandas-sip.md new file mode 100644 index 0000000..3cf0f13 --- /dev/null +++ b/.changeset/empty-pandas-sip.md @@ -0,0 +1,6 @@ +--- +'@api3/chains': minor +--- + +Adds following chain: +* sonic-testnet \ No newline at end of file From 1f595167c96c903e8bd7628782a25224df5abaf0 Mon Sep 17 00:00:00 2001 From: hiletmis Date: Thu, 29 Aug 2024 13:09:55 +0300 Subject: [PATCH 3/3] Update symbol to "S" in sonic-testnet.json --- chains/sonic-testnet.json | 2 +- src/generated/chains.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chains/sonic-testnet.json b/chains/sonic-testnet.json index b15dfbd..9aad122 100644 --- a/chains/sonic-testnet.json +++ b/chains/sonic-testnet.json @@ -12,6 +12,6 @@ "rpcUrl": "https://rpc.sonic.fantom.network" } ], - "symbol": "FTM", + "symbol": "S", "testnet": true } diff --git a/src/generated/chains.ts b/src/generated/chains.ts index 59692b5..644c331 100644 --- a/src/generated/chains.ts +++ b/src/generated/chains.ts @@ -1516,7 +1516,7 @@ export const CHAINS: Chain[] = [ id: '64165', name: 'Sonic testnet', providers: [{ alias: 'default', rpcUrl: 'https://rpc.sonic.fantom.network' }], - symbol: 'FTM', + symbol: 'S', testnet: true, }, {