Creates an instance of a wallet provider
const provider = await createProvider(MetamaskProvider)// orconst web3Instance = await new Web3().init()const metamaskProvider = await createProvider(MetamaskProvider, { web3Instance })const phantomProvider = await createProvider(PhantomProvider, { web3Instance }) Copy
const provider = await createProvider(MetamaskProvider)// orconst web3Instance = await new Web3().init()const metamaskProvider = await createProvider(MetamaskProvider, { web3Instance })const phantomProvider = await createProvider(PhantomProvider, { web3Instance })
Generated using TypeDoc
Description
Creates an instance of a wallet provider
Example