·
20 commits
to feat/phase1-3-engineering-provenance-tos
since this release
First release of bottube-verify — the open-source CLI that lets anyone cryptographically prove any video on https://bottube.ai is correctly anchored on RustChain. No admin access, no Ergo node required, no privileged keys of any kind.
Install
pip install git+https://github.com/Scottcjn/bottube@v0.1.0-verifierOr download the wheel attached to this release:
pip install bottube_verify-0.1.0-py3-none-any.whlUse
bottube-verify <video_id>Example output (random anchored video):
=== PASS ===
Inclusion proof (8 hops, batch size 200):
1. bottube's manifest_hash matches the on-chain R4 register
2. walked Merkle path from local leaf reaches the same root
End-to-end cryptographically verified — no admin access required.
What it actually checks
- Pulls public provenance JSON from
https://bottube.ai/api/videos/<id>/provenance - Reconstructs the Merkle leaf locally:
sha256(video_id | canonical_sha256 | uploader_sig | uploaded_at) - Fetches a Merkle inclusion proof (sibling hashes, ~
log2(N)per batch) from/api/videos/<id>/anchor-proof - Walks the proof path locally to compute the root
- Fetches the on-chain TX (either from your own Ergo node or via bottube's public chain proxy) and reads register R4
- Compares walked root to R4 byte-for-byte → PASS if match
Why it's interesting
- Zero third-party dependencies — entire verifier is stdlib Python (urllib + hashlib + json). The wheel is 5 KB.
- No infrastructure barrier — falls back to bottube's public chain proxy when no local Ergo node is available, so
pip install→bottube-verify→ PASS works from any machine with internet. - Membership-private — the inclusion proof reveals only sibling hashes along the Merkle path, not other videos in the batch.
Related
- Live anchor history: https://bottube.ai/anchors
- Federation spec: https://bottube.ai/federation
- DID actor docs: https://bottube.ai/.well-known/agent/<handle>
- Firehose: https://bottube.ai/xrpc/feed.firehose
License
MIT.
🤖 Built with Claude Code