Skip to content

Instantly share code, notes, and snippets.

@ader1990
Last active August 2, 2021 10:12
Show Gist options
  • Save ader1990/89c70957182cf7f4055179a746202ffb to your computer and use it in GitHub Desktop.
Save ader1990/89c70957182cf7f4055179a746202ffb to your computer and use it in GitHub Desktop.
Install webdollar on android
# How to install and run WebDollar on Android Linux console
# Requires Android 9
# Install termux from
# https://play.google.com/store/apps/details?id=com.termux&hl=en_US
# Install AnLinux
# https://play.google.com/store/apps/details?id=exa.lnx.a
# Follow the instructions from AnLinux for Ubuntu installation from AnLinux
# Or open Termux and run
pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh && bash ubuntu.sh
./start-ubuntu.sh
# After you ran ./start-ubuntu.sh, an Ubuntu terminal will show up
# Then you can proceed to install WebDollar with the usual Ubuntu workflow presented bellow
apt install -y build-essential git wget curl
# install nvm
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh
bash install_nvm.sh
source ~/.profile
# install nodejs
nvm install v8.12.0
# hack to use the latest lts
nvm install v8.12.0
git clone https://github.com/WebDollar/Node-WebDollar.git
cd Node-WebDollar
npm install
mkdir blockchainDB3
cd blockchainDB3
wget https://webdftp.vpnromania.ro/ftp/blockchainDB3.tar.gz
tar -xzvf blockchainDB3.tar.gz
cd ..
# change global consts CPU_MAX to -100 to only mine PoS
# it DOES NOT MAKE SENSE TO MINE PoW on a phone
npm run commands
# press 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment