Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: error:0308010C:digital envelope routines::unsupported #558

Open
SaitoAsahi opened this issue Aug 16, 2022 · 1 comment
Open

Error: error:0308010C:digital envelope routines::unsupported #558

SaitoAsahi opened this issue Aug 16, 2022 · 1 comment

Comments

@SaitoAsahi
Copy link

How to fix my error?

I got an error pasted below.
I was trying to deploy DAO template app on rinkeby test network.
I completed the steps on the tutorial of colony sdk document.
How can I fix it?

Considered reason the error happened to me

it is said on the document that when we deploy the DAO on the test-net, 2 ETH in the wallet of founder would be enough.
How ever, I'm not rich enough for having that amount of ETH and thought for deploying test-net, I don't need to have real ETH in my wallet.
Instead of real ETH, I prepared 20 LINK and 0.2 test ETH in my wallet.
Do I really need to have real ETH in my wallet?

Error Discription:

npm run deploy rinkeby

[email protected] deploy
scripts/deploy.sh

[arg1] Network: rinkeby
Deployment started at 2022-08-16T21:33:31.561Z
Deploying [email protected] to rinkeby network
An unexpected error occurred:

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at hash160 (/Users/macuser/Desktop/tribute-contracts/node_modules/ethereum-cryptography/vendor/hdkey-without-crypto.js:249:21)
at HDKey.set (/Users/macuser/Desktop/tribute-contracts/node_modules/ethereum-cryptography/vendor/hdkey-without-crypto.js:50:24)
at Function.HDKey.fromMasterSeed (/Users/macuser/Desktop/tribute-contracts/node_modules/ethereum-cryptography/vendor/hdkey-without-crypto.js:194:20)
at deriveKeyFromMnemonicAndPath (/Users/macuser/Desktop/tribute-contracts/node_modules/hardhat/src/internal/util/keys-derivation.ts:21:27)
at derivePrivateKeys (/Users/macuser/Desktop/tribute-contracts/node_modules/hardhat/src/internal/core/providers/util.ts:29:52)
at new HDWalletProvider (/Users/macuser/Desktop/tribute-contracts/node_modules/hardhat/src/internal/core/providers/accounts.ts:311:42)
at applyProviderWrappers (/Users/macuser/Desktop/tribute-contracts/node_modules/hardhat/src/internal/core/providers/construction.ts:188:18)
at createProvider (/Users/macuser/Desktop/tribute-contracts/node_modules/hardhat/src/internal/core/providers/construction.ts:124:27) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

@mthurston
Copy link

Hi @SaitoAsahi, what version of node are you running? IIRC node required me to use version 14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants