Skip to content

Lesson 6: private key safety pt.2 - source .env #1672

Answered by EngrPips
danker-dotcom asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks, @danker-dotcom. Correct your code to the below in your .env file, and things should start working fine.

PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
RPC_URL=http://127.0.0.1:8545

Don't put any space between your variables, = and values.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@EngrPips
Comment options

Answer selected by danker-dotcom
Comment options

You must be logged in to vote
5 replies
@EngrPips
Comment options

@danker-dotcom
Comment options

@EngrPips
Comment options

@dennnis0204
Comment options

@EngrPips
Comment options

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