Skip to content

Ellipsis-Labs/drift-v2

 
 

Repository files navigation

Drift Protocol v2

Docs Discord Chat License

Drift Protocol v2

This repository provides open source access to Drift V2's Typescript SDK, Solana Programs, and more.

SDK Guide

SDK docs can be found here

Example Bot Implementations

Example bots (makers, liquidators, fillers, etc) can be found here

Building Locally

# build v2
anchor build 
# install packages
yarn
# build sdk 
cd sdk/ && yarn && yarn build && cd ..

Running Rust Test

cargo test

Running Javascript Tests

bash test-scripts/run-anchor-tests.sh

Bug Bounty

Information about the Bug Bounty can be found here

About

Phoenix integrations with Drift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 63.4%
  • TypeScript 36.2%
  • Other 0.4%