This repository provides open source access to Drift V2's Typescript SDK, Solana Programs, and more.
Integrating Drift? Go here
SDK docs can be found here
Example bots (makers, liquidators, fillers, etc) can be found here
Note: If you are running the build on an Apple computer with an M1 chip, please set the default rust toolchain to stable-x86_64-apple-darwin
rustup default stable-x86_64-apple-darwin
# build v2
anchor build
# install packages
yarn
# build sdk
cd sdk/ && yarn && yarn build && cd ..
cargo test
bash test-scripts/run-anchor-tests.sh
Information about the Bug Bounty can be found here