From 250218738c9c86bb8aa0fca9b85b500a9c5db93f Mon Sep 17 00:00:00 2001 From: "shane.chi" Date: Tue, 15 Oct 2024 16:59:40 +0800 Subject: [PATCH] feat: support story testnet --- package.json | 2 +- src/services/evm.ts | 6 ++++++ yarn.lock | 8 ++++---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index fb87236..fdb9ce4 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "dependencies": { "@blocto/dappauth": "^2.1.0", "@blocto/fcl": "^1.0.0-alpha.1", - "@blocto/sdk": "0.10.3-beta.0", + "@blocto/sdk": "0.10.4-beta.0", "@chakra-ui/icons": "^1.1.1", "@chakra-ui/react": "^1.7.4", "@emotion/react": "^11", diff --git a/src/services/evm.ts b/src/services/evm.ts index 184c64b..0725a78 100644 --- a/src/services/evm.ts +++ b/src/services/evm.ts @@ -171,6 +171,12 @@ export const supportedChains = [ faucet: "https://coinfaucet.eu/en/btc-testnet/", environment: "testnet", }, + { + name: "Iliad Testnet", + chainId: "0x5e9", + rpcUrls: ["https://testnet.storyrpc.io/"], + environment: "testnet", + }, ]; const bloctoSDK = new BloctoSDK({ diff --git a/yarn.lock b/yarn.lock index 6b5bba8..9e4bd82 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1407,10 +1407,10 @@ deepmerge "^4.2.2" sha3 "^2.1.4" -"@blocto/sdk@0.10.3-beta.0": - version "0.10.3-beta.0" - resolved "https://registry.yarnpkg.com/@blocto/sdk/-/sdk-0.10.3-beta.0.tgz#23f46a0a3882897d023d3a8331082df3cf5c9127" - integrity sha512-lp3HAbK7xEY/FOYDAVIS510TquqWud/tMfwDPihtpJGo74ZehFgoat7C+2HgC7S5U+RcaOyDcrvihHEWDlMBRA== +"@blocto/sdk@0.10.4-beta.0": + version "0.10.4-beta.0" + resolved "https://registry.yarnpkg.com/@blocto/sdk/-/sdk-0.10.4-beta.0.tgz#aac2d58a689a26bd4cb73925801407fb050e22ed" + integrity sha512-dNleyXfaYR33bt7LmKuPrpWJUn3roUEYQ3QK0v9fKK593DHD0K/oFFxqv4Z+QV/4FLH5P+K5aR957xmApw6ROQ== dependencies: buffer "^6.0.3" eip1193-provider "^1.0.1"