Join our community: https://t.me/+DOylgFv1jyJlNzM0
Description
There is no automated script to build, deploy, and initialize the stream contract. Developers must manually run multiple stellar CLI commands in sequence, which is error-prone.
What Needs to Happen
- Create
scripts/deploy.sh:
cargo build --target wasm32-unknown-unknown --release
stellar contract optimize
stellar contract deploy --wasm ...
stellar contract invoke ... initialize --admin ... --treasury ... --fee_rate_bps ...
- Save contract ID to
deployment-info.json
- Support
--network testnet|mainnet flag
- Document in README under "Deployment"
Files
scripts/deploy.sh (create)
Acceptance Criteria
Description
There is no automated script to build, deploy, and initialize the stream contract. Developers must manually run multiple
stellarCLI commands in sequence, which is error-prone.What Needs to Happen
scripts/deploy.sh:cargo build --target wasm32-unknown-unknown --releasestellar contract optimizestellar contract deploy --wasm ...stellar contract invoke ... initialize --admin ... --treasury ... --fee_rate_bps ...deployment-info.json--network testnet|mainnetflagFiles
scripts/deploy.sh(create)Acceptance Criteria
deployment-info.json