RPCP=$(date +%s | sha256sum | base64 | head -c 32 ;)
export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get -y upgrade && apt-get -y install libwww-perl build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils libdb++-dev libboost-all-dev qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools libminiupnpc-dev libqrencode-dev unzip && mkdir ~/.neutron && wget https://github.com/neutroncoin/neutron/archive/v1.1.2.zip && unzip v1.1.2.zip && cd ./neutron-1.1.2/src && make -f makefile.unix USE_UPNP=- && strip ./neutrond && mv ./neutrond  /usr/local/bin/ && cd /root/ && echo -e "rpcuser=neutronuser\nrpcpassword=$RPCP\nrpcallowip=127.0.0.1\nport=32001\nserver=1\nlisten=1\ndaemon=1\nmasternode=1\nmasternodeaddr=$1:32001\nmasternodeprivkey=$1\nstaking=0" > ~/.neutron/neutron.conf && echo "@reboot root /usr/local/bin/neutrond " >> /etc/crontab && neutrond stop && cd ~/.neutron && wget http://108.61.216.160/cryptochainer.chains/chains/Neutron_blockchain.zip && mv Neutron_blockchain.zip ~/.neutron && unzip Neutron_blockchain.zip && reboot
