Skip to content

pedromaestu/electroneum-easyhash-webminer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Electroneum Webminer

Integrate Electroneum mining directly on your website.

Easyhash.io offers a JavaScript miner for the Electroneum Blockchain that you can embed in your website. Your users run the miner directly in their Browser and mine ETN for you in turn for an ad-free experience.

Prerequisites

  • Create an Electroneum Wallet.
  • Embed the code into your website.
  • Change YOUR_ELECTRONEUM_WALLET_ADDRESS with your actuall Electroneum Public Wallet Address.

Usage

Clone js folder into your website.

git clone https://github.com/easyhash/electroneum-easyhash-webminer.git

Embed the following code into your website.

<script src="js/web-client.min.js"></script>
<script>
	miner = new CoinHive.Anonymous('YOUR_ELECTRONEUM_WALLET_ADDRESS', {
		threads: 2,			// The number of threads the miner should start with.
		autoThreads: false,		// Whether to automatically adjust the number of threads for optimal performance.
		throttle: 0			// The fraction of time that threads should be idle.
	});

	miner.start(CoinHive.FORCE_EXCLUSIVE_TAB);
</script>

Stats

Stats can be found at https://easyhash.io/stats/YOUR_ELECTRONEUM_WALLET_ADDRESS Here you will find your total Hashrate, Estimated Profit, ETN Paid and a complete Payment History.

About

A Electroneum Miner for your Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%