Drift Protocol Jit Market Making, offer fee rebates for providing liquidity.
- create and fund an account on drift protocol
- can experiment using devnet, for mainnet make sure you understand the risks
- see keeper-bots-v2 readme
- or see https://drift-labs.github.io/v2-teacher/#introduction
- get a private RPC endpoint
- RPC is node to method to send tx to solana validators
- Recommended: Helius Free Tier
- more RPC colocation/resources can benefit competitiveness
- examine
src/bots/jitMaker.ts
- see/modify the strategy for providing jit liquidity
- default tries to intelligently provide within max leverage of 1x
- optionally can hedge perpetual with spot if available
- optionally set decision criteria on a per user basis
- update parameters in
jitMaker.config.yaml
- set the markets willing to provide jit liquidity
- run strategy
yarn run dev --config-file=jitMaker.config.yaml
- track and monitor to make improvements
- join discord / open PR
- drift protocol promotes a open and helpful development community
- get technical help, discuss ideas, and make internet friends :D