You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a Makefile and shell script to build and deploy all sandbox Soroban contracts to the Stellar testnet in one command. This makes it easier for contributors to test contract interactions end to end.
Acceptance Criteria
contracts/sandbox/Makefile with targets: build-all, test-all, deploy-all
build-all runs cargo build --target wasm32-unknown-unknown --release for every sandbox contract
test-all runs cargo test for every sandbox contract
deploy-all reads STELLAR_SECRET_KEY and STELLAR_NETWORK from environment variables
Each deployed contract ID is written to a deployed-ids.env file
Script prints a summary table of all deployed contract IDs
A contracts/sandbox/README.md section explains how to run each target
All targets succeed on a clean checkout with the Stellar CLI installed
Overview
Write a Makefile and shell script to build and deploy all sandbox Soroban contracts to the Stellar testnet in one command. This makes it easier for contributors to test contract interactions end to end.
Acceptance Criteria
contracts/sandbox/Makefilewith targets:build-all,test-all,deploy-allbuild-allrunscargo build --target wasm32-unknown-unknown --releasefor every sandbox contracttest-allrunscargo testfor every sandbox contractdeploy-allreadsSTELLAR_SECRET_KEYandSTELLAR_NETWORKfrom environment variablesdeployed-ids.envfilecontracts/sandbox/README.mdsection explains how to run each target