Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kelvin-1013/solana-arbitrage-bot-rust-multi-dex-cross-swap-program
solana arbitrage bot cross dex swap program with rust language
https://github.com/kelvin-1013/solana-arbitrage-bot-rust-multi-dex-cross-swap-program
arbitrage bot dex jupiter lifinity-bot meteora multidex orca raydium rust solana trading tradingbot whirlpool wsol
Last synced: about 2 hours ago
JSON representation
solana arbitrage bot cross dex swap program with rust language
- Host: GitHub
- URL: https://github.com/kelvin-1013/solana-arbitrage-bot-rust-multi-dex-cross-swap-program
- Owner: Kelvin-1013
- Created: 2024-10-24T19:31:10.000Z (26 days ago)
- Default Branch: main
- Last Pushed: 2024-11-18T07:23:33.000Z (1 day ago)
- Last Synced: 2024-11-18T07:26:30.108Z (1 day ago)
- Topics: arbitrage, bot, dex, jupiter, lifinity-bot, meteora, multidex, orca, raydium, rust, solana, trading, tradingbot, whirlpool, wsol
- Language: Rust
- Homepage:
- Size: 234 KB
- Stars: 32
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Main project is on private: # β¨[contact me here](https://t.me/blockchainDeveloper_Ben)πclick here
### 1. swap_ray as the swap function for Raydium DEX
### 2. swap_whirlpool as the swap function for Whirlpools DEX
### 3. manage_whitelist as the function to add/remove whitelist addresses that can access all functions in this program.![arbitrage diagram for pool graph](https://github.com/user-attachments/assets/0cf0a1ee-301a-420b-a623-92da3806ecfd)
![image](https://github.com/user-attachments/assets/44845dd7-f4f3-45c3-90c2-53c67ec2861d)
![image](https://github.com/user-attachments/assets/e5eb3610-3c23-4d55-87f0-a5cc2d9eb6a3)
## install for test
```
npm install @project-serum/anchor @solana/web3.js @solana/spl-token chai```
# reference
https://docs.raydium.io/raydium/protocol/developers/addresseshttps://orca-so.gitbook.io/orca-developer-portal/whirlpools/interacting-with-the-protocol/orca-whirlpools-parameters
https://github.com/raydium-io/raydium-amm/blob/master/program/Cargo.toml
https://github.com/raydium-io/raydium-cpi-example
https://github.com/raydium-io/raydium-docs/tree/master/dev-resources
https://github.com/microgift/meteora-cpi
https://github.com/orca-so/whirlpool-cpi-sample/blob/main/anchor-0.29.0/programs/whirlpool-cpi-sample/
https://github.com/MeteoraAg/cpi-examples