TypeError: Cannot read properties of undefined (reading 'toHexString') #4881
Answered
by
paulcoffee85
tiwariji99
asked this question in
Q&A
-
after extracting private key and rpc_url from ganache i am getting the error: |
Beta Was this translation helpful? Give feedback.
Answered by
paulcoffee85
Feb 20, 2023
Replies: 1 comment 5 replies
-
Mine worked without the |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
alymurtazamemon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mine worked without the
0x
at front of the PRIVATE_KEY, also try at top instead ofconst fs = require("fs-extra")
, use :const fs = require("fs")