3 unstable releases

0.2.1 Oct 19, 2023
0.2.0 Sep 9, 2023
0.1.0 Mar 1, 2023

#4 in #trades

Download history 148/week @ 2024-08-29 197/week @ 2024-09-05 248/week @ 2024-09-12 121/week @ 2024-09-19 119/week @ 2024-09-26 209/week @ 2024-10-03 59/week @ 2024-10-10 172/week @ 2024-10-17 97/week @ 2024-10-24 83/week @ 2024-10-31 161/week @ 2024-11-07 158/week @ 2024-11-14 179/week @ 2024-11-21 172/week @ 2024-11-28 208/week @ 2024-12-05 179/week @ 2024-12-12

755 downloads per month
Used in 4 crates

Custom license

445KB
11K SLoC

phoenix

Phoenix is an on-chain orderbook that operates without a crank.

Documentation

Documentation and instructions on how to interact with the program are available on GitBook.

Licensing

The primary license for Phoenix is the Business Source License 1.1 (BUSL-1.1), which can be found at LICENSE.

Audits

Phoenix has been audited by OtterSec. The audit report can be found at audits/OtterSec.pdf.

Bug Bounty

Information on the bug bounty program for Phoenix can be found at SECURITY.md.

Build Verification

You can use Solana Verify CLI to verify that the program deployed at PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY matches the code in this repository. After installing the CLI, run:

solana-verify verify-from-repo -um --program-id PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY https://github.com/Ellipsis-Labs/phoenix-v1

This may take awhile as it builds the program inside Docker, then verifies that the build hash matches the deployed program hash. The verification process is much faster on a non-ARM machine.

Building and Testing Locally

To build the contract, run:

./build.sh

To run the tests, run:

./test.sh

Dependencies

~23–31MB
~521K SLoC