#!/bin/bash

echo “Installing parity…” sudo add-apt-repository ppa:ethereum/ethereum -y sudo apt-get update sudo apt-get -y install dpkg sudo apt-get -y install libssl-dev curl -o /usr/bin/solc -fL github.com/ethereum/solidity/releases/download/v0.5.16/solc-static-linux \

&& chmod 775 /usr/bin/solc \
&& chown travis:travis /usr/bin/solc

echo “Solc version” solc –version

wget releases.parity.io/ethereum/v$PARITY/x86_64-unknown-linux-gnu/parity chmod u+x parity chown travis:travis parity

echo “Setuping parity…” mkdir -p ~/.local/share/io.parity.ethereum/keys/DevelopmentChain chown -R travis:travis ~/.local/share/io.parity.ethereum echo $devwallet > ~/.local/share/io.parity.ethereum/keys/DevelopmentChain/UTC–2017-03-31T14-19-47Z–c05e3b8b-18aa-ab4f-c5ec-09f555bf5357 echo $devpassword > ~/.devpass