oasisprotocol / oasisprotocol/cli
Oasis CLI should support `oasis contracts query`
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 80
- Forks
- 23
- Avg merge
- 9h 43m
- Merged PRs (30d)
- 3
Description
The Oasis Contracts SDK supports the query handle (https://github.com/oasisprotocol/oasis-sdk/blob/main/contract-sdk/src/contract.rs). Similar to the call handle, Oasis CLI should support interacting with it, e.g.:
oasis contracts query <instance-id> <data-yaml> [flags]
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 comparing the existing Oasis CLI contracts call command with the query handle in contract-sdk/src/contract.rs. Trace how the call command accepts an instance ID and YAML data, then add equivalent query support with the documented flags. Done means oasis contracts query <instance-id> <data-yaml> [flags] can interact with the SDK query handle.
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
- 45/100