Skip to content

Instantly share code, notes, and snippets.

@tiotdev
Created October 17, 2020 09:26
Show Gist options
  • Save tiotdev/dfefb451d33ff342b8727a3d982a18da to your computer and use it in GitHub Desktop.
Save tiotdev/dfefb451d33ff342b8727a3d982a18da to your computer and use it in GitHub Desktop.
sudo apt update && sudo apt upgrade -y && sudo apt-get install git cmake build-essential libssl-dev screen curl -y && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash && source ~/.bashrc && nvm install node
screen -S koinos
git clone https://github.com/open-orchard/koinos-miner.git && cd koinos-miner && npm i --unsafe-perm
node app.js -a publickeyofyourreceivingwallet
(this creates a new funding wallet. type anything for seed, choose a pw, confirm the pw, type koinoskey)
cat koinoskey
(to view the encrypted key and save it (for example copy it to your password manager) to backup your funding wallet (you also need the pw from the previous step to encrypt it so be sure to save that as well))
node app.js -a publickeyofyourreceivingwallet -k koinoskey
(Copy the decrypted ethereum address and send some eth to it for gas)
(Close the ssh session, but don't close the script - it will stay open thanks to screen)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment