Skip to content

Commit

Permalink
Merge pull request #96 from blocto/feat/aptos-server-inject-env
Browse files Browse the repository at this point in the history
feat: support aptos server from env
  • Loading branch information
sanyu1225 authored Feb 26, 2024
2 parents b844ded + 94789df commit caeda47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/aptosTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit caeda47

Please sign in to comment.