stacker.news/wallets/nwc
ekzyis 06b661625c
Use custom relay API (#1302)
* Use custom relay API

Relay from nostr-tools was cumbersome to use. This custom abstraction over window.WebSocket makes interacting with nostr relays easier.

* Use variables for nostr message parts

* Fix NWC save

* Use try/finally

* Refactor crossposting code

* use custom replay API
* simplify callWithTimeout

* Use isomorphic-ws for nip57 zap receipts

* Use async map

* Reject with timeout error

* Move time functions into lib/time

* Remove outdated comment regarding relay.close()
2024-08-18 17:28:39 -05:00
..
ATTACH.md Wallet definitions with uniform interface (#1243) 2024-07-20 17:51:46 -05:00
client.js Use custom relay API (#1302) 2024-08-18 17:28:39 -05:00
index.js not-custodial zap beta (#1178) 2024-08-13 09:48:30 -05:00