paritytech / paritytech/subxt

Provide proper examples/docs for dynamic

Open
#2,099 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
489
Forks
293
Avg merge
18h 35m
Merged PRs (30d)
3

Description

I'm currently using the dynamic instantiation stuff to create transactions, but it is a pain in the ass to figure out how to construct certain transactions. Today it took me quite a lot of time to find out how to properly construct a transfer_allow_death transaction, because encoding the dest parameter is kind of complicated. It would be nice if there are more examples and docs around the dynamic api.

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 by locating the dynamic API documentation and existing transaction examples, then trace how the transfer_allow_death transaction and its dest parameter are represented. Done means the dynamic API has clear, working examples and documentation that show how to construct this transaction and explain the relevant parameter encoding.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
developer-experience, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.