9
A CRYPTO MINER FOR THE DIGITAL AGE OPTIMIZE THE WAY YOU MONETIZE Yellowpaper v.1

A CRYPTO MINER04 At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages: Mining Coins – Cryptography Transaction

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A CRYPTO MINER04 At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages: Mining Coins – Cryptography Transaction

A CRYPTO MINERF O R T H E D I G I TA L A G E

OPTIMIZE THE WAY YOU MONETIZE

Ye l l o w p a p e r v . 1

Page 2: A CRYPTO MINER04 At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages: Mining Coins – Cryptography Transaction

02Contents

This yellowpaper describes the technical details of Gath3r, a solution that reduces the

traditional barriers to cryptocurrency mining. Gath3r is an easy-to-use, JavaScript-based

solution that enables website owners and visitors to earn cryptocurrency mining rewards

via desktop browsers, mobile browsers and mobile applications.

It utilizes a combination of open source code that is closely related to the CryptoNote

mining algorithm used by Monero and other coins. Additional proprietary mining algo-

rithms will be implemented at a later stage. The other essential open source component

will be our stand-alone mining pool for CryptoNote-based coins.

Gath3r is building its JavaScript crypto miner on the foundation of blockchain technolo-

gy. The Gath3r team is aimed at delivering a hat will be considered an industry standard

for providing an alternative to intrusive ads. The first part of our solution is to develop a

JavaScript crypto miner that is capable of utilizing unused CPU power (and later, GPU

power) of website visitors.

We present here an easy-to-use JavaScript miner for the blockchain that can be embed-

ded into any website or application. Users run the miner directly in their browser and

mine GTH for the website owner in return for an ad-free experience, in-game currency or

a number of other possible appealing incentives.

Introduction

2

3

4

5

6

7

8

Infrastructure

Introduction

Overview

Mining coins – cryptographyThe Hashing Process

Architecture Components

Feature Rollout

Gath3rTechnology Stack

Network Architecture

Frequently Asked Questions

Architecture Components

Scalability & AvailabilitySecurity Layer

Deployment

9

Page 3: A CRYPTO MINER04 At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages: Mining Coins – Cryptography Transaction

03Gath3r employs a similar approach to Google Adsense and other analytical or advertise-ment platforms - where a webmaster embeds an external JavaScript file into their web-site. A configurable amount of a visitor’s CPU (and GPU at a later date) is used to then mine Monero (XMR). The project team will explore the possibility of adding other crypto-currencies in the future.

If users wish, payouts can be made available in GTH tokens, BTC or a fiat currency bank transfer (where available).

Gath3r will include a throttling feature on the webmaster admin panel that gives website owners some control over how much power can be used to perform mining operations. However, the possible power that can be used will remain within the safe bounds set by the Gath3r platform. This ensures that CPU or GPU mining is done without overwhelming a user’s system.

The more visitors you have, the more your community of users are pooled together to increase the amount of cryptocurrency that is mined.

The internet is moving towards website owners looking for ways to replace traditional advertising by introducing visitors to an enhanced user experience while browsing. Gath-3r.io intends to provide website and application owners with an alternate/additional form of non-intrusive monetization.

By utilizing a portion of participating users’ computing power to replace adverts, Gath-3r’s JavaScript-based mining script technology could be added into websites safely and form a new stream of revenue for website and application owners alike.

ANGULARAngular is one of the most sophisticated frontend development frameworks. It has an active community of developers, is supported by Google, and has a variety of ready-to-use tools.

POSTGRESQLPostgreSQL is a powerful, open source object-relational database system that offers scalable cloud deployments as a service. Additionally, we have selected it over competitors (i.e. Oracle) because the Gath3r project team has years of experience using PostgreSQL.

REDISRedis is an open source (BSD licensed), in-memory data structure store that is very useful for caching data. Redis is able to quickly process incoming hashes for validation and forward them to the blockchain miner.

PYTHONPython offers a lot of readily available bindings and libraries for various business tasks. Gath3r leverages these tools to significantly speed up the development process.

Technology Stack

Gath3r

Overview

Page 4: A CRYPTO MINER04 At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages: Mining Coins – Cryptography Transaction

04

At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages:

Mining Coins – Cryptography

Transactiondata is setup onthe platform and

sent to the client’sweb browser

Transactionis verified by thenode and pushed

to the currentblock

