馃攳
Up and Running with Peercoin - 13 Proof of Stake Minting - YouTube
Channel: unknown
[1]
So one of the things I like about
[3]
Peercoin, is that you
can actually earn
[7]
coins just by holding them,
and that's called
[11]
proof-of-stake minting. So to learn a
bit more about that and how to set it up
[17]
you can google.. Peercoin
proof-of-stake setup guide..
[20]
And that should return.. the first entry
is this entry here which is on the
[24]
peercointalk.org, which is
a forum regarding Peercoin
[30]
subject and matters and
that will then refer you to this
[34]
thread here.. PPCoin Proof of Stake
Minting Setup Guide.. which
[41]
shows you how to setup your
[42]
local software client wallet
in order to be able to mint.
[47]
At the moment, if you have your
[51]
software client open, you'll see that
[54]
because we've locked our wallet
and encrypted it with a password,
[59]
we've got the lock here on the bottom
right and it says wallet is encrypted
[62]
and currently locked and that's what we
did in an earlier video.
[66]
On the bottom left-hand
corner you can see that it says..
[69]
Info: Minting suspended due to locked
wallet.. And this basically is an issue where
[75]
due to us having a locked wallet,
we can't mint at the same time.
So to get over that,
[80]
and to set up this software
to be able to mint,
[83]
which you might well want to
do, you can go through this guide.
[87]
Basically, the first part of this guide is..
[90]
we'll need to close this down.. so
[94]
let's close that client down..
So we need to create
[98]
a file.. it says here.. step 2..
[101]
in our AppData folder..
and create a file called..
[106]
ppcoin.conf.. So I'm going to
go to that location on my computer
[110]
and here it is.. my user.. AppData..
[113]
Roaming.. PPCoin.. and it's
the same location as the wallet.dat
[119]
that I discussed earlier.
[121]
So in here, I'm going
to create a new text file,
[124]
following those instructions, called
[128]
ppcoin.conf and get
rid of the txt extension.
[134]
Am I sure..
[136]
I want to change the extension? Yes. And then
[140]
to edit it, I'm going to click on that and.. open..
[143]
And then, as there's no program that's
[147]
defaulted to open .conf
files, I'm going to select
[151]
just notepad. Any text
editor will do to
[155]
to be able to put this in.
[159]
And then it's just about
copying this section here
[162]
from the forum, copying
that and putting it in
[166]
this file. So the only
thing we need to change
[170]
is.. there's a bit here it says.. rpcuser..
and we need to provide a user..
[174]
and rpcpassword.. and you
need to provide a password..
[177]
So for the user and the password
[181]
it's suggested that you
don't use your actual user..
[184]
sorry, your actual password from
[188]
your wallet password. So don't use that.
[191]
So for here, I'm just
going to put for user..
[195]
roots.. and for password..
[198]
I don't know, concretejungle..
[202]
Save that. OK. So that's
the first bit that we have to
[207]
do to be able to get
that up and running.
[211]
The second bit is.. it says
here that wherever the
[215]
ppcoin-qt.exe is,
[219]
we need to create another file called
[222]
mint.bat.. mint.bat.. And in it we need to
[226]
paste these instructions here.
[229]
So it's going to be within
the daemon folder.
[233]
So that's going to be here. This is
the location of ppcoin executable..
[240]
.exe for executable.. And that's in Program Files,
on my computer anyway it's on Program Files..
[245]
PPCoin.. and there it is.
And there's that daemon file..
[249]
folder, sorry.. Where it says to create the
[253]
mint.bat file. And what a
bat file is, it's short..
[257]
bat is short for batch
and it's basically a file which
[261]
will execute a load of commands
on your computer and these are the commands.
[266]
What it actually will do is
[269]
it will echo for you
to enter a password.
[273]
Then it will set your password
and then use that password
[277]
with this program here, called
ppcoind which stands for PPCoin daemon.
[283]
You don't really need to know that
but just to let you know what's happening..
[285]
It's that program that's
[286]
inside the daemon folder. So
it's going to excecute that with some
[290]
parameters. But don't worry about that.
All we need to do is create this file.
[294]
So inside this daemon folder..
[298]
I'm going to go to new..
text document..
[301]
mint.bat.. get rid of this..
[304]
txt again. And, yes, I don't
mind the extension.
[309]
Now, don't open this file or
double-click on it because that will
[313]
try and run it as an executable. Instead,
we're going to try and run it as..
[316]
edit it.. so go to edit.. with a text editor.
[320]
Any text editor again. And
then I'm going to copy that bit
[323]
from here.. copy..
[327]
paste it in here.. save that..
[330]
And then close.. OK, so basically
all the steps are done now. We've got the..
[336]
inside the AppData\Roaming..
We've got the ppcoin.conf.
[341]
And inside the daemon folder,
inside the
[344]
PPCoin folder, we've got this
mint.bat, just copied from there.
[348]
So the next stage is
to run the actual
[352]
client again..
[360]
And so that's now opened up. You
can see in the bottom right-hand corner
[364]
it's got the lock because the wallet
is encrypted and currently locked
[367]
And again, you've got that..
Minting suspended due to locked wallet..
[371]
We can't mint
[372]
and make coins
[375]
just by holding them.
[378]
And now, we can go to the mint.bat
[383]
that we created and
just double-click it.
[388]
That should open up a
command prompt in Windows.
[392]
And then you put in
the password for your
[395]
wallet.
[400]
So in here.. my password..
[404]
for the wallet. Not the password we
entered in that conf file but just your
[407]
actual wallet password.
[409]
Press enter.. That should then just go away.
[412]
And in your client, just watch
this left-hand bottom corner.
[416]
That should, after a while, once
the daemon is up and running.. and
[420]
it should go away. And there
you go, it's gone away. So now
[423]
it's minting. It does mean that your
[427]
wallet isn't password protected.. I
believe.. as far as I understand it's not
[431]
password protected whilst you're minting.
So you might not want to have it
[434]
like this all the time.
[435]
And from generally reading around, I
was trying to work out how much you could
[440]
possibly make
[441]
and how long you'd
need to have it running
[444]
and I couldn't really find out. I imagine,
especially for a small amount of
[448]
coins like I've got, it would
be really small amounts
[451]
but for larger amounts of
[454]
coins, if you're holding larger
amounts, it might be a good amount.
[458]
And I found out also that people are
suggesting that every 30 days
or every 90 days
[463]
open up your client, run it as
minting, for like.. overnight.
[467]
And then hopefully that
should make you some
[470]
coins and that should then
come up in this stake bit there..
[475]
your proof-of-stake minting.. So
that's how you do it. The
[479]
ppcoind daemon, which you've
[482]
basically called up by running this..
[486]
double-clicking on this mint.bat file.
If you know anything about commands..
[490]
command line, there's some
other things that it can do as well.
[493]
So to show you that, you can
just open up a command prompt
[498]
by going into.. start..
and command prompt..
[501]
cmd.. typing that in..
clicking on that..
[504]
open it up.. Now to run this ppcoind
program you need to, obviously,
[510]
navigate into that directory
[513]
So you do that by doing cd, for
change directory, and then it's in
[517]
C:\Program Files
[523]
(x86). Obviously it might
be in a different folder
[527]
on your computer.. PPCoin..
and then
[530]
daemon.
[533]
OK I'm just going to do dir, to
list what files are in there, to check.
[537]
So it shows you that in there
there's the mint.bat file and this is the
[541]
file we're going to call up. And
there's 2 useful things that it can do.
[546]
You can call ppcoind
[550]
and then put in.. getmininginfo..
[555]
And that will give you
something about the mining
[558]
that you can do.. I don't really understand
it, but it might be useful to you.
[561]
And the other thing is ppcoind
[565]
getinfo.. so just getinfo..
ppcoind getinfo..
[571]
And this will show you things
like the version of the client,
[574]
the wallet version, the balance of your
[578]
wallet, how much stake,
[581]
blocks.. Stuff like that.
So that might be useful. And
the last thing that it can also do
[585]
is if you want to close the client
[589]
from the command prompt,
you can also do..
[591]
ppcoind stop.. And that
will close everything down.
[597]
So those last commands from
the command prompt, you don't need
[600]
to do the proof-of-stake minting. I
just showed those in case you wanted
[604]
extra information from those.
[605]
But the important thing
is to create the conf file
[609]
inside the AppData folder..
So, that one there..
[612]
And copy in the information
from the forum. And the
[616]
second thing is to create
that mint.bat file
[619]
with a text editor, copy the bit from
the forum and then double-click it once
[623]
your client is running.
[624]
And then it should get rid of that
message saying that you can't mint
[628]
and it should mint for you.
And then, like I said, run it every
[631]
30 or 90 or something days..
I think you need to
[634]
at least have 30 day's
worth of holding your coins.
[638]
So hopefully that's a bit useful
to let you know how to
[641]
mint with Peercoin.
Most Recent Videos:
You can go back to the homepage right here: Homepage





