How to start mining through Tkeycoin Daemon?

Avatar

By Support Agent Tkeycoin

updated 7 months ago

Launch of automining in Tkeycoin Daemon

Tkeycoin Daemon runs as a service in the background and is controlled by special commands from the console.

The main commands for mining in Tkeycoin Daemon

Run Tkeycoin Daemon:

tkeycoind start

Start mining:

tkeycoin-cli automining start YOUR_ADDRESS

Stop mining:

tkeycoin-cli automining stop

Check mining status:

tkeycoin-cli automining status

Generate tkeycoin address:

tkeycoin-cli getnewaddress

How to start mining

Automining is started with a few commands in the console.

1. Start the terminal, then enter the following commands:

tkeycoind start
tkeycoin-cli automining start YOUR_ADDRESS

where, YOUR_ADDRESS is your public address to which you will receive a reward for mining.

Example:

tkeycoin-cli automining start qd9at9LLCpcUpBBHyge8uqJBXLrR9xTC9P

Stop mining

To stop mining in the terminal, run the following command:

tkeycoin-cli automining stop

Check mining status

At any time, you can check the status of mining using a special command:

tkeycoin-cli automining status

In response, the server will return information about mining: start or stop time, wallet address, how many blocks were found, as well as the average mining speed.

Note:

1. When the server is stopped, the running mining will be interrupted, after the server is started, it will need to be started independently.

2. After starting the server, mining may not start until the server downloads the necessary data from the database and new blocks from the network.

Examples:

> tkeycoin-cli automining status
{
"status": "wasn't run"
}
> tkeycoin-cli automining start qd9at9LLCpcUpBBHyge8uqJBXLrR9xTC9P

Start successfuly

> tkeycoin-cli automining status
{
"status": "is running",
"address": "qd9at9LLCpcUpBBHyge8uqJBXLrR9xTC9P",
"startAt": 1565883094,
"speed": 2933561,
"mined": 0
}
> tkeycoin-cli automining stop
Stop successfuly
> tkeycoin-cli automining status
{
"status": "stopped",
"address": "qd9at9LLCpcUpBBHyge8uqJBXLrR9xTC9P",
"stopAt": 1565883873,
"speed": 2934329,
"mined": 0
}

List of commands for Tkeycoin Daemon

How to launch tkeycoin autominer?

What equipment can be used for mining TKEY?

Can I mine on multiple devices?

Tkeycoin mining recommendations

Did this answer your question?