0

Installed nxt/ardor on my public server and would like to have it auto mine / stake with an account. How can this be done without having to login to the gui?

1

On your linux box you can type the following:

curl -d requestType=startForging -d secretPhrase="PASSPHRASE" http://localhost:7876/nxt

--

Without curl: wget -qO- 'http://localhost:7876/nxt?requestType=startForging&secretPhrase=sssecrrretPhPhPhphrrrassssse'

https://nxtwiki.org/wiki/The_Nxt_API#Start_.2F_Stop_.2F_Get_Forging

You can use startForging, stopForging or getForging in order to start forging with an account, stop forging, or check that an account is forging.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.