You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{TxBuilderV2,Network,Market}from'@aave/protocol-js'consthttpProvider=newWeb3.providers.HttpProvider(process.env.ETHEREUM_URL||"https://kovan.infura.io/v3/<project_id>");consttxBuilder=newTxBuilderV2(Network.main,httpProvider);lendingPool=txBuilder.getLendingPool(Market.main);// get all lending pool methods
...however this will later always produce empty transaction arrays and an error in the console that says "[LendingPoolValidator] You need to pass valid addresses".
It appears that Market.main and Network.main are both undefined!
The text was updated successfully, but these errors were encountered:
The docs say to use this code:
...however this will later always produce empty transaction arrays and an error in the console that says "[LendingPoolValidator] You need to pass valid addresses".
It appears that
Market.main
andNetwork.main
are bothundefined
!The text was updated successfully, but these errors were encountered: