Crate darkfi_sdk

Source

Re-exports§

pub use error::ContractError;
pub use error::GenericResult;
pub use hex::AsHex;
pub use tx::ContractCall;
pub use bridgetree;
pub use num_bigint;
pub use num_traits;
pub use pasta_curves as pasta;

Modules§

blockchain
Blockchain structures
crypto
Crypto-related definitions
dark_tree
DarkTree structures
deploy
Contract deployment utilities
error
Error handling
hex
Hex encoding/decoding from bytes
log
Logging infrastructure
monotree
Native (non-wasm, non-ff) Sparse Merkle Tree
tx
Transaction structure
util
Convenience utilities
wasm
WASM API functions

Macros§

define_contract
fp_from_bs58
fp_to_bs58
max
std::cmp::max() extension for use with multiple arguments.
min
std::cmp::min() extension for use with multiple arguments.
msg
Print a message to the log
ty_from_fp