serum-dex/safe
Armani Ferrante a40952b950
Take solana programs out of workspace (#13)
2020-09-28 10:54:21 -07:00
..
program Take solana programs out of workspace (#13) 2020-09-28 10:54:21 -07:00
src Clippy changes 2020-09-25 19:04:25 -07:00
tests safe: Import pack dependencies explicitly 2020-09-25 19:04:25 -07:00
Cargo.toml Replace the client-ext feature flag with an attribute arg 2020-09-25 19:04:25 -07:00
Makefile Take solana programs out of workspace (#13) 2020-09-28 10:54:21 -07:00
README.md safe: Add README.md 2020-09-25 19:04:25 -07:00

README.md

Serum Safe

⚠️ WARNING: Serum Safe is a work in progress and is not audited. Do not use in production.

Developing

Dependencies

For the canonical list of dependencies to build the project, see the Dockerfile.

Commands

A set of commands for developing can be found in the Makefile. Some useful ones include

Build

To build run

make build

Deploy

To deploy run

make deploy

Deploy assumes

  • a Solana local network is running with it's JSON RPC exposed on at http://localhost:8899
  • a funded keypair is found at ~/.config/solana.json

Test

To run all the tests run

make test

Test makes the same assumptions as make deploy.

Clippy

It's recommended to run clippy before submitting changes.

make clippy