Hey all, first post here and looking for some hopefully quick guidance.
I’m setting up a UniSwap flash swap contract via a GitHub repo and I need to fill in some .env variables to get it running:
SIGNER_ADDRESS_MAINNET=0xb26066Acc204c1A6C845aE255186051A10967aAB CHAIN_PROVIDER_MAINNET=https://mainnet.infura.io/v3/9cdbd09bf76d4465ba67a2b0411bade9 SIGNER_ADDRESS_RINKEBY=0xD2c7e5CA13862B05fed7f5b2EEb55D8859cAe670 CHAIN_PROVIDER_RINKEBY=https://rinkeby.infura.io/v3/9cdbd09bf76d4465ba67a2b0411bade9
I understand that I need to create an Infura project and use the mainet or rinkeby url for either of the
SIGNER_ADDRESS_ I’m questioning what should be put in there. It looks like what ever account I use is being used to set up the forked chain - the chain does start but when I try to run a test it says I have a zero balance (which is true). When the chain starts it gives me 10 accounts all with 100ETH balance. If I use one of these accounts in the
SIGNER_ADDRESS_ variable, and then run the test, it does seems to execute more but I ultimately end up with a
UniSwapV2 revert: LOCKED error.
I’m thinking my error lies in the way I’m using one address to start the chain and then another to run the test?