{"_id":"@binance-chain/web3-eth-accounts","_rev":"1-5703a798730de6fb94a262f47eb4aabb","name":"@binance-chain/web3-eth-accounts","dist-tags":{"latest":"1.6.1"},"versions":{"1.6.1":{"name":"@binance-chain/web3-eth-accounts","version":"1.6.1","description":"Web3 module to generate Ethereum accounts and sign data and transactions.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/1.x/packages/web3-eth-accounts"},"license":"LGPL-3.0","engines":{"node":">=8.0.0"},"types":"types/index.d.ts","scripts":{"compile":"tsc -b tsconfig.json","dtslint":"dtslint --localTs ../../node_modules/typescript/lib  types"},"main":"lib/index.js","dependencies":{"@ethereumjs/common":"^2.3.0","@ethereumjs/tx":"^3.2.1","crypto-browserify":"3.12.0","eth-lib":"0.2.8","ethereumjs-util":"^7.0.10","scrypt-js":"^3.0.1","uuid":"3.3.2","web3-core":"1.5.2","web3-core-helpers":"1.5.2","web3-core-method":"1.5.2","web3-utils":"1.5.2"},"devDependencies":{"dtslint":"^3.4.1","typescript":"^3.9.5"},"publishConfig":{"access":"public"},"gitHead":"3c49beac02dd35e175f8b30e4764c57a81a873dc","_id":"@binance-chain/web3-eth-accounts@1.6.1","_nodeVersion":"16.6.1","_npmVersion":"lerna/3.22.1/node@v16.6.1+x64 (darwin)","dist":{"integrity":"sha512-vUB2UGMAloEEUZPsGrvP9DpDgv/cF2VsT1pyZ+kslss4ZwTIchT2/rRf7n3PljkFVUkqJz9ah77Xui4iP7sizQ==","shasum":"95f4a2c32d34ce4731739f253005784c8084232e","tarball":"https://registry.npmjs.org/@binance-chain/web3-eth-accounts/-/web3-eth-accounts-1.6.1.tgz","fileCount":10,"unpackedSize":62920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhI6hfCRA9TVsSAnZWagAA1lgP/j16KnYITD+ezfRZTDOt\nWy/V1tPmPXE118uFpzSdsXJHdWiUVudgPcNyfNsyFN3yw7S1htLktvlTL0lA\n63kC6RBEHB5ZplJKo4n5T18vODfjU1vsck92d26ikNuA/98iNLKYsNyFERV3\n73yQKQIjkhfr7UBl+atbng6cUgIoosk/w8E6hfhsVcFHH/9uME3TAZQHI6vz\ngj9qEWJ2uIbcHK/BEB2k51M7KxD+PyGCOkxU2KHY3XtbKFbjxREuxgunH8Zc\nK5yvXS4OfuDllPSCa3DOQCzGcLWKfq/JhHtWeQkUadCbhDV0fICHYnv/GDdG\nN5e/wAouQaIieS5YhKnqJ6B+By+BGMQvrb/IbWD7cS7YhMNb4zoOHtYeTKyL\n8otFKwK0Lz/9sMPJ67JS9I1uGgIrptqPzZ/fYgshzNxNlf5oqOvEhhAsPgsg\n3Nly5bGn4OTUlfo1MPXgNpj6Nkmc+sjocBO1X+nNB0ew0tdG4KD9MQ/hsbN6\nX95ocG9LEs4lQfOMbMXNHamrdlZH212w37BTjqA2FtMdQGJdl8s+jEDy1PZm\n4rzs9exRXIIZrvKXVVdo/H8AkB2eVU+OaBkoXaWRKKnRwjvvxzgQIIq7it+P\nDIJpkGOErkxs9wnzG3OQ+lOgqyaw4M2qtkFJH7HCAIqwKhpLydgdNqGYveCW\n1dpI\r\n=i+Dk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKpQx7864r23rSVYu7F7vS8ySxS+q5fNFh/+jXHjDfNgIgfTWoA3ZAzQSuQrnBn4BT1ndDTLa7nRtD9ZEw3znt1QA="}]},"_npmUser":{"name":"binance-chain-npm","email":"bit-fe-ci@binance.com"},"directories":{},"maintainers":[{"name":"binance-chain-npm","email":"bit-fe-ci@binance.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3-eth-accounts_1.6.1_1629726815389_0.25440391424736997"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-23T13:53:35.246Z","1.6.1":"2021-08-23T13:53:35.570Z","modified":"2022-04-04T18:52:23.291Z"},"maintainers":[{"name":"binance-chain-npm","email":"bit-fe-ci@binance.com"}],"description":"Web3 module to generate Ethereum accounts and sign data and transactions.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/1.x/packages/web3-eth-accounts"},"license":"LGPL-3.0","readme":"# web3-eth-accounts\n\n[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]\n\nThis is a sub-package of [web3.js][repo].\n\nThis is the accounts package used in the `web3-eth` package.\n\nPlease read the [documentation][docs] for more.\n\n## Installation\n\n### Node.js\n\n```bash\nnpm install web3-eth-accounts\n```\n\n## Usage\n\n```js\nconst Web3EthAccounts = require('web3-eth-accounts');\n\nconst account = new Web3EthAccounts('ws://localhost:8546');\naccount.create();\n> {\n  address: '0x2c7536E3605D9C16a7a3D7b1898e529396a65c23',\n  privateKey: '0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318',\n  signTransaction: function(tx){...},\n  sign: function(data){...},\n  encrypt: function(password){...}\n}\n```\n\n## Types\n\nAll the TypeScript typings are placed in the `types` folder.\n\n[docs]: http://web3js.readthedocs.io/en/1.0/\n[repo]: https://github.com/ethereum/web3.js\n[npm-image]: https://img.shields.io/npm/v/web3-eth-accounts.svg\n[npm-url]: https://npmjs.org/package/web3-eth-accounts\n[deps-image]: https://david-dm.org/ethereum/web3.js/1.x/status.svg?path=packages/web3-eth-accounts\n[deps-url]: https://david-dm.org/ethereum/web3.js/1.x?path=packages/web3-eth-accounts\n[deps-dev-image]: https://david-dm.org/ethereum/web3.js/1.x/dev-status.svg?path=packages/web3-eth-accounts\n[deps-dev-url]: https://david-dm.org/ethereum/web3.js/1.x?type=dev&path=packages/web3-eth-accounts\n","readmeFilename":"README.md"}