Crate merklicious_sdk

Crate merklicious_sdk 

Source

Re-exports§

pub use hdk_extensions::hdi;
pub use hdk_extensions::holo_hash;
pub use hdk_extensions::hdk;
pub use hdk_extensions::hdi_extensions;
pub use hdk_extensions;

Macros§

common_fields
Auto-implement the CommonFields trait

Structs§

ClaimEntry
An entry struct for making a claim about a Merkle tree
CreateTreeInput
Input required for creating a tree entry
DataBlocksEntry
An entry struct for storing the leaf data blocks that were used to create a tree
GetLeafProofInput
Input required for getting a leaf proof
LeafDataBlock
The piece of data that a Merkle Tree leaf represents
LeafInput
Input required for a leaf data block
LeafProofPayload
All the information required to verify a leaf
TreeEntry
An entry struct that represents a Merkle tree
VerifyLeafProofInput
Input required for verifying a single leaf proof

Traits§

CommonFields
Common fields that are expected on some entry structs

Functions§

now
Get a current timestamp according to the HDK’s sys_time
sha256
Serialize the given data using rmp_serde and return the SHA-256 hash