Skip to content

LESSON 7: "Invalid account: #0 for network: rinkeby - private key too short, expected 32 bytes" #2071

Answered by adityabhattad2021
ashrth asked this question in Q&A
Discussion options

You must be logged in to vote

The problem is you mistakenly provide public key instead of private key in .env file please try inserting private key instead.
The bigger one is private key in metamask.

Replies: 1 comment 19 replies

Comment options

You must be logged in to vote
19 replies
@adityabhattad2021
Comment options

@ashrth
Comment options

@leander006
Comment options

@parsar2025
Comment options

@adityabhattad2021
Comment options

Answer selected by ashrth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants