8000 GitHub - Rachel-Hu/wasm-miner: A conceptual WebAssembly miner with botnet capabilities for 14828/18636 project.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rachel-Hu/wasm-miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

wasm-miner

This is the repo for 14828/18636 WebAssembly Ethereum miner project.

Current progress

miner.html, miner.js and miner.wasm are compiled by executing ./compile.sh in the local-miner directory.

Runs in terminal by calling node miner.js or by opening miner.html in a browser. If opening in a browser, the HTML file must be served by a web server; the HTML file cannot be loaded as a local filesystem file (file://).

All input are dummy content and it is not really mining for now.

Future plan (TODO)

Get the miner work, probably through geth (Go Ethereum, as listed in the reference section). We can construct an central server with geth, which will send current block information to our clients(local-miner) for mining.

Also we can try other simpler cryptocurrencies (e.g. Zcash) if possible.

Citations

The miner simulated the Keccak hash function utilized by Ethereum.js/ethash.js in this repo, ethash, is a important reference of the hashing code implementation of local-miner/miner.cpp.

Useful references

Ethash: PoW algorithm code for Etherium 1.0

Ethminer: a C++ Ethereum miner supporting GPU mining

Go Ethereum: the official Go implementation of the Ethereum protocol, support CPU mining and private network

Bitcoin cpuminer: a multi-threaded CPU miner for Bitcoin

A Monero WebAssembly based miner: as title

About

A conceptual WebAssembly miner with botnet capabilities for 14828/18636 project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0