Skip to content

Commit 8ea4848

Browse files
pick pseudorandom (#17)
batch transfer for mainnet 0.19.0 add airdrop.ts add multi-trees, add transfer, compress clean transfer.ts fix constants
1 parent 8363c96 commit 8ea4848

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/constants.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,6 @@ export const PAYER_KEYPAIR = Keypair.fromSecretKey(
88
bs58.decode(process.env.PAYER_KEYPAIR!)
99
);
1010

11-
export const AUTHORITY_KEYPAIR = process.env.LUT_AUTHORITY_KEYPAIR
12-
? Keypair.fromSecretKey(
13-
Uint8Array.from(JSON.parse(process.env.LUT_AUTHORITY_KEYPAIR))
14-
)
15-
: undefined;
16-
17-
export const LUT_MAINNET_AUTHORITY_KEYPAIR = process.env.LUT_AUTHORITY_KEYPAIR
18-
? Keypair.fromSecretKey(
19-
Uint8Array.from(JSON.parse(process.env.LUT_AUTHORITY_KEYPAIR))
20-
)
21-
: undefined;
22-
23-
export const LUT_DEVNET_AUTHORITY_KEYPAIR = process.env.LUT_DEVNET_AUTH_KEYPAIR
24-
? Keypair.fromSecretKey(bs58.decode(process.env.LUT_DEVNET_AUTH_KEYPAIR))
25-
: undefined;
26-
2711
export const MINT_ADDRESS = new PublicKey(process.env.MINT_ADDRESS!);
2812

2913
export const AUTHORITY_KEYPAIR = process.env.LUT_AUTHORITY_KEYPAIR
@@ -46,7 +30,6 @@ export const LUT_DEVNET_AUTHORITY_KEYPAIR = process.env.LUT_DEVNET_AUTH_KEYPAIR
4630
? Keypair.fromSecretKey(bs58.decode(process.env.LUT_DEVNET_AUTH_KEYPAIR))
4731
: undefined;
4832

49-
5033
if (!RPC_ENDPOINT) throw new Error("Please set RPC_ENDPOINT in .env");
5134
if (!PAYER_KEYPAIR)
5235
throw new Error("Please set PAYER_KEYPAIR as bs58 string in .env");

0 commit comments

Comments
 (0)