Last active
March 29, 2016 14:09
-
-
Save xCoreDev/9a89ec97c404347e707c to your computer and use it in GitHub Desktop.
Pretty JSON display for Vanillacoin RPC calls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check root or user | |
if (( EUID != 0 )); then | |
echo -e "\n- - - - - - - - - \n" | |
echo "You are not enough root for this !" | |
echo -e "\n- - - - - - - - - \n" | |
exit | |
fi | |
# Install dep | |
apt-get install jq -y && | |
# Download file, set perms, & move it to /usr/bin/ | |
cd ~ | |
wget https://raw.githubusercontent.com/whphhg/vanillacoind-rpc/master/rpc.sh && | |
chmod +x rpc.sh && mv rpc.sh /usr/bin/xvc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment