A Rust implementation of a copy-trading bot for Bonkfun, focused on mirroring trades from selected wallets with low latency and configurable execution. This project is developed and maintained by DexorynLabs.
- Real-time trade mirroring from target addresses
- Low-latency execution on the Solana stack
- Private key handling via environment configuration
- Configurable parameters (slippage, fees, RPC endpoints)
- Multi-wallet workflows where supported by your setup
- Transaction logging for operational review
- Rust 1.70 or newer (
rustuprecommended) - Solana CLI (when building or submitting Solana transactions locally)
- Node.js (only if you use optional frontend or tooling in this repo)
-
Clone the repository
git clone https://github.com/DexorynLabs/bonkfun-rust-copytrading-bot.git cd bonkfun-rust-copytrading-bot -
Configure environment
Copy
.env.exampleto.envand set all required values, for example:PRIVATE_KEY= # your wallet private key RPC_HTTP=https://solana-rpc.publicnode.com RPC_WSS=wss://solana-rpc.publicnode.com YELLOWSTONE_GRPC_HTTP=https://solana-yellowstone-grpc.publicnode.com:443 SLIPPAGE=10 JITO_BLOCK_ENGINE_URL=https://ny.mainnet.block-engine.jito.wtf JITO_TIP_VALUE=0.0001Use RPC and Yellowstone endpoints that match your provider and network (mainnet, devnet, etc.).
-
Build
cargo build --release
-
Run
cargo run --release
Never commit real private keys or production RPC credentials. Treat .env as secret and restrict file permissions on machines where you run the bot.
Copy trading and on-chain automation carry financial and technical risk. This software is provided as-is; you are responsible for compliance with applicable laws and for any funds you deploy.
DexorynLabs — questions, integrations, or collaboration:
- Telegram: @dexoryn
- Discord:
dexoryn_

