Joystream / Joystream/joystream

CLI: Bounty management commands

Open
#3,056 0 comments 0 reactions 1 assignee View on GitHub

@zeeshanakram3 is already working on this.

Since Jan 19, 2022.

bounty-pallet CLI
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

The CLI currently does not have commands to interact with the Bounty subsystem. This issue outlines that set of commands (based on Bounty module extrinsic):

  • Getting information of a bounty
  • List of existing bounties (bounties)
  • Creating a bounty (create_bounty)
  • Canceling a bounty (cancel_bounty)
  • Vetoing a bounty (veto_bounty)
  • Funding a bounty (fund_bounty)
  • Withdrawing funds from the bounty (withdraw_funding)
  • Announcing the work entry for a successful bounty (announce_work_entry)
  • Withdraw work entry from a bounty (withdraw_work_entry)
  • List of work entries (entries)
  • Submitting work for a given bounty (submit_work)
  • Submitting oracle judgment (submit_oracle_judgment)
  • Withdraw work entrant funds (withdraw_work_entrant_funds)

Furthermore, my initial idea for command structure, based on the existing implementation of CLI for different modules, is as follows:

  • joystream-cli bounty:bounty
  • joystream-cli bounty:bounties
  • joystream-cli bounty:createBounty
  • ...

This issue is further broken into smaller issues categorizing each into a subset of similar commands.
#3058
#3059
#3060

┆Issue is synchronized with this Asana task by Unito

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.