Skip to content

Latest commit

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

umarise-core-sdk

Anchor any file to Bitcoin with one API call. Hash-in, proof-out.

artifact → artifact.proof

Zero dependencies. Python 3.8+.

Install

pip install umarise-core-sdk

Anchor a file

fromumariseimportUmariseCore, hash_bufferimportoscore=UmariseCore(api_key=os.environ["UMARISE_API_KEY"])
withopen("release.tar.gz", "rb") asf:
file_hash=hash_buffer(f.read())
origin=core.attest(file_hash)
print(origin.origin_id) # done

Verify a file (no API key needed)

fromumariseimportUmariseCore, hash_buffercore=UmariseCore()
withopen("release.tar.gz", "rb") asf:
file_hash=hash_buffer(f.read())
result=core.verify(file_hash)
ifresult:
print(f"Existed since {result.captured_at}")

Verification is public. No account, no API key, no vendor dependency.

CLI

npx @umarise/cli anchor release.tar.gz
# → release.tar.gz.proof

Verify offline:

npx @umarise/cli verify release.tar.gz.proof
# Hash Match ✓ | Bitcoin Block #881234 | 2026-03-05 | VALID

API

MethodAuthDescription
health()PublicAPI health check
resolve(origin_id=...)PublicLookup by origin ID
resolve(hash=...)PublicLookup by hash
verify(hash)PublicCheck if hash is anchored
proof(origin_id)PublicDownload .ots proof
attest(hash)API KeyCreate anchor
hash_buffer(bytes)SHA-256 hash, no network

CI/CD

Use the GitHub Action for automated anchoring:

- uses: AnchoringTrust/anchor-action@v1with:
file: build.tar.gzenv:
UMARISE_API_KEY: ${{ secrets.UMARISE_API_KEY }}

Every build gets a .proof file. Verifiable offline, independent of Umarise.

Links

License

Unlicense (Public Domain)

About

Anchor any file to Bitcoin with one API call. Hash-in, proof-out. Zero dependencies.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages