Repository navigation
What this is. The Rust library runtime for Satoshi Hike 2.3: crates pcoc / pcoc-produce, CLI pcoc. Use it to verify objects, run offline produce on the scripted rig, and (in this patch) talk to live Bitcoin gossip + Bari for pcoc produce --live.
What this is not. Not the admission gate, not Bari, not a policy. Full public admit still needs a live index and a configured gate.
Install (as a dependency)
cargo add --git https://github.com/groundinglab/pcoc --tag sdk-rust-v2.3.1 pcocBuild & quickstart on a laptop
git clone --depth 1 --branch sdk-rust-v2.3.1 https://github.com/groundinglab/pcoc.git
cd pcoc/sdk/rust
# Rust 1.99.0 via rust-toolchain.toml
cargo build -p pcoc -p pcoc-cli --release
cargo run -p pcoc-cli --release --quiet -- quickstart
cargo test -p pcoc --test ac_a9Offline quickstart / selftest work without groundinglab infra. Live produce and admit need Bitcoin peers / Bari / an index URL.
Pins & docs
| Pin | Value |
|---|---|
| SDK version | 2.3.1 (sdk/VERSION) |
| Spec | spec-2.3.0 (SPEC_PIN) |
| KIND | v2.2-pcoc-object |
Sibling runtimes: Go / Java / C sdk-*-v2.3.1. Server runtimes: gate-v0.5.8, bari-v0.6.11, index-v0.1.6.