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
{{ message }}
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
Using the latest "@truffle/hdwallet-provider": "^2.1.12",, when I tried to run truffle migrate --reset --compile-all --network moonbase it gave me an error First argument to new HDWalletProvider() must be a mnemonic phrase, a single private key, or a list of private keys., it now expects the private key is a Uint8Array with length 32 to be provided as an array.
so provide a parameter privateKeys and type string[] as mentioned here https://github.com/trufflesuite/truffle/tree/develop/packages/hdwallet-provider
hello! even with ^2.1.12 the private key as a string should work as it is a legacy parameter, but this raises a good point that we should update to the current accepted parameters (which also apply to the current version ^2.0.8).
I'll submit a PR for it. thanks for bringing this up!
Using the latest
"@truffle/hdwallet-provider": "^2.1.12",
, when I tried to runtruffle migrate --reset --compile-all --network moonbase
it gave me an errorFirst argument to new HDWalletProvider() must be a mnemonic phrase, a single private key, or a list of private keys.
, it now expects the private key is a Uint8Array with length 32 to be provided as an array.so provide a parameter
privateKeys
and typestring[]
as mentioned here https://github.com/trufflesuite/truffle/tree/develop/packages/hdwallet-providerso i change it to
The text was updated successfully, but these errors were encountered: