We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d9f33 commit c2948b1Copy full SHA for c2948b1
helpers/aptos.ts
@@ -1,8 +1,10 @@
1
import axios from "axios";
2
import { httpGet, httpPost } from "../utils/fetchURL";
3
import { GraphQLClient } from "graphql-request";
4
+import { getEnv } from "./env";
5
-export const APTOS_RPC = 'https://aptos-mainnet.pontem.network';
6
+// export const APTOS_RPC = 'https://aptos-mainnet.pontem.network';
7
+export const APTOS_RPC = getEnv('APTOS_RPC');
8
9
// Number of decimals for the APT token.
10
const APT_DECIMALS = 8;
0 commit comments