Git Product home page Git Product logo

nicehashbot's Introduction

NiceHashBot

NHB3 bot for automatic order management.

Features

  • Run on test and production environment (instructions on how to obtain API keys https://github.com/nicehash/rest-clients-demo/blob/master/README.md)
  • Manage pools (create/edit/delete)
  • Manage orders (create/refill/edit/delete)
  • Automatically manage orders for (Bot On mode):
    • price adjustment - keep price as low as possible (increase and decrease prices)
    • refilling - automatically refill order when 90% of available money is consumed
  • Console window showing important events, API calls and errors

Instructions on how to run

  • Download binaries from here: https://github.com/nicehash/NiceHashBot/releases
  • Extract zip archive
  • Run NHB3.exe
  • Note: .NET Framework 4.7 or higher is required. You can also run multiple instances of NHB3 - each in own folder with different API credentials.

Instructions on how to compile

  • Use Visual Studio 2019 or later
  • Open project in Visual Studio
  • Rebuild & run

Tips for programmers

NHB3 is proof of concept (but working) application. It is some how extension of rest-clients-demo (https://github.com/nicehash/rest-clients-demo) and can be used as is or upgraded for further improvements in usability and functionality. Main purpose is to demonstrate interaction with new NiceHash platform.

NHB3 uses two classes for interaction with NiceHash platform Api.cs that prepares all required request headers (authorization - as described here - https://docs.nicehash.com/) and executes remote calls and ApiConnect.cs that exposes methods for actions used by NHB3.

Majority of BOT logic is in function runBot() inside Home.cs class witch is executed once per minute and then check if order needs some sort of interaction (refill, increase speed or decrease speed).

nicehashbot's People

Contributors

bl4z avatar

Watchers

James Cloos 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.