{
  "$type": "site.standard.document",
  "description": "This is about Web3 providers in Ethereum wallets. Web3 Provider --- Web3ProviderEngine has send and sendAsync . send throws an error sendAsync walks",
  "path": "/notes-web3-provider-engine-wallet/",
  "publishedAt": "2021-01-20T07:39:00.000Z",
  "site": "at://did:plc:bryys25pc2fnagnyxqgsglhd/site.standard.publication/3mn26bjkkmh23",
  "tags": [
    "iOS Development",
    "Ethereum"
  ],
  "textContent": "This is about Web3 providers in Ethereum wallets.\n\nWEB3 PROVIDER\n\nWeb3ProviderEngine has send() and sendAsync.\n\n * send() throws an error\n * sendAsync() walks through providers by calling handleRequest() on the first provider\n\nProviders implement handleRequest() and processes the request if it supports it, otherwise pass it onto the next provider in the list (via one of the function args)\n\nWEB3 WALLETS\n\nAn instance of Web3ProviderEngine\n\nImplements send() to handle a few calls like net_version. Delegates the rest to sendAsync().",
  "title": "Notes on Web3 Providers Engines and Implementing a Web3 Wallet"
}