File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -8,22 +8,6 @@ export const PAYER_KEYPAIR = Keypair.fromSecretKey(
8
8
bs58 . decode ( process . env . PAYER_KEYPAIR ! )
9
9
) ;
10
10
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
-
27
11
export const MINT_ADDRESS = new PublicKey ( process . env . MINT_ADDRESS ! ) ;
28
12
29
13
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
46
30
? Keypair . fromSecretKey ( bs58 . decode ( process . env . LUT_DEVNET_AUTH_KEYPAIR ) )
47
31
: undefined ;
48
32
49
-
50
33
if ( ! RPC_ENDPOINT ) throw new Error ( "Please set RPC_ENDPOINT in .env" ) ;
51
34
if ( ! PAYER_KEYPAIR )
52
35
throw new Error ( "Please set PAYER_KEYPAIR as bs58 string in .env" ) ;
You can’t perform that action at this time.
0 commit comments