Skip to content

0xstonegm/drift-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%