• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / libwallet / 24420236433
25%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2026 08:12PM UTC
Jobs 1
Files 74
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Apr 2026 08:03PM UTC coverage: 24.463% (-0.7%) from 25.145%
24420236433

push

github

MagicalTux
wltwc: relay WebSocket client

Goroutine-safe client for a WalletConnect v2 relay (wss://relay…) over
gorilla/websocket. Handles the irn_* JSON-RPC protocol:

- Subscribe(topic) → subId
- Publish(topic, msg, tag, ttl) with the standard WC tags baked in
  (1100 propose / 1102 settle / 1108 request / 1109 response / 1110
  event / 1112 delete). `prompt` is set for propose + request so the
  relay can deliver push notifications to backgrounded wallets.
- Unsubscribe(topic, subId)
- Inbound irn_subscription fans out on an Events channel; each message
  is ACKed to the relay so it isn't redelivered.

Auth: per-connection Ed25519 JWT via the `auth` query-string param
(did:key iss, did:key-encoded via multicodec + base58btc). Ed25519
keypair is passed in so the caller can persist it across restarts —
the relay treats it as the client's stable identity. ProjectId is the
standard WC paid-tier query param.

Read + write pumps run as goroutines for the lifetime of Start;
Close() cancels. Reconnect / backoff will be wired by the Manager on
top once session state lands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

0 of 226 new or added lines in 1 file covered. (0.0%)

2038 of 8331 relevant lines covered (24.46%)

3.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
226
0.0
wltwc/relay.go
Jobs
ID Job ID Ran Files Coverage
1 24420236433.1 14 Apr 2026 08:12PM UTC 74
24.46
GitHub Action Run
Source Files on build 24420236433
  • Tree
  • List 74
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24420236433
  • dc95a917 on github
  • Prev Build on master (#24420128405)
  • Next Build on master (#24421247051)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc