Broadnym is a privacy-preserving Bitcoin transaction broadcaster that uses the Nym mixnet to anonymize transaction submissions. It consists of a server component that receives transactions through the Nym network and forwards them to Bitcoin's mempool, and a web UI for submitting transactions.
The project contains a Nix dev shell with all required dependencies, you can enter it by running:
nix developjust devThis will start both the server and the UI development server concurrently. The server will run on port 3000 by default, and the UI will be available at http://localhost:8080.
cargo run --package broadnym_serverOr with a custom port:
cargo run --package broadnym_server -- --port 8000In a separate terminal:
cd client
trunk serveThe UI will be available at http://localhost:8080
cargo build --package broadnym_server --releaseThe binary will be available at target/release/broadnym_server
cd client
trunk build --releaseThe built files will be in client/dist/
- Start the server - it will connect to the Nym mixnet and display its Nym address on port 3000 (or the port you specified)
- Open the UI in your browser
- Enter the server's Nym address in the UI
- Paste your raw Bitcoin transaction hex
- Select the network (Mainnet, Testnet, or Signet)
- Click "Submit Transaction"
The transaction will be sent anonymously through the Nym mixnet to the server, which will then broadcast it to the Bitcoin network.
- Run
just clippyto run linting - Run
just fmtto format code - Run
just testto run tests - Run
just checkto check all packages
- Server (
server/): Axum-based web server that connects to Nym mixnet and forwards transactions to Bitcoin's mempool - Client (
client/): Leptos-based WebAssembly UI for submitting transactions - Common (
common/): Shared types and utilities between server and client
