Nostr-tx-broadcast: Bitcoin Transactions Over Nostr

Nostr-tx-broadcast is an implmentation of: nostr-protocol/nips#476 nostr-tx-broadcast does the following:

– Generates a set of Nostr keys.
– Creates a Nostr client and adds multiple relays.
– Connects to the relays.
– Subscribes to Bitcoin transactions (with a custom event kind of 28333) from the relays.
– Listens for incoming Bitcoin transactions and decodes them.
– Broadcasts the decoded transactions to the mempool.space API.

GitHub Repo

Leave a Reply

Your email address will not be published. Required fields are marked *