Zescrow Core
Core library for Zescrow: zero-knowledge escrows via the RISC Zero zkVM.
Modules
asset— chain-agnostic asset types (coins, tokens, NFTs, LP shares)condition— cryptographic conditions (hashlocks, signatures, threshold)escrow— off-chain escrow state machine with ZK proofsidentity— identity parsing and format conversions (hex, Base58, Base64)interface— schemas, I/O helperserror— typed errorsbignum— wrapper around BigUint.serde— JSON (de)serialization helpers (jsonfeature)
Optional dependencies
| Feature | Dependencies |
|---|---|
bincode (default) |
bincode (derive) |
json |
serde, serde_json, serde_bytes, serde_with |
Quickstart
Add the crate as a dependency in your Cargo.toml (enable the json feature if you want serde support):
[]
= { = "0.1", = ["json"] }
use ;
use ;
Documentation
License
Licensed under either Apache License, Version 2.0
or MIT License at your option.