Skip to content

blocksurf/21e8miner-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

21e8miner-wasm

Mine 21e8 faster, or don't, whatever.

Goals

  • improve performance
  • add helper functions
  • multithreading
  • WASM modules for the browser

Compiling

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

Running 21e8miner

Start Miner:

./target/release/start

Configure Miner ID and default payout settings:

./target/release/setup

Publish 21e8 Jobs

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/

TODO:

  • Setup Miner ID
  • multithreading
  • Mine from cli
  • WASM modules

What is 21e8?

Check the blockchain.

Thanks

About

Mine 21e8 faster, or don't, whatever.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages