Pauan / SaltyBetBot

Bot which automatically bets on saltybet.com
40 stars 12 forks source link

FAQ

How to use

Disclaimer: I accept no responsibility if you lose salt from running this bot.

Before you install this extension, make sure that you have Git installed.

  1. In a console, do git clone https://github.com/Pauan/SaltyBetBot.git SaltyBetBot-master

  2. In Chrome, go to the chrome://extensions/ URL.

  3. Make sure that "Developer mode" is turned on (it's in the upper-right corner).

  4. Click on the "Load unpacked" button, then go into the SaltyBetBot-master folder which you created in step 1, then select the static folder and click OK.

  5. If everything was done correctly, the extension should now be loaded in Chrome, congratulations!

  6. You can now go to saltybet.com and it will start to bet automatically.

How to upgrade

  1. Make sure that all of the SaltyBet tabs are closed.

  2. Click on the square "S" button in the upper-right corner, and then Export your match records (just in case something goes wrong with the upgrade process).

  3. In a console, go into the SaltyBetBot-master folder and then do git pull.

  4. In Chrome, go to the chrome://extensions/ URL.

  5. Find "Salty Bet Bot" in the extensions list, and then click the reload button (it looks like a circular arrow).

  6. Re-open the saltybet.com website.

How to build (for programmers only)

You will need to install Rust, Node.js, and Yarn.

If you are on Windows, then you also need to install the Visual Studio build tools (make sure to enable the "C++ build tools" option).

Then run these commands to setup things:

rustup install nightly
rustup override set nightly
yarn

You only need to run the above commands one time.

Now you can run this command to build the project:

yarn build

You need to re-run the above command whenever you make any changes.

Lastly, you can load the static folder into Chrome as usual.

Whenever you rebuild you need to reload the extension in Chrome (using the circular arrow).