ContractSettings

ContractSettings

new ContractSettings(provider, signer, networkId)

Source:
Parameters:
Name Type Description
provider Object ethers.js provider object - default ethers.providers.getDefaultProvider()
signer Object one of 4 provided signers or a custom ethers.js compatible signer. Use Metamask for Dapp browser support
networkId Number default 1 - mainnet, also supports 42 (Kovan)