Skip to content

benthecarman/nostr-tx-broadcast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nostr-tx-broadcast

Introduction

nostr-tx-broadcast is a tool that listens to nostr relays for bitcoin transaction events and broadcasts them to the bitcoin network.

An implementation of nostr-protocol/nips#476

Overview

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.

Installation

Start by just doing:

cargo run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages