I'm studying Lightning network and I use c-lightning.
I can Get a new address with newaddr
method, but I can't find private key.
My address is bcrt1qmckts70jsq2u5886lgcq2yn7xjmp97t09zlrg
, how can I retrieve it's public key?
Where Can I find it's private key?
$ bitcoin-cli validateaddress bcrt1qmckts70jsq2u5886lgcq2yn7xjmp97t09zlrgj │
{ │
"isvalid": true, │
"address": "bcrt1qmckts70jsq2u5886lgcq2yn7xjmp97t09zlrgj", │
"scriptPubKey": "0014de2cb879f28015ca1cfafa3005127e34b612f96f", │
"isscript": false, │
"iswitness": true, │
"witness_version": 0, │
"witness_program": "de2cb879f28015ca1cfafa3005127e34b612f96f" │
}