Post
Topic
Board Altcoin Discussion
Re: [XPM] [FASTER!] Mining PrimeCoin using DigitalOcean (VPS)
by
rethaw
on 21/07/2013, 06:21:50 UTC
hi ya i had no issues until this point hope you understand this snippet  Grin

root@PRESSEDHARD:~/primecoin/src# echo "rpcuser=******* rpcpassword=****************** gen=1"
rpcuser=******* rpcpassword=****************** gen=1
root@PRESSEDHARD:~/primecoin/src#
root@PRESSEDHARD:~/primecoin/src# > ~/.primecoin/primecoin.conf
root@PRESSEDHARD:~/primecoin/src# sudo mv primecoind /usr/local/bin/.
mv: cannot stat ΓÇÿprimecoindΓÇÖ: No such file or directory
root@PRESSEDHARD:~/primecoin/src# primecoind --daemon
primecoind: command not found
root@PRESSEDHARD:~/primecoin/src#
[/quote]


Something went wrong before this. Try pasting it line by line instead of all at once.

which one of these or how do you auto send to a wallet address as they are mined

Getting coins to another wallet:

There are a number of ways to do this:

After they've matured:

Code:

primecoind sendtoaddress yourhomeaddress amount


Before they've matured:

from vps: Is this digitalocean yes?

Code:

primecoind listtransactions # to find the receiving address I do this after?? long??
primecoind dumpprivkey $receiving_address where do i find "dumpprivkey"

from home: Huh

Code: Huh

primecoind importprivkey $privkey_from_vps Huh


I then remove the wallet.dat from the vps to get all new keys, though its not necessary.
thanks for the help sounds like fun so i just have to have a play and the best thing is i am learning something new.
thanks
noel


I'll try to make that section more clear.

When logged into the VPS enter:

Code:
primecoind listtransactions

If you have mined a block you will see something like:

Code:
    {
        "account" : "",
        "address" : "A***********",
        "category" : "immature",
        "amount" : 12.34000000,
        "confirmations" : 3,
        "generated" : true,
        "blockhash" : "hash",
        "blockindex" : 0,
        "blocktime" : timestamp,
        "txid" : "hash",
        "time" : timestamp,
        "timereceived" : timestamp
    }

Take the address from that output: "A***" and on the VPS enter:

Code:
primecoind dumpprivkey A***

The result of this is the private key used in the next step. "P*****"

Now from your main wallet:

Code:
primecoind importprivkey "P*****"

It will then show in the list of transactions for your main wallet. If you're satisfied the transfer went properly you may remove it by entering into the VPS:

Code:
primecoind stop
rm ~/.primecoind/wallet.dat
primecoind --daemon