Skip to content

toon-protocol/relay

Repository files navigation

relay

TOON Protocol Nostr relay node — @toon-protocol/relay (NIP-01 relay + BLS + startRelay launcher) and @toon-protocol/bls

Extracted from the TOON monorepo with full git history preserved. npm publishing is done by CI (changesets + pnpm, authed by the org NPM_TOKEN secret). Docker image published to ghcr.io/toon-protocol/relay:latest by publish-relay-image.yml.

Getting started with Devbox

Devbox pins the local toolchain to the exact versions CI uses — Node 22 and pnpm 8.15.9 — so pnpm build, pnpm test, and pnpm lint run in a reproducible shell without touching your system packages.

Prerequisites: Install devbox (one-liner).

# Enter the pinned shell (downloads packages on first run via Nix)
devbox shell

# Inside the devbox shell, all tools are on PATH:
node --version    # v22.x
pnpm --version    # 8.15.9

# Run the standard targets (defined as devbox scripts)
devbox run build  # pnpm install --no-frozen-lockfile && pnpm build
devbox run lint
devbox run test

.devbox/ (the Nix symlink/cache dir) is gitignored; devbox.json and devbox.lock are committed.

About

TOON Protocol Nostr relay node — @toon-protocol/relay (NIP-01 relay + BLS + startRelay launcher) and @toon-protocol/bls

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors