How to Build it - getdzypher/Tipping-Alice GitHub Wiki
Build
Installation was carried out on Ubuntu 18.04 + RAM 512
Updatable packages and installed distributions:
apt update && apt dist-upgrade Java installation:
apt install -y openjdk-8-jre openjdk-8-jdk && java -version Create a directory for bot "alicewallet", in the directory for the bot add a directory for storing keys Ethereum "ethereum/keystore":
mkdir -p /opt/alicewallet/ethereum/keystore In the directory for bot add the Json config file "/opt/alicewallet/config.json"
{"settings": {
"bot":{ "username": "telegram bot name", "token": "telegram bot token" }, "proxy":{ "active": false, "address": "0.0.0.0", "port": 0000, "type": "socks5" }, "wallet":{ "dir":"ethereum/keystore/", "password": "" }, "node":{ "url":"https://urlnode", "tokenaddress":"0x0" }
} } Next, install git and gradle for clone the repository and compile the bot
apt install -y git gradle In directory for bot add temporary directory "tmp/" for buil
mkdir -p /opt/alicewallet/tmp Clone the repository and run the build:
git clone https://github.com/getdzypher/Tipping-Alice.git /opt/alicewallet/tmp cd /opt/alicewallet/tmp && gradle build cp /opt/alicewallet/tmp/build/libs/alicewallet-1.0.jar /opt/alicewallet/alicewallet.jar rm -r /opt/alicewallet/tmp To run the bot, enter the following command:
java -jar /opt/alicewallet/alicewallet.jar