1

Edpk from a edsk, programmatically?

1 Answer 1

0

I believe you can use pytezos and namely this method

@classmethod
def from_key(cls, key, passphrase=''):
    """
    Creates a key object from a base58 encoded key.
    :param key: a public or secret key in base58 encoding
    :param passphrase: the passphrase used if the key provided is an encrypted private key
    """
2
  • 1
    Actually what I needed exactly was in function "from_secret_key" of the same file in PyTezos. The line below will let me reproduce it in Java: Aug 8, 2019 at 12:50
  • 1
    public_key = pysodium.crypto_sign_sk_to_pk(sk=secret_key) Aug 8, 2019 at 12:51

Your Answer

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

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