Skip to content

KirillLykov/program

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

188 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Openbook

Openbook Rust Monorepo

License

Program Deployments

Program Devnet Mainnet Beta
DEX EoTcMgcDRTJVZDMZWBoU6rhYHZfkNTVEAfz3uUJRcYGj srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX

Note

  • Openbook is in active development so all APIs and protocols are subject to change.
  • The code is unaudited. Use at your own risk.

Contributing

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
rustup component add rustfmt

On Linux systems you may need to install additional dependencies. On Ubuntu,

sudo apt-get install -y pkg-config build-essential python3-pip jq

Install Solana

Directions can be found here.

Download the source

git clone https://github.com/openbook-dex/program.git

Build, deploy, and test programs

See individual crates for documentation. For example, to build the dex see its README.

Running a local Solana cluster

The easiest way to run a local cluster is to use solana-test-validator.

Directories

  • assert-owner: Solana utility program for checking account ownership.
  • common: Common rust utilities.
  • dex: OpenBook DEX program and client utility.
  • scripts: Bash scripts for development.

About

Openbook dex solana program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 94.1%
  • JavaScript 5.7%
  • Shell 0.2%