Umarise Core SDK. Hash-in, proof-out. Zero dependencies.
npm install @umarise/anchorimport { UmariseCore, hashBytes } from '@umarise/anchor';
import { readFile } from 'fs/promises';
const core = new UmariseCore({ apiKey: 'um_...' });
const bytes = await readFile('./document.pdf');
const hash = await hashBytes(bytes);
const origin = await core.attest(hash);
console.log('Origin:', origin.origin_id);| Method | Auth | Description |
|---|---|---|
health() |
Public | API health check |
resolve({ originId }) |
Public | Lookup by origin ID |
resolve({ hash }) |
Public | Lookup by hash |
verify(hash) |
Public | Check if hash has attestation |
proof(originId) |
Public | Download .ots proof |
attest(hash) |
API Key | Create attestation |
hashBytes(data) |
— | SHA-256 hash utility |
Unlicense (Public Domain)