Resource icon

Gold & Silver Teams Autobot for Nicehash 1.0b

No permission to download

Description​

The "Rumas's Gold & Silver Autobot" is a UserScript developed by Rumas, designed to automate buying Gold and Silver shared mining packages on NiceHash. This script automates the process of joining mining teams and buying mining shares, which could be particularly useful for those looking to streamline their mining operations. The script also provides an option to automatically cancel the mining process based on user defined parameters.
SGTANH-s.png

Getting Started​

Prerequisites​

This script was designed to be used with Tampermonkey, a free browser extension that allows you to run UserScripts. Before using this script, please ensure that Tampermonkey is installed on your browser.

Tampermonkey Installation:

Installation​

  1. Open the Tampermonkey dashboard by clicking on the Tampermonkey icon in the toolbar of your browser and selecting "Create a new script".
  2. Copy the provided script code.
  3. Paste the script code into the new script tab in the Tampermonkey dashboard.
  4. Save the script by clicking on the disk icon or by pressing Ctrl + S (Cmd + S on MacOS).
The script is now installed and ready to use. You should see "Rumas's Gold & Silver Autobot" listed in your Tampermonkey dashboard.

Usage​

After you've installed the script, it should run automatically when you navigate to https://www.nicehash.com/my/*. The script will help automate the process of buying and canceling shared mining packages on the platform. The script has customizable settings within the config variable:
JavaScript:
const config = {
      debugMode: true, // Enable/disable debug logs.
      pageRefresh: 6000, // Page refresh delay time in ms.
      forwardDelayBefore: 6000, // Page forward delay time in ms.
      forwardDelayAfter: 6000, // Page forward delay time in ms.
      clickPlusDelay: 25, // Button click delay time in ms.
      silver: { // Configuration settings for silver package
        enabled: true, // Enable/disable silver package
        desiredNumberOfShares: 25, // Number of times to click the "icon plus" DIV for "team silver"
        cancelTimeEnabled: true,
        cancelTime: "2:10:30", // Cancel time for silver package (Hour:Minute:Second)
        /* ... other silver configuration ... */
      },
      gold: { // Configuration settings for gold package
        enabled: true, // Enable/disable gold package
        desiredNumberOfShares: 10, // Number of times to click the "icon plus" DIV for "team gold"
        cancelTimeEnabled: true,
        cancelTime: "1:50:00", // Cancel time for gold package (Hour:Minute:Second)
        /* ... other gold configuration ... */
      },
};

Warning​

The script is provided "as is" and should be used responsibly and at your own risk. Always ensure that you understand the script and its implications before you run it. Please use this script responsibly and ethically.

Developer notes​

The script works by performing several tasks:

  • It first checks the availability of the mining packages based on the DOM selectors defined in the config variable.
  • It then automates the process of buying or canceling a.-23869s Gold & Silver Autobot is a customizable script designed to automate the buying and selling of shared mining packages on NiceHash. The script provides various configurations, allowing you to customize the behavior according to your needs.

Features​

  • Automated purchasing and selling of shared mining packages.
  • Customizable configuration for both "Gold" and "Silver" packages.
  • Debug mode for tracking script execution in detail.
  • Adjustable delay timers for page refresh and other operations.
  • Inbuilt system to 'beat the whales' with custom button click delay.

Prerequisites​

Before using the script, make sure you have the following prerequisites installed on your system.

  • Web browser (tested on Chrome and Firefox)
  • Tampermonkey extension installed on your browser. You can download it from here.

Installation​

  1. Open the Tampermonkey dashboard in your browser.
  2. Click on the "Create a new script..." tab.
  3. Delete any code in the editor.
  4. Paste the Rumas's Gold & Silver Autobot script into the editor.
  5. Save the script by clicking the "File" button and selecting "Save".

