Skip to content

docs: add build, test, and Soroban-CLI deployment guide - #56

Merged
mikewheeleer merged 1 commit into
Agentpay-Org:mainfrom
Jagadeeshftw:docs/contracts-build-deploy-guide
Jun 24, 2026
Merged

docs: add build, test, and Soroban-CLI deployment guide#56
mikewheeleer merged 1 commit into
Agentpay-Org:mainfrom
Jagadeeshftw:docs/contracts-build-deploy-guide

Conversation

@Jagadeeshftw

Copy link
Copy Markdown
Contributor

Summary

Adds docs/escrow/build-deploy.md, an end-to-end guide covering:

  • Running the workspace test suite (cargo fmt --all -- --check, cargo build, cargo test).
  • Building the release WASM (cargo build --release --target wasm32-unknown-unknown), with the real [profile.release] values quoted from Cargo.toml (opt-level = "z", lto = true, panic = "abort", plus overflow-checks, codegen-units = 1, strip).
  • Where the artifact lands: target/wasm32-unknown-unknown/release/escrow.wasm (shared workspace target/).
  • Deploying to testnet with the Stellar/Soroban CLI, with version-sensitive flags marked ⚠️.
  • Invoking init(admin) on the deployed contract id.
  • A post-deploy sanity check calling version() and get_schema_version().

Notes the workspace members = ["contracts/escrow"]. Links the guide from README.md. No code changed.

Closes #45

Test output (gate, unchanged code)

test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s

Security notes: Docs-only change; no contract code, dependencies, or build profile are modified.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mikewheeleer

Copy link
Copy Markdown
Contributor

clean build/test/deploy guide, thanks. merging 👍

@mikewheeleer
mikewheeleer merged commit 96a1da3 into Agentpay-Org:main Jun 24, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write a build, test, and Soroban-CLI deployment guide for the escrow contract

2 participants