Git Product home page Git Product logo

banano.miner's Introduction

Intro

Easyer way to "mine" on a server with no gui (haven't seen any difference in hash speed compared to a normal browser)

Migration to new website

The migration to https://powerplant.banano.cc has started and takes effect from version 1.0.8 onward.

Error

WARNING there's a error with all version under 1.0.7 that will mine to a invalid address. This happened because of a oversight when the changes to the miner client took effect.

If you are getting TypeError: this.balance is not a function you are using a old version you can use image anzerr/bananominer:1.0.7 or delete the old image and re-pull

docker rmi anzerr/bananominer:latest && docker pull anzerr/bananominer:latest

This error doesn't stop you mining it's a report to view your state on the api.

Docker

Installing docker can be found here

Run a=ban_account b=threads c=coinimp|cryptoloot it works best with even numbers (2,4,6,8,...).

docker run -d --restart always -e "a=ban_3zi3ku5dqbdn1uzggcu9gggut1bojsa1a1jurdqnmcnohy94nu6bo3fo19cp" -e "b=4" -e "c=coinimp" anzerr/bananominer:latest
Thread count

You can find the number of core with "lscpu" in the output look for this

Thread(s) per core:    2
Core(s) per socket:    12
Socket(s):             4

In this example we got (4 * 12 * 2) give us 96 threads

Build

To build image from the git repo

git clone https://github.com/anzerr/banano.miner.git miner && \
	cd miner && \
	docker build -t anzerr/bananominer:$(node -e "console.log(require('./package.json').version)") -t anzerr/bananominer:latest .

docker push anzerr/bananominer:$(node -e "console.log(require('./package.json').version)")
docker push anzerr/bananominer:latest

NodeJs

Installing nodejs can be found here

The package.json is missing puppeteer as it's globaly insalled in the Dockerfile. To setup the project run these commands

git clone https://github.com/anzerr/banano.miner.git miner && \
	cd miner && \
	npm i --only=prod && \
	npm i --save [email protected]

To run the project

node index.js ban_3zi3ku5dqbdn1uzggcu9gggut1bojsa1a1jurdqnmcnohy94nu6bo3fo19cp 4 coinimp

Output format

when running you should see output every 5sec show hash state

example

console 64.4/Hps, session: (0.05334BAN, 1778/H), 24h estimate 166.92480000000003BAN

Every 5 mins you'll get the websites stats for the current account being ran for

dc754b618731c8924aefb61b51e18728 {
	account: 'ban_3zi3ku5dqbdn1uzggcu9gggut1bojsa1a1jurdqnmcnohy94nu6bo3fo19cp',
	hashes: 39736133,
	balance: 0.48384
}

banano.miner's People

Contributors

anzerr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.