oasisprotocol / oasisprotocol/oasis-sdk
contract-sdk: Add high-level helpers for calling methods of other contracts
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 90
- Forks
- 35
- Avg merge
- 5d 9h
- Merged PRs (30d)
- 5
Description
Currently calling (emitting a Call message) is somewhat cumbersome:
https://github.com/oasisprotocol/oasis-sdk/blob/2ec656e1f82b3e9d825002227111469ebf3189f9/tests/contracts/hello/src/lib.rs#L163-L173
Having high-level helpers for "calling methods" of other contracts would make this more convinient.
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 with tests/contracts/hello/src/lib.rs, especially the calling example around lines 163-173, to understand the current Call message flow. Define and implement high-level helpers for calling methods of other contracts, then update or add an example showing that the existing cumbersome flow is simplified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100