Problem
The smart contract documentation is minimal:
contracts/soroban/README.md is generic boilerplate (references a hello_world example that no longer exists)
- No documentation on contract initialization parameters
- No documentation on cross-contract call flow (escrow ↔ milestones)
- No mainnet deployment guide
- No deployment checklist or rollback procedure
Current State
- 3 contracts:
crowdpay, escrow, milestones
crowdpay contract appears unused by the backend (only escrow and milestones are deployed)
deploy_crowdpay.sh deploys crowdpay but nothing consumes it
backend/src/scripts/deployContracts.js deploys escrow and milestones
milestones contract is missing a Makefile
What to Document
- Contract architecture and relationships
- Initialization parameters for each contract
- Cross-contract call flow
- Deployment steps (testnet and mainnet)
- Contract upgrade/rollback procedures
- Whether
crowdpay contract should be deprecated or integrated
- Add
Makefile for milestones contract
Problem
The smart contract documentation is minimal:
contracts/soroban/README.mdis generic boilerplate (references ahello_worldexample that no longer exists)Current State
crowdpay,escrow,milestonescrowdpaycontract appears unused by the backend (onlyescrowandmilestonesare deployed)deploy_crowdpay.shdeployscrowdpaybut nothing consumes itbackend/src/scripts/deployContracts.jsdeploysescrowandmilestonesmilestonescontract is missing aMakefileWhat to Document
crowdpaycontract should be deprecated or integratedMakefileformilestonescontract