CloakCoin provides a remote procedure call (RPC) interface for various administrative tasks, wallet operations, and queries about network and block chain data.
If you start CloakCoin using cloakcoind, the RPC interface is enabled by default.
You can control cloakcoind by JSON-RPC commands.
The program gets is settings from cloakcoin.conf in the CloakCoin application directory:
The interface requires the user to provide a password for authenticating RPC requests.
This password can be set in cloakcoin.conf, create the cloakcoin.conf configuration file and set an rpcuser and rpcpassword to secure the JSON-RPC API.
By default the service is bound to port 29662 you can change it in cloakcoin.conf with the:
A list of RPC calls will be shown.
If you are learning the API, it is a very good idea to use the test network.