Skip to content
 
 

Latest commit

 

History

113 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drift-rs

Crates.io Docs Discord Chat License

drift-rs

Experimental, high performance Rust SDK for building off chain clients for interacting with the Drift V2 protocol.

Setup

Mac (m-series)

Install rosetta and configure build for x86

softwareupdate --install-rosetta
rustup install 1.76.0-x86_64-apple-darwin
rustup override set 1.76.0-x86_64-apple-darwin

the native build is incompatible due to memory layout differences between solana program (BPF) and aarch64 and will fail at runtime with errors like InvalidSize.

About

rust sdk to interact with drift v2

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages