https://github.com/angounin/ts_bot
https://github.com/angounin/ts_bot
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/angounin/ts_bot
- Owner: AngouNin
- Created: 2024-08-26T19:15:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T19:19:06.000Z (almost 2 years ago)
- Last Synced: 2024-12-25T23:17:07.452Z (over 1 year ago)
- Language: TypeScript
- Size: 172 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sniper Bot on Solana, Raydium
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.
## Features
- 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.
## Prerequisites
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
## Configurations
Add your private key to a `config.ts` file:
Set some configuration settings
```env
export const BotConfig = {
trackWallets: [
'8gCibEuruXnD6scuFEgS1iUboUH11TsHEkDaLnNXyDiX',
// '2GzeNrucUMKzGahMDMNgtYAjHXmUPAuC4AuPmTGS9a3D',
],
threshold: 1000,
takeProfit: 1.3,
tokenSwapAmount: 0.5,
intervalTime: 1000 * 2,
};
const WALLET_PRIVATE_KEY = ''; //chainge to your wallet private key
```
Then run:
```sh
yarn clean
yarn build
yarn start
```
## Version 1.0, 11/5/2024