fromEthersProvider
Creates an instance of EthersProviderAdapter from an ethers.js JsonRpcProvider.
Import
Parameters
provider
JsonRpcProvider
the ethers JSON RPC provider to convert
chain
Chain
the chain to connect to
Returns
EthersProviderAdapter
an instance of EthersProviderAdapter