-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.ts
15 lines (15 loc) · 946 Bytes
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export const network = {
id: process.env.NEXT_PUBLIC_NETWORK_ID,
name: process.env.NEXT_PUBLIC_NETWORK_NAME,
walletAddress: process.env.NEXT_PUBLIC_NETWORK_WALLET_ADDRESS,
apiAddress: process.env.NEXT_PUBLIC_NETWORK_API_ADDRESS,
gatewayAddress: process.env.NEXT_PUBLIC_NETWORK_GATEWAY_ADDRESS,
explorerAddress: process.env.NEXT_PUBLIC_NETWORK_EXPLORER_ADDRESS
};
export const walletConnectBridge = process.env.NEXT_PUBLIC_WALLET_CONNECT_BRIDGE;
export const walletConnectDeepLink = process.env.NEXT_PUBLIC_WALLET_CONNECT_DEEP_LINK;
export const chainId = process.env.NEXT_PUBLIC_CHAIN_ID;
export const denomination = parseInt(process.env.NEXT_PUBLIC_DENOMINATION as string, 10);
export const egldLabel = process.env.NEXT_PUBLIC_EGLD_LABEL ?? 'xEGLD';
export const contractAddress = process.env.NEXT_PUBLIC_CONTRACT_ADDRESS ?? '';
export const tokensContractAddress = process.env.NEXT_PUBLIC_TOKENS_CONTRACT_ADDRESS ?? '';