Skip to content

aaronp/kerits

Repository files navigation

@kerits/core

npm version

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.

Documentation

Full documentation is available at kerits.dev.

Installation

bun add @kerits/core
# or
npm install @kerits/core

Usage

import { 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.

License

MIT

About

A typescript implementation of keripy

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors