While searching for a splinterlands bot I stumbled across the following github repository:
https://github.com/alfficcadenti/splinterlands-bot
The author of the project @a1492dc or @splinterlava has graciously made his project open source and thus created the possibility for all of us to let the computer do some of the DEC farming work for us.
Here is a little documentation on how you can get this bot running locally too.
Auf der Suche nach einen Bot für Splinterlands bin ich über folgendes Github Repository gestolpert:
https://github.com/alfficcadenti/splinterlands-bot
Der Author des Projekts @a1492dc bzw. @splinterlava hat uns sein Projekt in Form von open source software zur Vergügung gestellt und somit für uns alle die Möglichkeit geschaffen, den Computer ein wenig für uns arbeiten zu lassen.
Es folgt eine kleine Dokumentation wie auch ihr diesen Bot lokal auf euren Computer zum laufen bringen könnt.
Navigate to the terminal and execute the following command:
git clone https://github.com/alfficcadenti/splinterlands-bot.git
Navigiere in das Terminal und führe folgenden Befehl aus:
git clone https://github.com/alfficcadenti/splinterlands-bot.git
cd splinterlands-bot/
npm install
cd splinterlands-bot/
npm install
vim .env-example
to open the configuration file. Change the values of account and password.
Execute
mv .env-example .env
to rename the file to .env
vim .env-example
mv .env-example .env
execute the following command:
node main.js
führe folgenden Befehl aus:
node main.js
Hint: Hit ctrl + c to stop the bot.
To start the bot automatically at system startup, the following steps are necessary
cd /etc/systemd/system
vim splinterlands.service
inform the system about the new service
systemctl daemon-reload
start the new service
systemctl start splinterland.service
read the logs of the service
journalctl -u splinterland.service -f
to start the service after boot
systemctl enable splinterland.service
Um den Bot beim Systemstart automatisch mit zu starten, sind ein paar Handgriffe notwendig
cd /etc/systemd/system
vim splinterlands.service
über den neuen Service informieren
systemctl daemon-reload
den Service starten
systemctl start splinterland.service
die logs des Services ansehen
journalctl -u splinterland.service -f
beim booten mitstarten
systemctl enable splinterland.service