5

How do I know that remote-signer socket started is working expected and accepting signing requests from my baker server without actually sending a transfer transaction.

Right now I just do a transfer .00005 from <key1> to <key2> just to test if remote-signer setup is working.

Is there any other way like any transaction that require signing but don't require transfer of tz.

4

I just prefer to do this...it's a direct request to sign data without any possibility of forgetting to add the --dry-run flag.

tezos-client sign bytes 0x03 for <tz alias or tz address>

Here 0x03 is just any old random number. You could put any hex value here. If the remote signer is working you'll get back a message like:

Signature: sigPab0p1MdqojAaNTvASSvLo4ULEujfNFurF71EdoruABoPLLwmSxEDJf4NfQx8nJi3ncjfMEJbiWojTDXDUB8wNF5fgFIbA

| improve this answer | |
6

I figured out that you can use the --dry-run option in the transfer statement so that node will send transaction to remote-signer to sign, and you can check the remote-signer logs to see if everything is working fine or not.

--dry-run will not actually send the transaction to the network.

| improve this answer | |
  • 2
    Note that the --dry-run (or -D) options have to appear at the very end of the command.. a bit unusual. – nurikabe Feb 24 '19 at 20:42
1

Another option would be to use Kiln. Kiln monitors your baker and will notify you if you miss any baking or endorsement opportunities (which will indicate that the signer is down).

It can be found here.

| improve this answer | |
  • 1
    That is good for monitoring but i don't want to wait for my baking or endorsement operation to know if my setup is working or not, and then miss my baking/endorsement if the setup was not working. I want to know before my baking/endorsement operation. – Sachin Tomar Feb 25 '19 at 11:13
  • 2
    This does not answer the question in any way. OP asked how to test that signer is working and this software will not do so. – utdrmac Feb 25 '19 at 15:05
  • 1
    Not directly no, but indirectly 😝🤷‍♂️ Just trying to help. But seems like the --dry-run is a decent approach 👍 – asbjornenge Feb 25 '19 at 22:24

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.