katlogic/solana-arbitrage-bot
Sobre
Bot de arbitragem na Solana que otimiza o lucro máximo usando um método de spam multi-hop e valores de negociação dinâmicos. Usa Geyser gRPC e um fluxo de shred em vez do agregador Jupiter para oferecer alto desempenho. Bot de arbitragem na Solana, bot de arbitragem na Solana, bot de arbitragem na Solana, bot de arbitragem na Solana, bot de arbitragem na Solana, bot de arbitragem na Solana, bot de arbitragem na Solana, Solana.
Negócios e finançasCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- +1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Original🧭 Solana arbitrage bot
- Solana arbitrage bot detect price differences between several dexes such as pumpswap, raydium, meteora, orca and make profit. The purpose of this bot is to build token selection module, price calculation module, arbitrage opportunity detection module and swap module.
🧩 About
- This project provide several arbitrage modules and core smart contract for trying 2-hop, 3-hop, 4-hop swaps.
Recommended Hosting: AgentVPS
Running a trading bot 24/7 needs a server that stays online. AgentVPS provides VPS hosting for bots and automated trading setups, so your bot keeps running while your own computer is off.
- Always-on servers for bots and scripts
- Stable connections for faster, more reliable trading
- Set up and manage your bot from anywhere
tip
✨ Features
- Dynamic token selection module Bot update token list for arbitrage in real time for trending tokens.
- Multi hop smart contract. Smart contract has been optimzized for multi hop swaps by reducing transaction size using address lookup table.
- Several dexes support Bot currently work with 7 dexes, pumpswap, raydium amm v4, raydium clmm, raydium cpmm, orca whirlpool, meteora damm v2, meteora dlmm.
- Fast transaction building and sending method. For sending transaction asap, bot cache all available data and directly stream acount from geyser grpc.
- Address lookup tables I already configured address lookup table with the addresses in alts.txt of root directory If you want your own ALT, replace addresses in alts.txt and use createALT function of utils.ts
🧠 Tech Stack
- Languages: JavaScript, TypeScript
- Frameworks: Node.js
- ools: VS code, github
⚙️ Installation
Clone the repository
- git clone https://github.com/katlogic/solana-arbitrage-bot.git
Navigate to the project directory
- cd solana_arbitrage_bot
Install dependencies
- npm install
🚀 Usage
Start the development server
- npm start
🧾 Configuration
Replace .env.example file with a .env file and set following environment variables
- PRIVATE_KEY=
- COMMITMENT_LEVEL=
- RPC_ENDPOINT= //For rpc calls
- SWQOS_ENDPOINT= //For sending transactions
- GRPC_ENDPOINT=
- API_KEY=
- QUOTE_AMOUNT=
- SLIPPAGE=
- BLOCK_ENGINE_URL=
- ISJITO= //If true, send tx via jito, if not , send tx via swqos
After setting environment variables, create a tokens.txt file of root directory of project and list initial tokens for arbitrage.
🖼 Screenshots
Arbitrage program
☎️ Contact
- GitHub: https://github.com/katlogic/
🌟 Acknowledgements
Used libraries
- "@meteora-ag/cp-amm-sdk": "^1.3.2",
- "@meteora-ag/dlmm": "^1.9.3",
- "@meteora-sdk/core": "^1.4.6",
- "@orca-so/whirlpools-sdk": "^0.17.4",
- "@pump-fun/pump-sdk": "^1.3.4",
- "@pump-fun/pump-swap-sdk": "^0.0.1-beta.52",
- "@raydium-io/raydium-sdk": "^1.3.1-beta.47",
- "@raydium-io/raydium-sdk-v2": "^0.2.2-alpha",
- "@shyft-to/solana-transaction-parser": "^2.0.1",
- "@solana/signers": "^2.3.0",
- "@solana/spl-token": "^0.4.0",
- "@solana/spl-token-metadata": "^0.1.6",
- "@solana/web3.js": "^1.89.1",
- "@supercharge/queue-datastructure": "^2.1.0",
- "@triton-one/yellowstone-grpc": "^4.0.0",
🔎 Furture development
- Flashloan integration Currently the maximum trade amount is about 5k for big pools. If you have enough funds, you can use this bot without any problem. For customers who don't have enough funds, will try flashloan.
- Tip optimization Currently tip is static. For the best performance, I am going to optimize fee and tip setting.
This bot is beta version , so can make small profit, but can't expect big profit. If you want more profit, please feel free to reach out me.
📖 How to use.
- Setup environments variable such as private key, rpc, grpc urls
- Add token mints addresses you want in tokens.txt of project root directory.
Explore projetos relacionados
Carregando…