Data is signedfrom within thebrowser using

ECDSACryptography(secp256k1)

STAGE 1 STAGE 3

STAGE 2

The Hashing Process

For hashing, Gath3r will use the standard SHA256 algorithm. On older browsers, there

will be a fallback SHA256 function. The SHA256 algorithm takes data of any length or

size and produces a unique code string for it which is always uniform in length.

When searching for hashes, we will change the data by just one digit and it will calculate

a completely different string of alphanumeric letters. GTH miners will do this calculation

over and over again looking for the lowest possible value string which will have leading

zeros.

The system is currently centralized, with all nodes, services, miners, and servers being

operated by Gath3r and hosted on AWS. The web server runs the website at Gath3r.io.

Network Architecture

Page 5: A CRYPTO MINER04 At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages: Mining Coins – Cryptography Transaction

05Architecture Components:

GATH3R MINER CLIENT

The js / webassembly script that is loaded into the website

Calculates and sends hashes to the Gath3r Miner Server

Collects mining stats and saves to Redis

Handles

WEBMASTERS FRONTEND

Generate miner code for the website

Display mining stats and user balance

Withdraw mining reward

GATH3R BACKEND APP

Provides REST API for webmasters frontend

CELERY APP - HANDLES PERIODIC TASKS

Watch the system wallet and distribute the mining reward

between webmasters

Get mining stats collected by the Miner Server and register

stats in the backend database

Update exchange rates, users white list, etc

GATH3R MINER SERVER

Node.js app

Receives hashes from web miners

Sends hashes to the mining pool and receives the verified hash

confirmations

Mining Pool mines Monero via Monero Node instance

Mining reward is sent to the system wallet

Page 6: A CRYPTO MINER04 At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages: Mining Coins – Cryptography Transaction

06

Gath3r

Website

Web Server

Site A

Webmaster Frontend

Mining Pool

gath3r.js

Website

Browser

Gath3rMiner Client

Browser

Gath3rMiner Client

Browser

Gath3rMiner Client

Browser

Gath3rMiner Client

Browser

Gath3rMiner Client

Browser

Gath3rMiner Client

Browser

Gath3rMiner Client

Browser

Gath3rMiner Client

gath3r.js

Gath3r MinerServer

Gath3rBackend

App

CeleryApp

AngularApp

MiningPool

MoneroNode

CDN

PostgreSQL

Redis

Web Server

Site B

Page 7: A CRYPTO MINER04 At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages: Mining Coins – Cryptography Transaction

Setting up the Gath3r mining code on a site is as simple as copying and pasting the code into the website’s HTML.

Webmasters will have to setup an account at

They will then have to enter the domain name of the respective site and generate the JavaScript code.

The code should then be copied and pasted just above the </body> tag in the website’s HTML. It is recommended to edit a footer file or location so the code is displayed across the entire site. For Wordpress based websites, it is better to download the Gath3r plugin which will automatically insert the code on to every page.

The code snippet that website owners can install is an embedded external JavaScript file, similar to common codes used for website analytics and advertising. Wordpress and Joomla plugins will also be made available to facilitate the installation of Gath3r on a website.

The JavaScript code works by running at a set time only after the page has finished load-ing. This prevents any possible performance delays or SEO page speed penalties. The public block data is sent to the website user’s browser and will be processed while they are reading the page. The public block data is actually a block with blockchain’s transac-tion without the confirmation nonce (some N value the miners are looking for, that makes block’s hash less that the target difficulty). The pool defines the mining difficulty - how close the shares should be to the hash that solves the block.

The Gath3r server sends to the user’s browser a not fully confirmed hash (that is Merkel hash tree) in the range for the N value. Then browser hashes got hash with some N checks it. If the hash is smaller than some difficulty bound (but it could not be the actual target difficulty) - then it’s called share, that is used then to send to the pool for checking, confirmation and prove that the miner makes some job, and it should be appreciated, when pool gets block.

There are 3 interactions between the user’s browser and the Gath3r server. the miner script in the browser generates hashes and when it finds the hash that matches the difficulty, it sends it to the server server sends the hash to the mining pool, the hash is verified and if it is good, it’s accepted as a share the server sends the confirmation back to the browser

As soon as a website visitor leaves a publisher's site, the script will stop immediately. Nothing is downloaded onto the visitor’s device. Nothing runs on the visitor’s device after the visit to the Gath3r-supported website has concluded.