Usage​

  1. Configure the script according to your needs by editing the 'config' object.
  2. Navigate to the 'https://www.nicehash.com/my/*' page.
  3. The script will run automatically on this page, buying and selling shared mining packages according to your configuration.

Configuration​

The configuration section of the script allows you to specify your preferences for both "Gold" and "Silver" packages.

Global configurations​

  • debugMode: Set this to false to disable debug logs.
  • pageRefresh: Set the page refresh delay time in milliseconds.
  • forwardDelayBefore: Set the page forward delay time in milliseconds.
  • forwardDelayAfter: Set the page forward delay time in milliseconds.
  • clickPlusDelay: Set the button click delay time in milliseconds to beat the whales.

Gold/Silver configurations​

Each team has its configuration:

  • enabled: Set to true to enable operations for this team, false to disable.
  • desiredNumberOfShares: The number of shares you want to purchase for this team.
  • cancelTimeEnabled: Enable or disable the cancel time feature for this team.
  • cancelTime: Set the time when the package should be sold, in the format Hour:Minute:Second.
  • countdownSelector: The CSS selector for the countdown label element (do not change this unless you know what you're doing).
  • joinNowButtonSelector: The CSS selector for the "JOIN NOW" button (do not change this unless you know what you're doing).
  • increaseShareButtonSelector: The CSS selector for the "INCREASE MY SHARE" button (do not change this unless you know what you're doing).

Warnings​

  1. Use this script at your own risk. The author is not responsible for any potential losses.
  2. Be sure to test the script with smaller amounts of shares before moving on to larger amounts.
  3. Remember to keep your browser and Tampermonkey extension up to date.
  4. Changing the script's core function may lead to unexpected outcomes or errors. Please make sure you understand the JavaScript language and browser automation before modifying the core script.

Developer Notes​

  • The script uses MutationObserver API to monitor changes in the DOM and act when the "Buy Now" button becomes available.
  • It also relies heavily on async/await syntax for handling the delays between different operations.
  • Please make sure to adjust the pageRefresh, forwardDelayBefore, forwardDelayAfter, and clickPlusDelay settings according to your network speed and NiceHash website's responsiveness. Higher values may be necessary to prevent self-reply from taking too much space.

Development​

This userscript is developed using JavaScript and it operates on the front-end. If you want to modify the script, you'll need to understand the structure of the web pages the script operates on and have familiarity with the following:

  1. JavaScript, especially the DOM API
  2. The Tampermonkey API
  3. The structure of the NiceHash website (since this script is designed to automate actions on that site)

Contributing​

Currently, we are not accepting contributions from outside developers. However, we may open up to contributions in the future. However, If you have ideas and would like to see certain features added feel free to leave a comment.

License​

This script is licensed under the MIT license. While this license allows you to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, this script is distributed under certain specific conditions:

  1. You must credit the original author (Preferred by Pete/Rumas) in any derivative works or publications.
  2. Access to the script requires a paid subscription, which can be purchased here.
  3. This license does not include support, maintenance, or consultancy services. These services can be provided at additional cost.
For more information on the specific terms and conditions of the license, please refer to the LICENSE file in the project repository.

Paid Subscription​

Access to the Gold & Silver Teams Autobot for NiceHash requires a paid subscription. By subscribing, you get access to the script and any updates released during your subscription period. The subscription does not include any support, maintenance, or consultancy services. These services can be availed at additional cost. To subscribe, please visit this link.

Support, Maintenance, and Consultancy​

Support, maintenance, and consultancy services related to the script are available but are not included in the subscription fee. These services are billed separately and require a separate agreement. Please contact us for more information.

Please note that by using this script, you agree to these terms.

Disclaimer​

This script is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

The use of automated scripts like this may violate the terms of service of the website you are interacting with. Please ensure that you are allowed to run such scripts on the platform you intend to use this script on. Also, this script might break if the structure of the website it operates on changes.
Author
Rumas
Downloads
2
Views
762
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Rumas

Back
Top