diff --git a/apps/amm/README.md b/apps/amm/README.md index 6c7e4f0..139ef34 100644 --- a/apps/amm/README.md +++ b/apps/amm/README.md @@ -169,9 +169,9 @@ AMM_PROGRAM_BIN=/abs/path/to/amm.bin nix run .#amm-ui This is the same `amm.bin` you deployed via the testnet runbook (`programs/amm/methods/guest/target/riscv32im-risc0-zkvm-elf/docker/amm.bin`). -The app reads it, derives the AMM program id (`amm_client_program_id_from_elf`), -and reads the on-chain AMM config account to discover the TWAP oracle program id -for the pool's current-tick PDA. If `AMM_PROGRAM_BIN` is unset or unreadable, the +The app reads it, derives the AMM program id (the binary's RISC Zero Image ID, +via `amm_ffi`'s `program_id` op), and reads the on-chain AMM config account to +discover the TWAP oracle program id for the pool's current-tick PDA. If `AMM_PROGRAM_BIN` is unset or unreadable, the Swap view stays disabled (no pool can be resolved). > **Golden rule (from the runbook):** recompiling the AMM changes its program id