Create contracts/scripts/deploy_group_treasury.sh mirroring the pattern from deploy_token_transfer.sh. Accept DEPLOYER_SECRET, ADMIN_ADDRESS, TOKEN_CONTRACT_ID, and INITIAL_MEMBERS (comma-separated) as env vars. Add GROUP_TREASURY_CONTRACT_ID to .env.example.
Acceptance criteria:
- Script builds, uploads, deploys, and calls
initialize
- Outputs the contract ID and instructions to add to
.env
Create
contracts/scripts/deploy_group_treasury.shmirroring the pattern fromdeploy_token_transfer.sh. AcceptDEPLOYER_SECRET,ADMIN_ADDRESS,TOKEN_CONTRACT_ID, andINITIAL_MEMBERS(comma-separated) as env vars. AddGROUP_TREASURY_CONTRACT_IDto.env.example.Acceptance criteria:
initialize.env