DecodeBitcoin.com
This is an experimental project using Rust and WASM to decode Bitcoin-related data.
- Bitcoin Transaction decoding
- BIP 39 XOR
- BIP 32
- BIP 21
- BOLT 11
- BOLT 12
Run the development server with:
npm run serve
Then visit http://localhost:8080 in your browser.
Build and serve the production version:
npm run build
- Using Python's HTTP server:
cd dist
python3 -m http.server 8080
- Using Nginx:
- Copy the
dist
directory contents to your web root - Add WASM MIME type to your Nginx configuration:
- Copy the
types {
application/wasm wasm;
}
cargo run --bin decodebitcoin-cli -- decode <transaction_hex>
cargo run --bin decodebitcoin-cli -- derive <xpriv>
Example:
cargo run --bin decodebitcoin-cli -- derive tprv8ZgxMBicQKsPczGmwTSuQwPSVoqEyXBxinSRRVHieeF7FUi8eZVh46dRJUSPr8tofmC1TymdPMGYmu6TakaEQaA27VMYZxHs4pcekFTotCC