Mine 21e8 faster, or don't, whatever.
- improve performance
- add helper functions
- multithreading
- WASM modules for the browser
First, you'll want to check out this repository
git clone https://github.com/blocksurf/21e8miner-wasm.git
cd 21e8miner-wasm
With cargo already installed, you can run:
cargo build --release
The binaries will be located in <project dir>/target/release
./target/release/start
./target/release/setup
Use this TX template with a certain output
<sha256 hash of something you want PoW for> <21e8 + target string in hex> OP_SIZE OP_4 OP_PICK OP_SHA256 OP_SWAP OP_SPLIT OP_DROP OP_EQUALVERIFY OP_DROP OP_CHECKSIG>
Here's a jsfiddle to get you started: https://jsfiddle.net/fkt7qb15/
- Setup Miner ID
- multithreading
- Mine from cli
- WASM modules
Check the blockchain.
- Dean Little (21e8miner)
- Nick Carton (bsv-wasm)
- 21e8