Brownie under the hood use Ganache. Ones we start
brownie console accounts are generate automatically (10 by default) for further use.
Question: is there a way to discover private key from account for example from within Brownie console?
Up date to question:
If I try to run
ganche-cli (as proposed) it will give us private keys used inside
brownie console and that`s ok. Now we know private keys.
But if we try to deploy some contract, while
ganache-cli running in background and then to go into interactive mode with
brownie run script arg1 arg2 -i interactive flag to see private keys, Brownie will stay stucked in the loop like this:
What I need is to see private keys of address from which I made this deploy in local dev environment and to add them to MetaMask connected to Ganache 8545 port and then to test front-end from deployer address (now present in MetaMask) on function that have
But to add to MetaMask we need to know private keys which are hard to obtain in explained scenario when deployment (not simple
brownie console) with ganache-cli running in background is involved.