"cast send" tip: Error, Failed to create wallet from the private key.. #24
NokivaF
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
Hello @NokivaF thanks for reaching out with this solution, a question for you where are you storing the project folders? directly on the WSL home or on your Windows Drive? |
Beta Was this translation helpful? Give feedback.
1 reply
-
@NokivaF Please select the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, thanks Patrick, I promise I'll use these powers in order to make people like you emerge above the non-sense out there. It's time to make the real (and overall, RELEVANT) talent be noticed a looot more.
Anyway, I encountered this issue in my machine when working around the minute 7:58 of the first part of the course, and those who use WSL or a UNIX OS might find it too. It has a quick fix, so first install this (or something alike) package to convert the .env file to UNIX format:
Now just pass the .env file through it, and then load it with "source .env" in order to avoid the error, and all of that before running the "cast" command. Remember, every time you kill the terminal, you have to repeat the process.
I found the answer here.
Keep going, you can do it!!!
Beta Was this translation helpful? Give feedback.
All reactions