Difference between revisions of "Walletd"

From ParsiCoin (PARS)
Jump to navigation Jump to search
(walletd page created)
 
(walletd commands added)
Line 1: Line 1:
 
ParsiCoin RPC Wallet is a HTTP server which provides JSON 2.0 RPC interface for ParsiCoin payment operations and address management. ParsiCoin RPC Wallet allows you to accept incoming payments, generate an address for each user via ParsiCoin RPC Wallet JSON RPC API and much more.
 
ParsiCoin RPC Wallet is a HTTP server which provides JSON 2.0 RPC interface for ParsiCoin payment operations and address management. ParsiCoin RPC Wallet allows you to accept incoming payments, generate an address for each user via ParsiCoin RPC Wallet JSON RPC API and much more.
 +
 +
== Commands == <!--T:1-->
 +
 +
<!--T:2-->
 +
<b>Common Options :</b><br>
 +
<code>-c</code> [ --config ] arg  =  configuration file<br>
 +
<code>-h</code> [ --help ]  =    produce this help message and exit<br>
 +
<code>--local</code>  =  start with local node (remote is default)<br>
 +
<code>--testnet</code>  =  testnet mode<br>
 +
<code>--version</code>  =  Output version information<br>
 +
<code>--data-dir</code> (=C:\Users\username\AppData\Roaming/parsicoin)  =  Specify data directory<br>
 +
<code>--bind-address</code> (=127.0.0.1)  =  payment service bind address<br>
 +
<code>--bind-port</code> (=8070)  =  payment service bind port<br>
 +
<code>--rpc-user</code>    =  Username to use with the RPC server. If empty, no server authorization will be done<br>
 +
<code>--rpc-password</code>    =    Password to use with the RPC server. If empty, no server authorization will be done<br>
 +
<code>-w</code> [ --container-file ] arg  =    container file<br>
 +
<code>-p</code> [ --container-password ] arg  =  container password<br>
 +
<code>-g</code> [ --generate-container ]  =  generate new container file with one wallet and exit<br>
 +
<code>-d</code> [ --daemon ]  =  run as daemon in Unix or as service in Windows<br>
 +
<code>--register-service</code>    =  register service and exit (Windows only)<br>
 +
<code>--unregister-service</code>    =  unregister service and exit (Windows only)<br>
 +
<code>-l</code> [ --log-file ] arg  =  log file<br>
 +
<code>--server-root</code>  =  server root. The service will use it as working directory. Don't set it if don't want to change it<br>
 +
<code>--log-level</code>  =  log level<br>
 +
<code>--address</code>  =    print wallet addresses and exit<br><br>
 +
<b>Remote Node Options :</b><br>
 +
<code>--daemon-address</code> (=localhost)  =  daemon address<br>
 +
<code>--daemon-port</code> (=18240)  =  daemon port<br><br>
 +
<b>Local Node Options :</b><br>
 +
<code>--p2p-bind-ip</code> (=0.0.0.0)  =  Interface for p2p network protocol<br>
 +
<code>--p2p-bind-port</code> (=17240)  =  Port for p2p network protocol<br>
 +
<code>--p2p-external-port</code> (=0)  =  External port for p2p network protocol (if port forwarding used with NAT)<br>
 +
<code>--allow-local-ip</code>    =  Allow local ip add to peer list, mostly in debug purposes<br>
 +
<code>--add-peer</code>    =    Manually add peer to local peerlist<br>
 +
<code>--add-priority-node</code>  =  Specify list of peers to connect to and attempt to keep the connection open<br>
 +
<code>--add-exclusive-node</code>  =  Specify list of peers to connect to only. If this option is given the options add-priority-node and seed-node are ignored<br>
 +
<code>--seed-node</code>  =  Connect to a node to retrieve peer addresses, and disconnect<br>
 +
<code>--hide-my-port</code>  =  Do not announce yourself as peerlist candidate<br>
 +
 +
== RPC API == <!--T:3-->
 +
 +
<!--T:4-->
 +
 +
 +
== Compile == <!--T:5-->
 +
 +
<!--T:6-->
 +
ParsiCoin is a OpenSource Project, You can Access it's Source Code, it's available on Github.<br>
 +
Check Following Guides to build ParsiCoin and ParsiPay:<br>
 +
https://github.com/parsicoin/parsicoin <br>
 +
https://github.com/parsicoin/parsipay <br>

Revision as of 21:30, 20 July 2019

ParsiCoin RPC Wallet is a HTTP server which provides JSON 2.0 RPC interface for ParsiCoin payment operations and address management. ParsiCoin RPC Wallet allows you to accept incoming payments, generate an address for each user via ParsiCoin RPC Wallet JSON RPC API and much more.

Commands

Common Options :
-c [ --config ] arg = configuration file
-h [ --help ] = produce this help message and exit
--local = start with local node (remote is default)
--testnet = testnet mode
--version = Output version information
--data-dir (=C:\Users\username\AppData\Roaming/parsicoin) = Specify data directory
--bind-address (=127.0.0.1) = payment service bind address
--bind-port (=8070) = payment service bind port
--rpc-user = Username to use with the RPC server. If empty, no server authorization will be done
--rpc-password = Password to use with the RPC server. If empty, no server authorization will be done
-w [ --container-file ] arg = container file
-p [ --container-password ] arg = container password
-g [ --generate-container ] = generate new container file with one wallet and exit
-d [ --daemon ] = run as daemon in Unix or as service in Windows
--register-service = register service and exit (Windows only)
--unregister-service = unregister service and exit (Windows only)
-l [ --log-file ] arg = log file
--server-root = server root. The service will use it as working directory. Don't set it if don't want to change it
--log-level = log level
--address = print wallet addresses and exit

Remote Node Options :
--daemon-address (=localhost) = daemon address
--daemon-port (=18240) = daemon port

Local Node Options :
--p2p-bind-ip (=0.0.0.0) = Interface for p2p network protocol
--p2p-bind-port (=17240) = Port for p2p network protocol
--p2p-external-port (=0) = External port for p2p network protocol (if port forwarding used with NAT)
--allow-local-ip = Allow local ip add to peer list, mostly in debug purposes
--add-peer = Manually add peer to local peerlist
--add-priority-node = Specify list of peers to connect to and attempt to keep the connection open
--add-exclusive-node = Specify list of peers to connect to only. If this option is given the options add-priority-node and seed-node are ignored
--seed-node = Connect to a node to retrieve peer addresses, and disconnect
--hide-my-port = Do not announce yourself as peerlist candidate

RPC API

Compile

ParsiCoin is a OpenSource Project, You can Access it's Source Code, it's available on Github.
Check Following Guides to build ParsiCoin and ParsiPay:
https://github.com/parsicoin/parsicoin
https://github.com/parsicoin/parsipay