Configure UltraNote RPC wallet
To configure RPC wallet you can use both command line and config file. Config file allows you to configure your settings only once and use “-–config” option further.
walletd provides multi-user wallets for services like exchages or online wallets. Natural way to use it in your application is JSON RPC. Popular programming laguages provide libraries for making RPC calls seamlessly, but in this document we are going to show only raw JSON RPC requests using a barebones HTTP client.
The command below launches UltraNote RPC Wallet with a specific config file:
walletd --config=/etc/paymentgate.conf
To get help on available options run:
walletd -h
Walletd common options:
Option | Description |
---|---|
|
Configuration file. |
|
Produce this help message and exit. |
|
Start with local node. (remote is default) |
|
Testnet mode. |
|
Specify data directory. |
|
Which address to bind UltraNote RPC Wallet to. Default value is 0.0.0.0 |
|
Which port to bind UltraNote RPC Wallet to. Default value is 8070 |
|
Username to use the payment service. If authorization is not required, you can leave it empty. |
|
Password to use the payment service. If authorization is not required, you can leave it empty. |
|
Container file. |
|
Container password. |
|
Generate a new container. |
|
Run as daemon in Unix or as a service in Windows. |
|
Register service and exit. (Windows Only). |
|
Unregister service and exit. (Windows Only). |
|
Log file |
|
Working directory that you wish to use for UltraNote RPC Wallet. Default is current working directory. |
|
Set log level. |
|
Print wallet address and exit. |
Remote node options:
Parameter | Description |
---|---|
|
UltraNote daemon address, You can set to localhost. |
|
UltraNote daemon port, You can use 8081. |
Local node options:
Parameter | Description |
---|---|
|
Interface for p2p network protocol, You can use 0.0.0.0. |
|
Port for p2p network protocol, You can use 30000. |
|
External port for p2p network protocol. Use 0 if port forwarding used with NAT. |
|
Allow local ip add to peer list, mostly in debug puposes. |
|
Manually add peer to local peer list. |
|
Specify list of peers to connect to and attempt to keep connection open. |
|
Specify list of peers to connect to only. |
|
Connect to a node to retrieve peer address and disconnect. |
|
Do not announce yourself as peerlist candidate. |