10 releases

0.2.4 Jul 31, 2023
0.2.3 Mar 29, 2023
0.1.4 Feb 21, 2023

#1716 in Magic Beans

Download history 16/week @ 2023-05-19 31/week @ 2023-05-26 44/week @ 2023-06-02 8/week @ 2023-06-09 56/week @ 2023-06-16 31/week @ 2023-06-23 50/week @ 2023-06-30 113/week @ 2023-07-07 93/week @ 2023-07-14 94/week @ 2023-07-21 144/week @ 2023-07-28 141/week @ 2023-08-04 117/week @ 2023-08-11 159/week @ 2023-08-18 137/week @ 2023-08-25 76/week @ 2023-09-01

519 downloads per month
Used in 5 crates (4 directly)

Custom license

11K SLoC


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


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


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


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:


To run the tests, run:



~249K SLoC