InfrastructureDeployment

https://app.gath3r.io

07

Page 8: A CRYPTO MINER04 At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages: Mining Coins – Cryptography Transaction

08The best security practices are in place when the Gath3r platform is designed, imple-mented, and deployed to production. All connections miner-server are secured with SSL. The opt-in pop up displays the target web site name to avoid the phishing attempts to use the miner on the non-authorized web sites. THe web sites and web master accounts that violate the term of use can be disabled and the miner scripts generated for these accounts will stop mining.

Gath3r permits crypto mining on any website directly from the user’s browser. Gath3r’s JavaScript code easily integrates into any website, blog or application. The script has a mandatory ‘opt in’ feature, which means it will only run when visitors want it.. Web-based mining has the potential to eliminate the need for expensive hardware mining operations, enabling more people to have easier entry into the cryptocurrency market.

We are currently in the process of evaluating the projected range of possible mining rewards per browsing session by running our miner code on an AWS EC2 instance and the hash rate to earnings is very close to the average industry values.

Visitors will be able to mine cryptocurrencies in the background of their browsers while they continue to use the website as normal. A dedicated Gath3r mining pool means anyone with a web connection can go online and earn a share of the crypto currency.

Unlike most blockchain platforms that focus on the adoption of technical users, Gath3r is mainstream focused and intuitively designed for non-technical users. Someone with no previous experience with blockchain or cryptocurrency can easily setup an account and mine crypto. Users will also be able to convert the earnings into other cryptocurrencies or fiat (where permitted).

Roadmap or diagram showcasing development stages and features rollout (if any)

Feature Rollout

Security Layer

Scalability & Availability

1

2

3

4

5

6

7

8

BTC withdrawal integration

External pool integration

Mobile SDK

Multiminer - adding multiple coins and different algorithms

GPU based mining

Loyalty program ( allowed webmasters to share revenue in GTH tokens )

Fiat exchange withdrawal

Paywall program

Page 9: A CRYPTO MINER04 At its core, Gath3r is developed to simplify user adoption and mining through a browser. The crypto miner runs in 3 stages: Mining Coins – Cryptography Transaction

Frequently Asked Questions

09

1 Are Gath3r’s nodes centralized or decentralized?

Nodes will become increasingly decentralized over time.

2 Can any individual user host a node?

No, we plan to thoroughly vet each node applicant. Criteria include but are not limited to the following: An OFAC list of sanctioned entities and persons, Country of residence, KYC, Due diligence (in the form of a personal interview).

3 Can users also setup hardware mining equipment for mining? What about ASIC rigs?

No, Gath3r has no such plans as of now. The whole idea behind Gath3r is to create a simple UX for GPU and CPU mining. Allowing ASICs would hamper the UX.

4 Are there any similar projects already in existence? Why are they fundamentally flawed?

Currently, Coinhive and JSEcoin are major competitors in this space. Here is why they are flawed.

Coinhive - Mines only Monero and pays out only in Monero. The company is not transparent and allows for “silent mining” - They use their code essentially as cryptojacking malware.

JSEcoin - Mines its own token - If JSEcoin is unable to generate large demand or find other use cases, webmasters earnings could essentially be worth nothing.

5 What makes Gath3r a better solution?

Unlike Coinhive, Gath3r will offer multiple payout options. Additionally, Gath3r requires that all webmasters get the consent of their site visitors to mine cryptocurrency.

Unlike JSEcoin, Gath3r will tokens will not be mined through browser mining. Instead, we will mine Monero (and possibly other cryptocurrencies in the future).

6 What kind of mining rewards can users expect? For example, will cryptocurrencies be paid per browsing session? Is there a minimum amount of time a user has to be on a website in order to earn mining rewards?

Currently our planned payout methods are GTH tokens, BTC and fiat. In regards to how the payouts are calculated, It depends on how many hashes per second each user is generating.

On average on Monero, a decent system (i5) will generate 25-50 HPS (dependent on the throttle). Individual webmasters can manually withdraw their earnings as they see fit. Currently, the mini-mum threshold is .03 XMR.

7 How are mining rewards distributed between the webmaster and the site visitor (i.e. percentages)?

Each webmaster can determine his or her own mining reward distribution policies. Essentially, Gath3r allows each webmaster to create a customized rewards program.