def main():deploy_simple_storage()
this is my brownie-config.yaml
dotenv: .envwallets:from_key: ${PRIVATE_KEY}$
and this is my .env
export PRIVATE_KEY=0x...
I really can't tell what the issue is. I've tried removing the 0x thinking that maybe Python doesnt need the 0x to figure out its a hexadecimal number, double checked spelling and ya... any idea on what it could be?
So I've been following the tutorial up to lesson 5 when we fiddle around with brownie. This is my deploy.py:
from brownie import accounts, config
def deploy_simple_storage():
# account = accounts[0]
# print(account)
# account = accounts.load("freecodecampCourse")
account = accounts.add(config["wallets"]["from_key"])
print(account)
def main():
deploy_simple_storage()
this is my brownie-config.yamldotenv: .env
wallets:
from_key: ${PRIVATE_KEY}$
and this is my .env
export PRIVATE_KEY=0x...
I really can't tell what the issue is. I've tried removing the 0x thinking that maybe Python doesnt need the 0x to figure out its a hexadecimal number, double checked spelling and ya... any idea on what it could be?