0

I have a local ganache running at port X. I want to deploy my contract to this already running local ganache rather than spinning a new one. In other words, once the local ganache is started, I want other code in my machine to connect and deploy the contract.

I have tried running brownie run scripts/deploy.py without a network option, but it automatically creates a new ganache-cli.

1 Answer 1

0

Just start ganache-cli / Ganache UI prior to the brownie run scripts/deploy.py, brownie is smart enought to "see" it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.