{"_id":"@alayanetwork/web3-eth-accounts","_rev":"1-68a2699a88816a1b45db983932b87c5f","name":"@alayanetwork/web3-eth-accounts","dist-tags":{"latest":"0.13.2"},"versions":{"0.13.2":{"name":"@alayanetwork/web3-eth-accounts","version":"0.13.2","description":"Web3 module to generate Ethereum accounts and sign data and transactions.","repository":{"type":"git","url":"https://github.com/PlatONnetwork/client-sdk-js/tree/alaya-dev/packages/web3-eth-accounts"},"license":"LGPL-3.0","engines":{"node":">=8.0.0"},"types":"types/index.d.ts","scripts":{"dtslint":"dtslint types --onlyTestTsNext"},"main":"src/index.js","dependencies":{"@web3-js/scrypt-shim":"^0.1.0","any-promise":"1.3.0","crypto-browserify":"3.12.0","eth-lib":"^0.2.8","ethereumjs-common":"^1.3.2","ethereumjs-tx":"^2.1.1","underscore":"1.9.1","uuid":"3.3.2","@alayanetwork/web3-core":"0.13.2","@alayanetwork/web3-core-helpers":"0.13.2","@alayanetwork/web3-core-method":"0.13.2","@alayanetwork/web3-utils":"0.13.2"},"devDependencies":{"definitelytyped-header-parser":"^1.0.1","dtslint":"0.4.2"},"_id":"@alayanetwork/web3-eth-accounts@0.13.2","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-7zSHkzs0NyU3IFFAUBjC/igS1ND5NCBsDPm5tfpRnqZaBJYbk5yXx9t9LMun4RmgSDkfikv3nZ3vBoMmPcxt9w==","shasum":"fade73a6ebe0b9c30985b92a8d684ada72710c0f","tarball":"https://registry.npmjs.org/@alayanetwork/web3-eth-accounts/-/web3-eth-accounts-0.13.2.tgz","fileCount":7,"unpackedSize":32205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjpOvCRA9TVsSAnZWagAAsIUP/AkjmhA8w1V+AmuhJ1Wp\nATWxBky2C8PDD8L9J7VJk8gcxgp3dqwsvJ1AfAyUQ61BEvHtK476tFo9o1dh\nz1aq7X4Z/T7iSAueUojwgt2O09Uw3+/XAEHD7L0E+oUU8ZmHTvazY0Jnj1Zc\nsFu2RHyzG2t6GffOMvMdGZ0LTsqDQMu87sn7C07wr/bkp0DkysKAmjpFvUiJ\nSoB12dB93EIfovPFIMCGfCuNWeF+/teixSUdm46uZJKB8hHF0SsJohb1W7xm\n0F0nan1papVqzYteAXWby7GTaQca90Ox3KgFKEzjRRLZyCSOgpCOJL41qoI5\nZLszga2HGoDh2oc16T5/4RITvasF5VgHfFoDhWe0hUrB5eskDvk8kBb3NF0k\nis3LrtXrGsJIpjbzOPC80ciacD6by5pqwdPrc1C4478vQSzKIqGzJ5ELH6mJ\n04JNKYQaM7XW9zHG4T3J6SMn7LWpyvaHzuSzgMsi4hr49SZMsQXsIHpCvq/T\nLYzqIUe37A0HpPe2XPMdbjLezwagH39Ne+V+0gTYFVLgB/3cOdmaxlx49TPU\nRU9Pqu+KjLlbrTuvW/9TcSFP9wkq6GxNUWCerYvVxOWrBNMK6vhQggo6di0b\n1tz4y1vJITR9ty6Z5U8j5OGxrjUAkDUqOnLbWSfpT2Nuxr/Uth+3KW8iElEr\n6qUS\r\n=HjHe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbnbS+V5N/+GtRVmUAls43a4nzIn4UdUTAmp3yAqcdlAiAY/5UiOj3gXUIvjwXX7i3NLoF3nr+QyYJZXhkj7rX4ew=="}]},"maintainers":[{"name":"alayanetwork","email":"npm@latticex.foundation"}],"_npmUser":{"name":"alayanetwork","email":"npm@latticex.foundation"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3-eth-accounts_0.13.2_1603179439576_0.11428502198654411"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-20T07:37:19.527Z","0.13.2":"2020-10-20T07:37:19.686Z","modified":"2022-04-04T12:34:01.235Z"},"maintainers":[{"name":"alayanetwork","email":"npm@latticex.foundation"}],"description":"Web3 module to generate Ethereum accounts and sign data and transactions.","repository":{"type":"git","url":"https://github.com/PlatONnetwork/client-sdk-js/tree/alaya-dev/packages/web3-eth-accounts"},"license":"LGPL-3.0","readme":"# web3-eth-accounts\n\nThis is a sub package of [web3.js][repo]\n\nThis is the accounts package to be used in the `web3-eth` package.\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### In the Browser\n\nBuild running the following in the [web3.js][repo] repository:\n\n```bash\nnpm run-script build-all\n```\n\nThen include `dist/web3-eth-accounts.js` in your html file.\nThis will expose the `Web3EthAccounts` object on the window object.\n\n## Usage\n\n```js\n// in node.js\nvar Web3EthAccounts = require('web3-eth-accounts');\n\nvar 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","readmeFilename":"README.md"}