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