You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling hethers.Wallet.createRandom() with node v17
Error:
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at createHash (node:crypto:135:10)
at ripemd160 (/home/nikolay/Desktop/zqzqzq/hedera-local-node/node_modules/@hethers/hdnode/node_modules/@ethersproject/sha2/lib/sha2.js:11:43)
at new HDNode (/home/nikolay/Desktop/zqzqzq/hedera-local-node/node_modules/@hethers/hdnode/lib/index.js:78:110)
at Function.HDNode._fromSeed (/home/nikolay/Desktop/zqzqzq/hedera-local-node/node_modules/@hethers/hdnode/lib/index.js:214:16)
at Function.HDNode.fromMnemonic (/home/nikolay/Desktop/zqzqzq/hedera-local-node/node_modules/@hethers/hdnode/lib/index.js:221:23)
at Function.Wallet.fromMnemonic (/home/nikolay/Desktop/zqzqzq/hedera-local-node/node_modules/@hethers/wallet/lib/index.js:314:43)
at Function.Wallet.createRandom (/home/nikolay/Desktop/zqzqzq/hedera-local-node/node_modules/@hethers/wallet/lib/index.js:278:23)
at Function.generateAccounts (/home/nikolay/Desktop/zqzqzq/hedera-local-node/src/hederaUtils.js:27:35)
at start (/home/nikolay/Desktop/zqzqzq/hedera-local-node/cli.js:69:23) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
Calling it with node < v17 (14,16) - works fine.
The text was updated successfully, but these errors were encountered:
Kalina-Todorova
changed the title
hethers.Wallet.createRandom() throws ERR_OSSL_EVP_UNSUPPORTED
hethers.Wallet.createRandom() not working on node v17,18
Jun 27, 2022
Calling hethers.Wallet.createRandom() with node v17
Error:
Calling it with node < v17 (14,16) - works fine.
The text was updated successfully, but these errors were encountered: