Skip to content

Lesson 5 :Frist deploy:node ploy.js in wsl #3236

Answered by RoboCrypter
wangwang00 asked this question in Q&A
Discussion options

You must be logged in to vote

@wangwang00 : In your line : 10 , You didn't add provider after your private key,

  • Change the line : 10 from this : let wallet = new ethers.Wallet("0x000000000**YourPrivateKey**00000000000")

  • To this : let wallet = new ethers.Wallet("0x000000000**YourPrivateKey**00000000000", provider)

It should fix your issue!

Let me know, If your issue gets resolved!

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@wangwang00
Comment options

@wangwang00
Comment options

@RoboCrypter
Comment options

Answer selected by alymurtazamemon
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants