oasisprotocol / oasisprotocol/cli
Automatically query for native token when adding new ParaTime
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 80
- Forks
- 23
- Avg merge
- 9h 43m
- Merged PRs (30d)
- 3
Description
When running oasis paratime add, you need to enter description, the token name and the number of decimal symbols. The last two can be obtained automatically by calling https://github.com/oasisprotocol/oasis-sdk/blob/main/client-sdk/go/modules/accounts/accounts.go#L45. Unless --offline flag is explicitly provided, run the query and prefill denomination and number decimals.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementation of oasis paratime add, then read the linked accounts.go API to understand how the native token denomination and decimal count are obtained. Done means the command queries and prefills both values by default, while --offline skips the query; verify the existing add flow and its tests if present.
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
- 52/100