Feedback, NIP discussion, and contributions are welcome. Open an issue or submit a PR.
git clone https://github.com/forgesworn/signet-protocol.git
cd signet
npm install# Run all tests
npm test
# Typecheck
npm run typecheck
# Build
npm run buildsrc/ — Protocol library (TypeScript, no framework dependencies)
tests/ — Protocol tests (vitest)
spec/ — Protocol specification (source of truth)
examples/ — Example flows
docs/ — Developer documentation
- British English — colour, initialise, behaviour, licence
- Spec-first — if you find a gap in the spec, update
spec/protocol.mdfirst, then fix the code - Commit messages —
type: description(e.g.feat:,fix:,docs:,refactor:) - Security — see the Security Conventions section in
CLAUDE.mdfor crypto and validation patterns - Tests — all changes must pass
npm testandnpm run typecheck
MIT