lightning community – Learn how to encode for LND `/v2/signer/verifymessage`? – CoinNewsTrend

lightning community – Learn how to encode for LND `/v2/signer/verifymessage`?


Speaking to only one node (child steps), I need to name /v2/signer/verifymessage giving the output of lncli signmessage "Howdy, Jessica". On the alice node on Polar, I get:

d9aa91ggo54ouho9axcw3itokb5u697tigi1r8o1kq4qkx87acduoz5f5wnxyts8dt8emhie9r3gnkxkwo5ogzo5xwsrfkhzpg5qnnmh

How do I encode this to ship over to /v2/signer/verifymessage? I am solely barely acquainted with low-level string manipulation. The api says to ship bytes, however what format (hoping this query is sensible)?

If it helps, I am comfy with Ruby, however I can in all probability determine it out if I see examples in JS or Python.



Supply hyperlink