Program | Devnet | Mainnet Beta |
---|---|---|
DEX | DESVgJVGajEgKGXhb6XmqDHGz3VjdgP7rEVESBgxmroY |
9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin |
- Serum is in active development so all APIs and protocols are subject to change.
- The code is unaudited. Use at your own risk.
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
Directions can be found here.
git clone https://github.com/project-serum/serum-dex.git
See individual crates for documentation. For example, to build the dex see its README.
The easiest way to run a local cluster is to use solana-test-validator.
assert-owner
: Solana utility program for checking account ownership.common
: Common rust utilities.dex
: Serum DEX program and client utility.pool
: Serum pool protocol.scripts
: Bash scripts for development.