From a4a5022d2840664af0f471bc4b116042a875b68f Mon Sep 17 00:00:00 2001 From: hiletmis <31757771+hiletmis@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:42:06 +0300 Subject: [PATCH 1/2] Add Ink chain configuration and providers --- chains/ink.json | 35 +++++++++++++++++++++++++++++++++++ src/generated/chains.ts | 18 ++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 chains/ink.json diff --git a/chains/ink.json b/chains/ink.json new file mode 100644 index 0000000..dd9c821 --- /dev/null +++ b/chains/ink.json @@ -0,0 +1,35 @@ +{ + "alias": "ink", + "decimals": 18, + "explorer": { + "api": { + "key": { + "required": false + }, + "url": "https://explorer.inkonchain.com/api" + }, + "browserUrl": "https://explorer.inkonchain.com/" + }, + "id": "57073", + "name": "Ink", + "providers": [ + { + "alias": "default", + "rpcUrl": "https://rpc-gel.inkonchain.com" + }, + { + "alias": "public", + "rpcUrl": "https://rpc-qnd.inkonchain.com" + }, + { + "alias": "tenderly", + "homepageUrl": "https://tenderly.co/" + }, + { + "alias": "alchemy", + "homepageUrl": "https://alchemy.com" + } + ], + "symbol": "ETH", + "testnet": false +} diff --git a/src/generated/chains.ts b/src/generated/chains.ts index 1cba32d..1581720 100644 --- a/src/generated/chains.ts +++ b/src/generated/chains.ts @@ -816,6 +816,24 @@ export const CHAINS: Chain[] = [ symbol: 'ETH', testnet: true, }, + { + alias: 'ink', + decimals: 18, + explorer: { + api: { key: { required: false }, url: 'https://explorer.inkonchain.com/api' }, + browserUrl: 'https://explorer.inkonchain.com/', + }, + id: '57073', + name: 'Ink', + providers: [ + { alias: 'default', rpcUrl: 'https://rpc-gel.inkonchain.com' }, + { alias: 'public', rpcUrl: 'https://rpc-qnd.inkonchain.com' }, + { alias: 'tenderly', homepageUrl: 'https://tenderly.co/' }, + { alias: 'alchemy', homepageUrl: 'https://alchemy.com' }, + ], + symbol: 'ETH', + testnet: false, + }, { alias: 'kava-testnet', decimals: 18, From 0b4dec419c48993b7376a3e6744502df0becf94d Mon Sep 17 00:00:00 2001 From: hiletmis <31757771+hiletmis@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:42:12 +0300 Subject: [PATCH 2/2] Add changeset --- .changeset/smooth-balloons-remember.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/smooth-balloons-remember.md diff --git a/.changeset/smooth-balloons-remember.md b/.changeset/smooth-balloons-remember.md new file mode 100644 index 0000000..5c5879d --- /dev/null +++ b/.changeset/smooth-balloons-remember.md @@ -0,0 +1,6 @@ +--- +'@api3/chains': minor +--- + +Adds following chain: +- ink