This guide will teach you how to interact with the spacecoin daemon.
It is assumed you have already have spacecoin running.
If it is not, you can:
-
Open a Terminal.
-
Navigate to the spacecoin/src directory:
cd spacecoin/src
-
Enter a command with
spacecoin-cli
:
-
To get info about Spacecoin:
./spacecoin-cli getinfo
-
To get a Spacecoin address:
./spacecoin-cli getnewaddress
-
To get a Spacecoin private address:
./spacecoin-cli z_getnewaddress
-
To enable staking:
./spacecoin-cli setgenerate true 0
To see all of the commands available use ./spacecoin-cli help
or visit the Spacecoin RPC Docs.