Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

KeyError: 'wallets' #23

Open
ghost opened this issue Apr 27, 2022 · 2 comments
Open

KeyError: 'wallets' #23

ghost opened this issue Apr 27, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 27, 2022

account = accounts.add(config["wallets"]["from_key"])
KeyError: 'wallets'
Terminating local RPC client...
Screenshot 2022-04-27 171322

@PatrickAlphaC
Copy link
Owner

PatrickAlphaC commented May 2, 2022

What does your brownie-config.yaml look like?

You'll need a section like:

wallets:
  from_key: PRIVATE_KEY_HERE

@fricpto
Copy link

fricpto commented Oct 8, 2022

I'm having a similar problem and this my yaml file:
dotenv: .env
wallets:
from_key: ${PRIVATE_KEY}
Screenshot 2022-10-08 144343

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants