Questions tagged [brownie]
236 questions
-1
votes
1 answer
Eth-Brownie not recognised/ showing as installed even after installation
I am currentyl struggling with installing Eth-Brownie. I am fairly new to Solidity as well as Python so still getting my bearings so apologies if this is a basic question. Basically I am using python 4.10 as well as the latest version of pip. I had…

Jack1999
- 71
- 5
-1
votes
1 answer
AttributeError: 'function' object has no attribute 'deploy'
from brownie import network, config, accounts
from brownie import FundMe
def deploy_fund_me():
account = get_account
fund_me = FundMe.deploy({"from": account})
print(f"contract deployed to {fund_me.address}")
def main():
deploy_fund_me()…

Abed ja'fari
- 1
- 2
-1
votes
1 answer
brownie - How do I handle exceptions?
I've been watching a brownie tutorial video by Patrick (fantastic lad). Still, I seem to be getting an error when running a particular function, but the rest of the functions run perfectly. I don't know where I went wrong.
I've attached the code…
-1
votes
1 answer
I installed Brownie and after installation when i tried to see the version of it, i ran into this error, I am using MacOs 10.15.3 if that matters
importError: dlopen(/Users/.../.local/pipx/venvs/eth-brownie/lib/python3.10/site-packages/cytoolz/functoolz.cpython-310-darwin.so, 2): Symbol not found: __PyGen_Send
Referenced from:…
-1
votes
1 answer
how can i get all ERC20 addresses in brownie to use in frontend
I want to create app like uniswap using brownie and react how can i access all tokens addresses and abi for my project and use it in frontend. How can i implement this in best optimized way ?

Haidarali Masu
- 49
- 1
- 6
-1
votes
1 answer
getting error brownie cannot import AdvancedCollectibles
I'm trying to run this code:
from brownie import accounts, config, network
from brownie import AdvancedCollectible
from scripts.helpful_scripts import fund_advanced_collectible
def main():
dev = accounts.add(config['wallets']['from_key'])
…
-2
votes
1 answer
Installing eth-brownie with pipx issue
Hey so I'm trying to install eth-brownie with pipx using the command:
pipx install eth-brownie
Unfortunatly this gives me an error message which I'm having a lot of trouble understanding. I know I should be able to install it using pip but using…

Kidkaos
- 15
- 4
-3
votes
1 answer
Everytime I am running Brownie run scripts/deploy.py, its showing the problem below, I need to understand what might be the problem with my install?
When I deploy this code, this is what happens?
brownie run scripts/deploy.py
Brownie v1.19.2 - Python development framework for Ethereum
BrownieSimpleStorageProject is the active project.
Launching 'ganache-cli --port 8545 --gasLimit 12000000…

Greg
- 1
- 1
-3
votes
1 answer
python sintax problem for solidity compilator
I have problem connected to python. I want to compile solidity files using python. But getting error.
import json
from solcx import compile_standard, install_solc
with open("./SimpleStorage.sol", "r") as file:
simple_storage_file =…

irakli777
- 41
- 5