create_fork_funded_wallet
Documentation for eth_defi.provider.anvil.create_fork_funded_wallet function.
- create_fork_funded_wallet(web3, usdc_address, large_usdc_holder, usdc_amount=Decimal('10000'), eth_amount=Decimal('10'))
On Anvil forked mainnet, create a wallet with some USDC funds.
Make a new private key account on a forked mainnet
Top this up with ETH and USDC from a large USDC holder
- Parameters
web3 (web3.main.Web3) –
usdc_address (eth_typing.evm.HexAddress) –
large_usdc_holder (eth_typing.evm.HexAddress) –
- Return type
eth_defi.hot_wallet.HotWallet