Skip to content

coracle-social/ts-mls-nostr

 
 

Repository files navigation

ts-mls-nostr

A TypeScript library that provides glue code for using the ts-mls library with Nostr protocols, specifically for implementing NIP-EE (Encrypted Events).

This library serves the same purpose as the nostr-mls libraries that wrap the OpenMLS library. It provides the necessary functionality to implement NIP-EE on top of a complete MLS (Messaging Layer Security) specification implementation.

Usage

import { NostrMLS } from "ts-mls-nostr"

const mls = new NostrMLS()
const aliceCred = mls.createCredential("deadbeef")
const aliceKP = await mls.createKeyPackage(aliceCred)
const aliceGroup = await mls.createGroup(aliceKP)

Contributing

Please read CONTRIBUTING.md for details.

About

A place to gather thoughts on how to implement NIP-EE using the ts-mls library

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%