Skip to content

Add an example with the new metadata hash input #391

@IkerAlus

Description

@IkerAlus

Since Polkadot 1.2.5 release, signers can add the metadata hash to a transaction as specified in RFC 78.

Although txwrapper is not a signer, it is supposed to be used in conjunction with signers to construct transactions offline. Hence it will be good to add an example, for example similar to this one, where the metadata hash is added to the transaction before being signed. The open question is how to compute this hash value. My recommendation is not to add extra dependencies to the example and query it from the exposed testing API or similar

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions