Crate ergo_lib_wasm

Source
Expand description

WASM bindings for ergo-lib

Modules§

address
Address types
ast
Ergo constant values
batchmerkleproof
BatchMerkleProof (compact Merkle multi-proofs)
block_header
Block header
box_coll
Box collection types
box_selector
Simple box selection algorithms
context_extension
ProverResult
contract
Contract, for easier ErgoTree generation
data_input
DataInput type
ergo_box
Box (aka coin, or an unspent output) is a basic concept of a UTXO-based cryptocurrency. In Bitcoin, such an object is associated with some monetary value (arbitrary, but with predefined precision, so we use integer arithmetic to work with the value), and also a guarding script (aka proposition) to protect the box from unauthorized opening.
ergo_state_ctx
Ergo blockchain state (for ErgoTree evaluation)
ergo_tree
ErgoTree
header
Block header with the current spendingTransaction, that can be predicted by a miner before it’s formation
input
Ergo input
merkleproof
Merkle Proof verification
nipopow
Bindings for NiPoPow
parameters
Blockchain parameters. This module defines adjustable blockchain parameters that can be voted on by miners
prover_result
ProverResult
secret_key
Secret key
token
Token types
transaction
Ergo transaction
tx_builder
Unsigned transaction builder
utils
Utilities
verifier
Verifier
wallet
Wallet-like features