Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@umarise/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@umarise/cli
Anchor files to Bitcoin. Verify proofs offline.
npm install -g @umarise/cliUsage
# Full lifecycle — one command, run twice
export UMARISE_API_KEY=um_your_key
umarise proof document.pdf
# First run:
# ✓ hash: sha256:a1b2c3...
# ✓ anchored: origin_id f47ac10b-58cc-4372-a567-0e02b2c3d479
# ⏳ proof pending — run again later
# Second run (after ~2 hours):
# ✓ hash: sha256:a1b2c3... (already anchored)
# ✓ origin_id: f47ac10b-58cc-4372-a567-0e02b2c3d479
# ✓ anchored in Bitcoin block 935037
# ✓ no later than: 2026-03-04
# ✓ saved: document.pdf.proof
# ✓ proof valid — independent of UmariseSame command, always does the right thing. No daemon. No state files.
Commands
umarise proof <file> — recommended
Full proof lifecycle in one command:
- Hash the file locally (SHA-256)
- Anchor the hash (or detect it's already anchored)
- Check if Bitcoin proof is ready
- If ready: download
.ots, build.proofZIP, verify locally
Idempotent — run it as many times as you want on the same file.
umarise anchor <file> — plumbing
Hash and anchor only. Creates a .proof ZIP immediately (proof may still be pending).
umarise anchor document.pdfumarise verify <file> [proof] — plumbing
Verify a file against its .proof bundle. Tries offline verification first (OpenTimestamps), falls back to online.
umarise verify document.pdf
# or explicitly:
umarise verify document.pdf document.pdf.proofOutput
Verify
✓ hash matches
✓ anchored in Bitcoin block 883421
✓ no later than: 2026-03-04
✓ proof valid — independent of UmariseProof bundle
<file>.proof is a ZIP containing:
certificate.json— origin metadata (hash, timestamp, origin_id)proof.ots— OpenTimestamps proof (when anchored)
You can verify the proof independently:
unzip document.pdf.proof
sha256sum document.pdf # compare with certificate.json
ots verify proof.ots # verify against BitcoinNo Umarise server needed for verification.
Configuration
| Variable | Required | Description |
|---|---|---|
UMARISE_API_KEY |
For proof and anchor |
Partner API key (um_...) |
Or pass --api-key <key> to the command.
verify requires no API key — verification is a public utility.
What this CLI does NOT do
- Store files (hash-only, bytes never leave your system)
- Manage accounts or sessions
- Interpret content or meaning
- Replace legal processes
License
Unlicense (Public Domain)