Registry / crypto / sapio
library0.2.4rscratesunverified

A programming framework for bitcoin smart contracts.

# Cargo.toml [dependencies] sapio = "0.2.4"
INSTALL
IMPORT
SIG · SAPIO
S
sapio
cryptorustv0.2.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Contract
use sapio::contract::Contract;

Creates a Bitcoin smart contract using Sapio.

use sapio::contract::Contract; fn main() { let contract = Contract::new(/* ... */); println!("Bitcoin smart contract created"); }
Debug
Known issues
gotchaRequires Bitcoin node and understanding of Bitcoin scripting.
fix
Set up a Bitcoin node and learn Bitcoin script basics.
affects: >=0.2.0
Upgrade
Version history
0.2.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources
sapio — cargo add sapio · libregistry