-
Hello friends, Please I am having issues with the
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Hello guys I finally got it, rgds. |
Beta Was this translation helpful? Give feedback.
-
There is a comment in the latest lesson code about this: In later versions (^6.2.3 as of this commit) of etherjs, PRIVATE_KEY is inferred from wallet, so there is no need to So do:
There error is because the second argument is no longer expected to be your private key, but instead a callback function that is called during decryption with a number between 0 and 1, depending on the decryption progress. :) See link below: |
Beta Was this translation helpful? Give feedback.
-
这是来自QQ邮箱的假期自动回复邮件。您好,您的邮件我已经收到,我会尽快回复,谢谢。
|
Beta Was this translation helpful? Give feedback.
Hello guys
I finally got it,
In this line
const encryptedJsonKey = await wallet.encrypt( )
. wallet.encrypt doesn't seem to be used anymore ratherwallet.encryptSync().
That is what worked fro me , should anyone run into such issue then they can try this solution.rgds.