How to get public key?


#1

how to do we really get the public key to add them in roster_testnet.csv ?
Can anyone give me more details regarding this. I was able to create an unsigned_certificates. After this step, I’m stuck. I dont know how to proceed.


#2

Hi Clara,
Reading the documentation of the cert-issuer repository could solve your issue (see the link https://github.com/blockchain-certificates/cert-issuer). I hope this will help you.


#3

Thank you Leonard for reply.

I’m so sorry to ask this again with you. Could you please more specify in the documentation, which part refers to public key retrieval ?

Thank you .


#4

If you read the part Create issuing address in the mentioned cert-issuer documentation, at the point 1, in the first row, of the bash code, you create a new wallet with the new address (the issuer public key) with the command bitcoin-cli getnewaddress. That public key is assigned to the bash variable issuer . In the second row you insert that public key in the conf.ini file. In the third row you dump the private key of the wallet in the file pk_issuer.txt.


#5

Thank you again leonard for your explanation.

So by just running the command in the first row, I should be able to getting a public key right ?

Thank you.