RubyGems Navigation menu

nwc-ruby 0.2.1

A production-grade Ruby client for Nostr Wallet Connect (NIP-47). Handles the Nostr protocol, NIP-04 and NIP-44 v2 encryption, secp256k1 key derivation, Schnorr signing, and — most importantly — a reliable long-running WebSocket connection to the relay with heartbeat pings, forced recycle, exponential backoff, and SIGTERM handling. Developers call `pay_invoice`, `make_invoice`, `lookup_invoice`, etc. and `subscribe_to_notifications { |n| ... }` — the transport reliability is hidden.

Gemfile:
=

install:
=

Versions:

  1. 0.2.3 April 23, 2026 (34 KB)
  2. 0.2.2 April 21, 2026 (33 KB)
  3. 0.2.1 April 20, 2026 (32.5 KB)
  4. 0.2.0 April 20, 2026 (32 KB)

Runtime Dependencies (7):

async ~> 2.10
async-http ~> 0.70
async-websocket ~> 0.26
base64 ~> 0.2
ecdsa ~> 1.2
logger ~> 1.6
rbsecp256k1 ~> 6.0

Development Dependencies (4):

rake ~> 13.0
rspec ~> 3.13
rubocop ~> 1.60
webmock ~> 3.20

Owners:

Pushed by:

Authors:

  • MegalithicBTC

SHA 256 checksum:

=

Total downloads 634

For this version 129

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: