This lesson shows how to fork a live RPC and read from a contract.
To fork an RPC node
boa.env.fork(RPC_URL)
Read a contract from a block explorer
boa.from_etherscan(
address: Any,
name=None,
uri='https://api.etherscan.io/api',
api_key=None,
)
To install pyenv for managing environment variables
pip install python-dotenv
Llama Lend One Way Lending Factory
Misc