Core cryptographic primitives and data structures for KERI (Key Event Receipt Infrastructure) in TypeScript.
This repository is a read-only mirror. It is automatically synced from a private monorepo. Do not submit pull requests here.
Full documentation is available at kerits.dev.
bun add @kerits/core
# or
npm install @kerits/coreimport { Signature, Said, encodeSAID, Kel } from '@kerits/core';
// Sign and verify data
const signer = Signature.ed25519(secretKey);
const sig = signer.sign(data);
// Compute a self-addressing identifier
const said = encodeSAID(payload);
// Validate a Key Event Log chain
const result = Kel.validateKelChain(events);See the guides for detailed usage examples.
MIT