{"_id":"@brynjarrr/xchain-ethereum","_rev":"1-d2c395c506cbdc955997175951829260","name":"@brynjarrr/xchain-ethereum","dist-tags":{"latest":"0.23.3"},"versions":{"0.23.3":{"name":"@brynjarrr/xchain-ethereum","version":"0.23.3","description":"Ethereum client for XChainJS","keywords":["XChain","Ethereum"],"author":{"name":"XChainJS"},"homepage":"https://github.com/xchainjs/xchainjs-lib","license":"MIT","main":"lib/index.js","module":"lib/index.esm.js","typings":"lib/index.d.ts","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+ssh://git@github.com/xchainjs/xchainjs-lib.git"},"scripts":{"clean":"rimraf lib/**","build":"yarn clean && rollup -c rollup.config.ts","test":"jest","lint":"eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0","prepublishOnly":"yarn build"},"publishConfig":{"access":"public"},"devDependencies":{"@xchainjs/xchain-client":"^0.11.1","@xchainjs/xchain-crypto":"^0.2.6","@xchainjs/xchain-util":"^0.5.1","axios":"^0.25.0","ethers":"^5.4.6"},"peerDependencies":{"@xchainjs/xchain-client":"^0.11.1","@xchainjs/xchain-crypto":"^0.2.6","@xchainjs/xchain-util":"^0.5.1","axios":"^0.25.0","ethers":"^5.4.6"},"gitHead":"515ef43a4f0e3aa11644c69f7025caf0f0a0c1db","bugs":{"url":"https://github.com/xchainjs/xchainjs-lib/issues"},"_id":"@brynjarrr/xchain-ethereum@0.23.3","_nodeVersion":"16.5.0","_npmVersion":"lerna/3.22.1/node@v16.5.0+arm64 (darwin)","dist":{"integrity":"sha512-CDmeBWoN0YGZ6h8J9j7HwDnQBc6I4F1Tbb4rdB3jAu/be9h90AYIy7wbY3G5/iKXb3wj4+T7S+43rwvZSOGEUw==","shasum":"6409172766a6fcede2eef76073478aa353da7a24","tarball":"https://registry.npmjs.org/@brynjarrr/xchain-ethereum/-/xchain-ethereum-0.23.3.tgz","fileCount":17,"unpackedSize":312478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPbTyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaJhAAmxhyFSZT2qibrcsdSqb/5/wzOr5UphMFdVY9yXeI8SeXuzB7\r\nxYUHCEbUpVA7CPlYeSCIsjcguvkJSxK19tampzzYlz7WKvsgEVnOjskoqoAh\r\nfPOuXoMWU97O2r4RBcGt8vIKsfCMgyi3ppQbygWy5aaGcXH+3dozK8RHe7Qy\r\n/hzEE6qhHvg6LKSXwUajKHDbnEiG5ivmOuTv++OyWNFXQC9NWSj/YqESsQr6\r\n7RoTareJq5r/DSydT5SmPT0wZXLzKhZ5jB8niURLkno0qAApXY1pV2lCGKr5\r\nOeerieEi3UphdlDVpGMMU5SAGbanD/lZfvuL13o6Y+1QDmz7bQRndkA+BI6f\r\ntmSBE7PV8kb+29Gj02BlEc93SaPb+HKkoX1g34GoDIiK/tewqu06ZzlMg8zn\r\nnD3KhzvhkyNJd93A2URm1bejH0THSvuX9sHvWNGvxlbHb+4dXP5Fsi9HPF65\r\nIxrOKQOCkCFobYfPfpMOtrwdZ9YZR3Wu1cx0OKLRHefoyNoLQ8I500nAq1jK\r\nKLLato7bUgkfQiDL2QRZTiJU/v6mPjOeEVRfykbEqyawKRNk10/MUQ81kKyH\r\nxMPOqwR0acUINQDAiLW3D4tVaNf2gLw8lqtN8DqCTbflZEMWowggsBnWFgTS\r\nGMxzOy1BslRaGwvAG2xCn9y3xgORkZdgfAY=\r\n=iGR1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCY9owc5LwE0rbfX94Zg6ItvFvi9EPcaQDHCNDTegbu1QIhALY0zq3Q/BHOiK4jDtS2qLmgr5rU0WSQPp9GMCmU9kxw"}]},"_npmUser":{"name":"brynjarrr","email":"coinage_trinity_0a@icloud.com"},"maintainers":[{"name":"brynjarrr","email":"coinage_trinity_0a@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xchain-ethereum_0.23.3_1648211186582_0.176997485889536"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-25T12:26:26.522Z","0.23.3":"2022-03-25T12:26:26.713Z","modified":"2022-04-04T20:50:14.963Z"},"maintainers":[{"name":"brynjarrr","email":"coinage_trinity_0a@icloud.com"}],"description":"Ethereum client for XChainJS","homepage":"https://github.com/xchainjs/xchainjs-lib","keywords":["XChain","Ethereum"],"repository":{"type":"git","url":"git+ssh://git@github.com/xchainjs/xchainjs-lib.git"},"author":{"name":"XChainJS"},"bugs":{"url":"https://github.com/xchainjs/xchainjs-lib/issues"},"license":"MIT","readme":"# `@xchainjs/xchain-ethereum`\n\n## Modules\n\n- `client` - Custom client for communicating with Ethereum by using [`ethers`](https://github.com/ethers-io/ethers.js)\n\n## Installation\n\n```\nyarn add @xchainjs/xchain-ethereum\n```\n\nFollowing peer dependencies have to be installed into your project. These are not included in `@xchainjs/xchain-ethereum`.\n\n```\nyarn add @xchainjs/xchain-client @xchainjs/xchain-crypto @xchainjs/xchain-util axios ethers\n```\n\n## Service Providers\n\nThis package uses the following service providers:\n\n| Function                  | Service   | Notes                                                                          |\n| ------------------------- | --------- | ------------------------------------------------------------------------------ |\n| ETH balances              | Etherscan | https://etherscan.io/apis#accounts (module=`account`, action=`balance`)        |\n| Token balances            | Etherscan | https://etherscan.io/apis#tokens (module=`account`, action=`tokenbalance`)     |\n| ETH transaction history   | Etherscan | https://etherscan.io/apis#accounts (module=`account`, action=`txlistinternal`) |\n| Token transaction history | Etherscan | https://etherscan.io/apis#accounts (module=`account`, action=`tokentx`)        |\n| Transaction fees          | Etherscan | https://etherscan.io/apis#gastracker (module=`gastracker`, action=`gasoracle`) |\n| Transaction broadcast     | Etherscan | https://sebs.github.io/etherscan-api/#eth_sendrawtransaction                   |\n| Explorer                  | Etherscan | https://etherscan.io/                                                          |\n\nEtherscan API rate limits: https://info.etherscan.com/api-return-errors/\n\n- This package uses `etherjs` library, by default it uses several providers. (`https://docs.ethers.io/v5/api-keys/`)\n","readmeFilename":"README.md"}