This project demonstrates my abilities how to perform the monitering wallet transactions and how to do token swap on the Solana blockchain using Raydium SDK.
- Track some wallet's transactions
- Once found a big SOL transition, then track its moving
- If new token and new pool are created, then buy it.
- According to the configurations, it causes some transactions like buy, sell new tokens.
Before you begin, ensure you have met the following requirements:
- Node.js installed (v18 or above recommended)
- Yarn
- A Solana wallet with some SOL for testing the swap
Add your private key to a config.ts
file:
Set some configuration settings
export const BotConfig = {
trackWallets: [
'8gCibEuruXnD6scuFEgS1iUboUH11TsHEkDaLnNXyDiX',
// '2GzeNrucUMKzGahMDMNgtYAjHXmUPAuC4AuPmTGS9a3D',
],
threshold: 1000,
takeProfit: 1.3,
tokenSwapAmount: 0.5,
intervalTime: 1000 * 2,
};
const WALLET_PRIVATE_KEY = '<Your Wallet Private Key>'; //chainge to your wallet private key
Then run:
yarn clean
yarn build
yarn start