forked from tumi-labs/Candy-Machine-V3-UI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
28 lines (24 loc) · 1.12 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { WalletAdapterNetwork } from "@solana/wallet-adapter-base";
import { clusterApiUrl, Connection, PublicKey } from "@solana/web3.js";
export const network = (process.env.NEXT_PUBLIC_SOLANA_NETWORK ||
WalletAdapterNetwork.Devnet) as WalletAdapterNetwork;
// const network = WalletAdapterNetwork.Devnet;
export const rpcHost =
process.env.NEXT_PUBLIC_RPC_HOST || clusterApiUrl(network);
export const candyMachineId = new PublicKey(
process.env.NEXT_PUBLIC_CANDY_MACHINE_ID ||
"3zwFR3spiwbSSMtvVKG2bRT6ttqFoC3MHCafGP8ZrdLz"
);
export const defaultGuardGroup =
process.env.NEXT_PUBLIC_DEFAULT_GUARD_GROUP || undefined; // undefined means default
// "qasJ6jhgtngKk2QnEPdDjuFH8NMoM58W8TxPBXAChPY"
// "3zwFR3spiwbSSMtvVKG2bRT6ttqFoC3MHCafGP8ZrdLz"
// "DAA8yRLu7acVs3kxaTyCjoEjNWGinLaCKVhDY29ASNua"
export const whitelistedWallets = [
"53VVFtLzzi3nL2p1QF591PAB8rbcbsirYepwUphtHU9Q",
"85gHs1pKkZcNCDEbcfxqhfFNPWCsNFqPTMMbTQARspWy",
"FXoth7ba7LALmJGFaidCcMnhsxEagBDBDKCmkpr2QuDr",
"232Z5QNvQ4wRyraGWFpC5i3HEbqozEWgBCV95eWASaG1",
"D8ivzpXkG66VknRdVjEF1HjqS3T1tzcqraVR6FYaeLsV",
"sTAKERL4U8fbn2nUte6rPVdcrz2z3fEh1adQEDrGULr",
];