-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathconfig.ts
More file actions
27 lines (20 loc) · 700 Bytes
/
config.ts
File metadata and controls
27 lines (20 loc) · 700 Bytes
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
import { Connection, Keypair, PublicKey } from "@solana/web3.js"
import bs58 from 'bs58';
import { Wallet } from "@project-serum/anchor";
export const rpc = ''; // ENTER YOUR RPC
export const connection = new Connection(rpc, {
commitment: 'confirmed',
});
export const tipAcct = new PublicKey('Cw8CFyM9FkoMi7K7Crf6HNQqf4uEMzpKw6QNghXLvLkY');
export const wallet = Keypair.fromSecretKey(
bs58.decode(
'' // PRIV KEY OF POOL CREATOR
)
);
export const payer = Keypair.fromSecretKey(
bs58.decode(
'' // PRIV KEY OF FEE PAYER!!!!!!
)
);
export const walletconn = new Wallet(wallet);
export const RayLiqPoolv4 = new PublicKey('675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8')