Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.03 KB

IExecConfigArgs.md

File metadata and controls

28 lines (18 loc) · 1.03 KB

iexec / Exports / IExecConfigArgs

Interface: IExecConfigArgs

Table of contents

Properties

Properties

ethProvider

ethProvider: string | number | AbstractSigner<null | Provider> | BrowserProvider | Eip1193Provider | AbstractProvider

A web3 Eth provider, a network name, a chain id or an ethers provider

read-only provider examples:

  • "mainnet" or 1 or "1" for ethereum mainnet provider
  • "bellecour" or 134 or "134" for iExec sidechain
  • "http://localhost:8545" for local chain
  • new ethers.JsonRpcProvider("https://bellecour.iex.ec") ethers provider connected to bellecour

signer provider examples:

  • window.ethereum for browser injected wallet provider
  • utils.getSignerFromPrivateKey('bellecour', PRIVATE_KEY) signer connected to bellecour
  • new ethers.Wallet(PRIVATE_KEY, new ethers.JsonRpcProvider("https://bellecour.iex.ec")) ethers wallet connected to bellecour