Skip to content

Commit b490a95

Browse files
Update index.ts
Adding tradingRetries capabilities
1 parent 6543feb commit b490a95

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
@@ -5,6 +5,7 @@ import 'dotenv/config'
55
export const SOLANA_RPC_ENDPOINT: string = process.env.RPC_ENDPOINT!;
66
export const WRAP_UNWRAP_SOL: boolean = process.env.WRAP_UNWRAP_SOL === undefined ? true : process.env.WRAP_UNWRAP_SOL === "true";
77
export const tradingEnabled: boolean = process.env.TRADING_ENABLED === undefined ? true : process.env.TRADING_ENABLED === "true";
8+
export const tradingRetries: number = process.env.TRADING_RETRIES === undefined ? 0 : Number(process.env.TRADING_RETRIES);
89

910
// Wallets
1011
export const WALLET_PRIVATE_KEY =

0 commit comments

Comments
 (0)