1

hope you all are doing great. I am looking for a way to encode and decode the cborHex. I've done the following:

cardano-cli text-view decode-cbor --in-file wallet.vkey --out-file tx.alonzo

and I get the hex binary format but not a utf8 (human readable) format, how can this be done?

for reference, I've followed this question How to decode cbor which is generated with cardano-cli build command?

1 Answer 1

1

I use python cbor2 library or https://cbor.me. In the case of a wallet vkey, it's just a hex value that it'll decode as. Something like a transaction will have more data types embedded in the CBOR.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.