CLI Commands for Contracts

Estimation

Estimated focus duration (perfect conditions): X days
Estimated pessimistic duration (worst case scenario): X days

Description

Who

  1. @safiullahmubashir08 -- developer

What

  1. We need CLI commands from the user perspective to create and manage Contracts. Initial list of functionalities that are needed are:
    1. Create Contract - User must be able to create a new contract
    2. Check Status of Contract - Get status of the contract by passing the contract DID
    3. Terminate Contract - Mark contract as no longer active/valid
    4. Get Contract Details - Retrieve contract terms from the database

How

  1. We need to update the DMS CLI with these new commands
    1. /dms/tokenomics/create-contract
    2. /dms/tokenomics/contract/status
    3. /dms/tokenomics/contract/terminate
    4. /dms/tokenomics/contract/get
  2. The commands 2, 3, 4 in the above point will call Contract Actor behaviors.

Why

  1. Commands are needed for contract management

When

Acceptance Criteria

  1. 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
Assignee Loading
Time tracking Loading