Crate chia_sdk_types

Crate chia_sdk_types 

Source

Modules§

conditions
puzzles

Macros§

compile_chialisp
compile_rue

Structs§

Compilation
Conditions
A grow-only list of conditions which can be used when building spend bundles.
MerkleProof
A proof for a leaf in a merkle tree. This is a CLVM type that can be passed in the solution of puzzles.
MerkleTree
A merkle tree implementation that can be used to prove the existence of a set of leaves. The proof format is compatible with standard Chia puzzles, such as p2_1_of_n.clsp.
MessageFlags

Enums§

Condition
LoadClvmError
MessageSide

Statics§

MAINNET_CONSTANTS
The consensus constants used on Chia’s mainnet network. Mainnet should be used for production applications.
TESTNET11_CONSTANTS
The consensus constants used on Chia’s testnet11 network. Testnet11 should be used for development applications.

Traits§

Mod
This trait makes it possible to get the mod hash or puzzle reveal of a puzzle.

Functions§

announcement_id
Creates announcement ids compatible with AssertCoinAnnouncement and AssertPuzzleAnnouncement.
compile_chialisp
compile_rue
default_constants
Used to compute the default constants used by Chia’s mainnet network, with a custom genesis_challenge and agg_sig_me_additional_data.
is_debug_dialect_enabled
payment_assertion
run_puzzle
run_puzzle_with_cost
tree_hash_notarized_payment