5 releases (breaking)
| 0.5.0 | Apr 7, 2025 |
|---|---|
| 0.4.0 | Feb 21, 2025 |
| 0.3.0 | Feb 13, 2025 |
| 0.2.0 | Dec 12, 2024 |
| 0.1.0 | May 21, 2024 |
#16 in #extrinsic
123,935 downloads per month
Used in 11 crates
(2 directly)
570KB
1.5K
SLoC
Merkleized metadata
This crate provides the merkleization of frame_metadata as described in
RFC78.
It exports the following main functions:
-
generate_metadata_digest: This generates theMetadataDigestfor the givenmetadata. The hash of this digest is what is called the "metadata hash" in the RFC. -
generate_proof_for_extrinsic: This generates a proof that contains all the types required for decoding the givenextrinsic. -
generate_proof_for_extrinsic_parts: Similar to the previous one, but doesn't require the full extrinsic to be passed. However, this may increases the proof size, see the documentation of the function for more information.
These functions are the main entry point providing all the functionality expected from this
crate. The crate itself is by default no_std compatible.
Merkleized metadata
This crate provides the merkleization of frame_metadata as described in
RFC78.
License
Licensed under either of
at your option.
License: MIT OR Apache-2.0
Dependencies
~6.5MB
~138K SLoC