Created
July 12, 2013 19:19
-
-
Save anonymous/5987007 to your computer and use it in GitHub Desktop.
Lists useful information when mining primecoin / perhaps other crypto currencies (based on bitcoin)
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/sh | |
# | |
# PR should point to your primecoind binary. | |
# | |
# after creating a file, chmod +x it to make it executable, then you can do | |
# watch /path/to/miningstats.sh | |
# | |
# You're welcome to tip @ AZnDfmyFUY4mjScZGuDq6yQNnUuDju1EvS :> | |
# | |
PR=/usr/local/bin/primecoind | |
echo "[+] Your balance is: `$PR getbalance`" | |
echo "[+] Recent transactions are (amount / state) " | |
$PR listtransactions | tr '",' ' '| awk '/category/ { X=$3 } /amount/ { print $3 " - " X }' | |
echo "[+] You're currently mining at `$PR getprimespersec` pps" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment