I'm using sotez, but I don't know how to convert edsk
to edesk
like tezos-client.
var mnemonic = crypto.generateMnemonic();
crypto.generateKeys(mnemonic, pass).then(function (data) { /* data.sk prefix is edsk, not edesk */ }
Any solutions?
Tezos Stack Exchange is a question and answer site for users, experts, and developers of the Tezos blockchain project. It only takes a minute to sign up.
Sign up to join this communityI'm using sotez, but I don't know how to convert edsk
to edesk
like tezos-client.
var mnemonic = crypto.generateMnemonic();
crypto.generateKeys(mnemonic, pass).then(function (data) { /* data.sk prefix is edsk, not edesk */ }
Any solutions?
You can do this with [email protected]. There is a new method cryptoUtils.encryptSecretKey(secretKey, password)
which encrypts secret keys into the 'esk' format.
https://github.com/AndrewKishino/sotez/wiki/Documentation#encryptsecretkey
edsk
.gen key
.edesk
keys are encrypted, password-protected,edsk
keys. With tezos-client, edsk is generated bygen keys
. To generate edsk, dogen keys --encrypted
. Unfortunately, I don't know how to do this with sotez. Try posting an issue on their github page: github.com/AndrewKishino/sotez/issues