Crates.io | phoenix-common |
lib.rs | phoenix-common |
version | 0.2.1 |
source | src |
created_at | 2023-03-01 15:45:01.951403 |
updated_at | 2023-10-19 20:58:37.779921 |
description | On-chain order book that atomically settles trades |
homepage | |
repository | https://github.com/Ellipsis-Labs/phoenix-v1 |
max_upload_size | |
id | 798118 |
size | 675,946 |
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.
Information on the bug bounty program for Phoenix can be found at SECURITY.md.
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.
To build the contract, run:
./build.sh
To run the tests, run:
./test.sh