node.js bot sample for making swaps on Raydium
Bot saves loaded decimals to decimals.json
Bot swap in buying direction by default, use commented swapSell method call to use selling direction
- Create settings.json with settings: secret key, pool URL, delay in seconds etc.
- Install @raydium-io/raydium-sdk
npm install @raydium-io/raydium-sdk
- Install @solana/spl-token
npm install @solana/spl-token
- Install @solana/web3.js
npm install @solana/web3.js
- Install node-fetch@2.6.7
npm install node-fetch@2.6.7
- Start:
node bot.js