iexec / Exports / IExecConfigArgs
• 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"
or1
or"1"
for ethereum mainnet provider"bellecour"
or134
or"134"
for iExec sidechain"http://localhost:8545"
for local chainnew ethers.JsonRpcProvider("https://bellecour.iex.ec")
ethers provider connected to bellecour
signer provider examples:
window.ethereum
for browser injected wallet providerutils.getSignerFromPrivateKey('bellecour', PRIVATE_KEY)
signer connected to bellecournew ethers.Wallet(PRIVATE_KEY, new ethers.JsonRpcProvider("https://bellecour.iex.ec"))
ethers wallet connected to bellecour