Skip to content

Instantly share code, notes, and snippets.

@GuusSeldenthuis
Last active May 21, 2018 13:08
Show Gist options
  • Select an option

  • Save GuusSeldenthuis/e785ee50550ef3d10dd7336e9053aa0e to your computer and use it in GitHub Desktop.

Select an option

Save GuusSeldenthuis/e785ee50550ef3d10dd7336e9053aa0e to your computer and use it in GitHub Desktop.
Setup ubuntu 16.04 Wispr node
#!/bin/bash
echo '## Updating and installing packages.';
sudo apt update && sudo apt upgrade -y;
sudo apt install git libqrencode-dev libssl-dev libdb++-dev libminiupnpc-dev build-essential libboost-all-dev -y;
echo '## Increasing swap size.';
sudo swapoff -a && sudo dd if=/dev/zero of=/swapfile bs=1M count=1024 && sudo mkswap /swapfile && sudo swapon /swapfile;
echo '## Downloading & building Wispr wallet.';
git clone https://github.com/WisprProject/core.git;
cd core/src;
make -f makefile.unix;
echo '## Configuring wallet.';
mkdir ~/.wispr && cd ~/.wispr && wget https://gist.githubusercontent.com/GuusSeldenthuis/167f0721ad3826e1feae631aec558fd3/raw/c394c488e2d17fbd277932c30d9a765ad718baf2/wispr.conf;
echo "rpcusername="$(openssl rand -base64 32) >> wispr.conf;
echo "rpcpassword="$(openssl rand -base64 32) >> wispr.conf;
echo '## Adding additional nodes.';
wget https://wispr.tech/nodes -O - >> wispr.conf;
echo '## Lauching wallet.'
~/core/src/wisprd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment