配置 · deployment

Deployment

The program builds, the integration suite passes (14/14), and the IDL is published. Mainnet deployment is gated on funding, not engineering.

Identifiers

Program IDBeGzo6j9d6YPXXq93Y5mrnnGCyKPoVh2qQFD8Frnrsrn
Clustersolana-devnet
Anchor0.31.1
Rust toolchain1.78
Program size371 KB

Reproduce locally

bash
git clone https://github.com/REVY2026/hanami-engine.git
cd hanami-engine
anchor build
anchor test --skip-build

The expected output for a fresh run:

bash
hanami fee isolation
 late LP does not inherit pre-entry swap fees
 early LP captured all pre-late fees plus proportional post-late fees

hanami
 initializes pool
 rejects invalid fee on a second pool
 alice creates first bloom (genesis liquidity)
 rejects duration below minimum
 trader swaps A->B, fees accumulate
 trader swaps B->A in opposite direction
 bob creates second bloom alongside alice
 rejects settle before maturity
 bob chirigiwa (early unbloom with 5% penalty)
 alice settles after maturity, receives principal + fees
 rejects double settle
 benchmarks IL vs hypothetical permanent LP

14 passing

Deploy to devnet

bash
# fund the deployer wallet
solana airdrop 3

# deploy the program
anchor deploy --provider.cluster devnet

# verify the on-chain account
solana program show BeGzo6j9d6YPXXq93Y5mrnnGCyKPoVh2qQFD8Frnrsrn --url devnet

Health endpoint

The web app exposes a structured JSON health endpoint for ecosystem trackers:

bash
curl https://hanami.fi/api/health | jq
json
{
  "status": "ok",
  "name": "HANAMI",
  "network": "solana-devnet",
  "stage": "pre-deployment",
  "program": "BeGzo6j9d6YPXXq93Y5mrnnGCyKPoVh2qQFD8Frnrsrn",
  "version": "0.1.0",
  "tests": { "count": 14, "passing": 14 },
  "build": { "framework": "anchor", "version": "0.31.1" }
}
edit on github ↗