This is an experimental project using Rust and WASM to decode Bitcoin-related data.
Run the development server with:
npm run serveThen 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
distdirectory 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