Skip to content

Commit 47aba81

Browse files
Update index.ts
Add SOL wrap / unwrap setting
1 parent cfdfcea commit 47aba81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/constants/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import bs58 from "bs58";
33
import 'dotenv/config'
44

55
export const SOLANA_RPC_ENDPOINT: string = process.env.RPC_ENDPOINT!;
6+
export const WRAP_UNWRAP_SOL: boolean = process.env.WRAP_UNWRAP_SOL === undefined ? true : process.env.WRAP_UNWRAP_SOL === "true";
67

78
// Wallets
89
export const WALLET_PRIVATE_KEY =

0 commit comments

Comments
 (0)