Skip to content

[CONTRACT-71] Reproducible testnet deployment scripts and a Makefile #1414

Description

@mftee

Overview

contracts/scripts exists but there's no Makefile at the contracts/ root, and it's unverified whether the existing scripts constitute a documented, reproducible testnet deployment process (initialize each contract with the correct cross-references — e.g. reputation's authorized_contract pointing at the real deployed shipment contract address, escrow's token_contract pointing at the real token). Given this session's confirmed pattern of contract-related documentation/tooling issues being closed without landing, this should be verified against what actually exists rather than assumed present.

Tasks

  • Audit contracts/scripts for what deployment automation currently exists.
  • Add a Makefile (or equivalent) with targets for build, test, and a full ordered testnet deployment of all five contracts with their cross-references correctly wired.
  • Document the deployment order and required environment/secrets in a contracts/DEPLOYMENT.md or the per-crate READMEs from [CONTRACT-69].

Acceptance Criteria

  • A contributor can deploy all five contracts to testnet, correctly cross-wired, by following one documented process.

Dependencies

Natural to land alongside [CONTRACT-69].

Notes for Contributors

Requires Rust + Soroban. Workspace: contracts/ (members: identity, shipment, escrow, document, reputation). Run cargo test --all, cargo fmt --all -- --check, and cargo clippy --all-targets --all-features -- -D warnings before opening a PR — CI enforces all three. Comment below to be assigned.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions