CLI Commands for Contracts
Estimation
Estimated focus duration (perfect conditions): X days
Estimated pessimistic duration (worst case scenario): X days
Description
Who
- @safiullahmubashir08 -- developer
What
- We need CLI commands from the user perspective to create and manage Contracts. Initial list of functionalities that are needed are:
- Create Contract - User must be able to create a new contract
- Check Status of Contract - Get status of the contract by passing the contract DID
- Terminate Contract - Mark contract as no longer active/valid
- Get Contract Details - Retrieve contract terms from the database
How
- We need to update the DMS CLI with these new commands
/dms/tokenomics/create-contract/dms/tokenomics/contract/status/dms/tokenomics/contract/terminate/dms/tokenomics/contract/get
- The commands 2, 3, 4 in the above point will call Contract Actor behaviors.
Why
- Commands are needed for contract management
When
Acceptance Criteria
- All CLI command functional and tested
Work Breakdown Structure (WBS)
| Task | Description | Duration | Status | Start Date | End Date | Comment |
|---|---|---|---|---|---|---|
| A | x Hrs | Done/In Progress |