From 94789dfaf6afaf17ee65df12cd659be64b86592d Mon Sep 17 00:00:00 2001 From: sanyu1225 Date: Sun, 25 Feb 2024 04:33:33 +0800 Subject: [PATCH] feat: support aptos server from env --- src/services/aptosTestnet.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/aptosTestnet.ts b/src/services/aptosTestnet.ts index 4ebeaf2..a288edd 100644 --- a/src/services/aptosTestnet.ts +++ b/src/services/aptosTestnet.ts @@ -13,6 +13,7 @@ const isMainnet = process.env.REACT_APP_NETWORK === "mainnet"; const bloctoSDK = new BloctoSDK({ aptos: { chainId: isMainnet ? 1 : 2, + server: process.env.REACT_APP_WALLET_SERVER, }, appId: process.env.REACT_APP_DAPP_ID, }) as ExtendedAptosBloctoSDK;