Crate ergo_lib_c_core

Source
Expand description

C compatible functions to use in C and JNI bindings

Modules§

address
batchmerkleproof
block_header
Block header
box_builder
box_selector
Simple box selection algorithms
collections
Collections that can be manipulated from outside Rust
constant
Ergo constant values
context_extension
contract
Contract, for easier ErgoTree generation
data_input
DataInput type
derivation_path
Derivation Path functionality
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
error_conversion
Code to simplify conversion of ergo_lib errors into local Error.
ext_pub_key
Extended Public Key functionality
ext_secret_key
Extended Secret Key functionality
header
Block header with the current spendingTransaction, that can be predicted by a miner before it’s formation
input
Ergo input
merkleproof
mnemonic
nipopow
Bindings for NiPoPow
parameters
Ergo blockchain state (for ErgoTree evaluation)
reduced
Represent reduced transaction, i.e. unsigned transaction where each unsigned input is augmented with ReducedInput which contains a script reduction result.
secret_key
Secret key
token
Token types
transaction
Ergo transaction
tx_builder
Unsigned transaction builder
util
Utility functions and types
wallet
Wallet-like features

Enums§

Error

Type Aliases§

ErrorPtr