Post
Topic
Board Announcements (Altcoins)
Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency
by
PSL
on 10/07/2013, 10:16:43 UTC
Okay, can we get instruction on how to extract coin from our DigitalOcean droplet.  It has been so long since I have had to do console/coding like this Sad.

Sure. I do it this way:

  • ssh into remote instance
  • ./primecoind listtransactions –> copy the address mentioned in the output at "address"
  • ./primecoind dumpprivkey {{paste copied address here}} –> copy the private key returned
  • on your local computer holding the "master wallet" -> ./primecoind importprivkey {{paste copied private key here}}
  • now address holding the minted coins appears in your local wallet

No need to send coins over the blockchain this way, immature coins can be imported immediately.

Following command sequence (pipe separated) will prepare import commands. Run commands at slave node, import.sh file will be created. Run import.sh at master node to update your master wallet.

Code:
./primecoind listtransactions '*' 999999 |
awk '/"address"/{print "./primecoind dumpprivkey " substr($3,2,34);}' | sh |
awk '/^P/{print "./primecoind importprivkey ", $1;}' | sort | uniq |
tee import.sh