help, what I'm doing wrong?
You have to run your wallet and sync before running that command. Still if you have rpc port error, create a conf file with rpc port and other info. You can find the info in previous pages.
honestly for the first time run Masternodes
1 I did
2-
3-bat file
:loop
straks-cli.exe generatetoaddress 1 SPXK5wEbSTN666QUQecJYpV8KKW2ihTTYY
goto loop
Below is the order you have to follow:
1 --set up config file. The one you proveded looks good.
2 -Start wallet (qt or stracksd) and wait for sometime to sync
3-- Run the bat file.
The above steps working fine for me.