6 releases
0.4.0 | Jun 3, 2024 |
---|---|
0.3.0 | May 27, 2024 |
0.2.4 | May 23, 2024 |
#36 in #broadcast
373 downloads per month
120KB
1K
SLoC
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
- Resolve peers through DNS seeds.
- Detect if Tor is present.
- Connect to 10 random peers, through Tor if possible.
- Broadcast the transaction to a single peer.
- Wait until the transaction is seen on the network.
- Disconnect.
Usage
Install with Cargo: cargo install pushtx-cli
A library is also available (pushtx
).
Disclaimer
This project comes with no warranty whatsoever. Please refer to the license for details.
Dependencies
~11–22MB
~202K SLoC