pushtx-cli

Crates.iopushtx-cli
lib.rspushtx-cli
version0.4.0
sourcesrc
created_at2024-05-21 12:28:21.584766
updated_at2024-06-03 02:43:01.836454
descriptionBitcoin Transaction Broadcast Tool
homepage
repositoryhttps://github.com/alfred-hodler/pushtx
max_upload_size
id1246802
size94,576
Alfred Hodler (alfred-hodler)

documentation

README

Privacy-focused Bitcoin Transaction Broadcaster

This is a Rust program that broadcasts Bitcoin transactions directly into the P2P network by connecting to a set of random Bitcoin nodes. This differs from other broadcast tools in that it does not not interact with any centralized services, such as block explorers.

The program is entirely self-contained and does not require Bitcoin Core or other dependencies.

If Tor is running on the same system, connectivity to the P2P network is established through a newly created circuit. Having Tor Browser running in the background is sufficient. Tor daemon also works.

Broadcast Process

  1. Resolve peers through DNS seeds.
  2. Detect if Tor is present.
  3. Connect to 10 random peers, through Tor if possible.
  4. Broadcast the transaction to a single peer.
  5. Wait until the transaction is seen on the network.
  6. Disconnect.

Usage

Install with Cargo: cargo install pushtx-cli

Demo

A library is also available (pushtx).

Disclaimer

This project comes with no warranty whatsoever. Please refer to the license for details.

Commit count: 14

cargo fmt