JSPM

@bitmacro/relay-connect

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q66729F
  • License MIT

Nostr NIP-46 (Nostr Connect) and NIP-07 helpers for BitMacro Relay Manager and other clients

Package Exports

  • @bitmacro/relay-connect

Readme

@bitmacro/relay-connect

TypeScript SDK for NIP-46 (Nostr Connect) and NIP-07 flows used with BitMacro Relay Manager: relay-api /signer, optional relay-agent, and browser extensions.

Reference app (Next.js): relay-connect-web

Package Role
@bitmacro/relay-connect This repo — reusable client logic
relay-connect-web Minimal UI + Next.js proxy to relay-api
relay-api Central hub (private in production)

Status

Initial scaffold (0.1.0): public API will grow as logic is extracted from relay-connect-web and consumers like relay-panel.

Install

npm install @bitmacro/relay-connect

Usage

import { RELAY_CONNECT_VERSION } from "@bitmacro/relay-connect";

Development

npm install
npm run typecheck
npm run build

License

MIT — see LICENSE.