Arbitrage Bot on Solana. An arbitrage is considered successful if you start with an amount of token A, and end up with more of it than you started.
We're going to be writing this bot with typescript and using Jupiter's aggregator sdk Jupiter Core SDK.
The quickest way to integrate Jupiter with your React UI, use Jupiter React Hook instead.
Checkout Jupiter React Native Example.
- We recommend
yarn
due toresolutions
- Add a
.env
to root - Populate these values
CLUSTER=mainnet-beta
WALLET_PRIVATE_KEY=<wallet private key> ## or set it up in src/constants
- yarn
- yarn start