-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPieCoindCommandGuide.txt
105 lines (95 loc) · 3.36 KB
/
PieCoindCommandGuide.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Realize that before all of these commands its PieCoind...
- an example for command 1. would look like:
PieCoind --daemon
1. --daemon
* This is how you "start your wallet"
* Your wallet needs to be started in order to run PieCoind commands..
* After running this (current version) you will need to ctrl + c to get out of its
2. stop
* This will stop your wallet
3. getinfo
* Returns
"version" : "v1.0.0.1-g32a928e",
"protocolversion" : 99001,
"walletversion" : 60000,
"balance" : <your balance>,
"newmint" : 0.00000000,
"stake" : 0.00000000,
"blocks" : 359769,
"timeoffset" : 0,
"moneysupply" : 432255006.25448018,
"connections" : 123,
"proxy" : "",
"ip" : "<your ip>",
"difficulty" : {
"proof-of-work" : 0.00024414,
"proof-of-stake" : 1672535.68025897
},
"testnet" : false,
"keypoololdest" : 1502665337,
"keypoolsize" : 101,
"paytxfee" : 0.00010000,
"mininput" : 0.00000000,
"errors" : ""
* Main thing you should pay attention to with this command is...
* wallet version
- make sure its up to date
* balance
- your piecoin count on that server
* If you dont get back something that looks like this its most likely because you dont have daemon
running.
4.getstakinginfo
* Returns
"enabled" : true,
"staking" : true,
"errors" : "",
"currentblocksize" : 1000,
"currentblocktx" : 0,
"pooledtx" : 0,
"difficulty" : 1438092.22741191,
"search-interval" : 16,
"weight" : <weight based on your balance>,
"netstakeweight" : 2738201970991311,
"expectedtime" : 311717
* Main thing you should pay attention to with this command is...
* enabled
- lets you know if your wallet is enabled.. if your able to use the command then it is most likely enabled..
* staking
- after the wallet has been on for <staking period> and has a positive balance staking will be true
- if staking is false you either have a 0 balance or the coins arent mature yet
5.getaccountaddress 0
* Returns
- this is how you get your wallet address
- when doing your first deposit you should try a test amount first
6.sendtoaddress <address> <amt>
* Returns
- a transaction id
* you will need to swap out the <address> tag with your "to" address
* you will need to swap out the <amt> tag with the amount you wish to sendtoaddress
- sometimes there is a transfer fee of like .0001 or something.. youll have to manually
account for that.. aka "math"
* full ex:
- this example will send 666.069 Pie to H324hakr948j11l4j1
PieCoind sendtoaddress H324hakr948j11l4j1 666.069
7.listtransactions
* Returns
"account" : "0",
"address" : "PMY4p9RrcomWQuUNcEmJqkvWLm1GBMuwdR",
"category" : "immature",
"amount" : 7.86945604,
"confirmations" : 10,
"generated" : true,
"blockhash" : "54dee5a30e91ec977cebbbaa2e8d61093d3d1f6c2a00d82e9214b7df44176dee",
"blockindex" : 1,
"blocktime" : 1503977616,
"txid" : "725e1e9ef3fc249b32742c292c357b530f7406fb18abae6196fa54e066c6c4b3",
"time" : 1503977616,
"timereceived" : 1503977616
* Main thing you should pay attention to with this command is...
- category
* recieved means that someone sent you piecoin
* generated means that it was generated eitehr via MN or staking
* immature means??.. idk yet :) that it was generated early?
8.help
* Returns
- a list of every PieCoind command