I'm attempting to write some test contracts that interacts w/ Uniswap and am using the following stack:
Remix (Injected Web3) -> MetaMask -> Ganache-CLI -> Alchemy (Fork of Ethereum Mainnet)
I start up Ganache with:
ganache-cli -f wss://eth-mainnet.alchemyapi.io/v2/<my-key> -u <address from mainnet: 0x...> -p 7545
If I want to use one of the 9 generated accounts from Ganache, I can easily copy their private key (as displayed in the console), and import it into MetaMask.
However, when I start up Ganache-CLI with the "-u " flag (a valid address that is copied from mainnet to the fork), I don't see that address listed in my 9 Available Accounts / Private Keys... and my goal here is to import that unlocked account into MetaMask.
My questions are:
Does the fact that I don't see the custom -u address in the console list of Unlocked accounts mean I did something wrong?
If I initialized this correctly, is it possible to import this unlocked account into MetaMask (and if so, how? Obviously we're not going to be able to derive a private key from a public address...)