-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconstants.ts
29 lines (23 loc) · 874 Bytes
/
constants.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
29
import { web3 } from "@project-serum/anchor";
import { PublicKey } from "@solana/web3.js";
export const SPL_ASSOCIATED_TOKEN_ACCOUNT_PROGRAM_ID = new PublicKey(
"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
);
/* metaplex program */
export const TOKEN_METADATA_PROGRAM_ID = new PublicKey(
"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
);
export const TOKEN_PROGRAM_ID = new PublicKey(
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
);
/* seeds of the PDA, can be anything you want */
/* remember to change them on the contract too (state.rs file) */
export const PREFIX = "yglHzkU";
export const SUFIX = "FKs9tP0";
/* replace the following with your own pubkeys */
export const candyMachine = new web3.PublicKey(
"7jytcBeZ3CWrwNZL19obNYvN15R8MHh7rn4VMfSmJAjg"
);
export const programId = new web3.PublicKey(
"4DJz2TvohxXxovGgwjWZcfXoZaoHJR4cHvGTF15Bot42"
);