oasisprotocol / oasisprotocol/cli

Further denomination-related improvements

Open
#209 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
80
Forks
23
Avg merge
9h 43m
Merged PRs (30d)
3

Description

Further denomination-related improvements:

  • oasis paratime list should have another column DENOMINATION(S) containing comma-separated currencies, number of decimals and the default one marked with (*). For example EUROe[18] (*), TEST[18]
    Issue: #236
  • new subcommand oasis paratime denom with
    • add <network> <paratime> <denomination> <number_of_decimals>
      Issue: #241
    • remove <network> <paratime> <denomination>
      Issue: #241
    • in the future, other ERC-20 related operations will also be covered by the denom subcommand
  • the list of registered denominations. This should probably go inside the oasis paratime show <paratime>

Originally posted by @matevz in https://github.com/oasisprotocol/cli/pull/206#pullrequestreview-1925205317

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.

Research direction

Start with the existing oasis paratime show <paratime> command and review how the related list and denom subcommands represent denominations. Add the registered-denominations information to the paratime details output, then verify the command displays it for a paratime with registered denominations.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
blockchain, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.