{"_id":"ethereumjs-account","_rev":"4578404","name":"ethereumjs-account","description":"Encoding, decoding and validation of Ethereum's Account schema","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"time":{"modified":"2026-04-10T15:50:49.000Z","created":"2015-07-16T17:31:56.249Z","3.0.0":"2019-01-14T15:43:52.923Z","2.0.5":"2018-05-08T07:31:53.594Z","2.0.4":"2016-06-26T01:08:07.832Z","2.0.2":"2016-03-01T20:30:53.158Z","2.0.1":"2016-01-16T23:46:21.994Z","2.0.0":"2016-01-06T16:51:56.655Z","1.0.5":"2015-11-27T20:28:19.192Z","1.0.4":"2015-11-03T08:41:41.662Z","1.0.3":"2015-09-24T21:15:40.459Z","1.0.2":"2015-09-24T05:50:23.498Z","1.0.1":"2015-09-24T05:22:35.773Z","1.0.0":"2015-09-24T00:50:36.249Z","0.0.6":"2015-09-22T03:37:40.981Z","0.0.5":"2015-09-21T01:09:11.326Z","0.0.4":"2015-09-20T23:26:31.329Z","0.0.3":"2015-07-21T23:19:05.718Z","0.0.2":"2015-07-17T03:37:08.366Z","0.0.1":"2015-07-17T03:09:50.439Z","0.0.0":"2015-07-16T17:31:56.249Z"},"users":{},"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-account.git"},"versions":{"3.0.0":{"name":"ethereumjs-account","version":"3.0.0","description":"Encoding, decoding and validation of Ethereum's Account schema","main":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-account.git"},"scripts":{"build":"tsc -p ./tsconfig.prod.json","prepublishOnly":"npm run test && npm run build","coverage":"nyc npm run test && nyc report --reporter=text-lcov > .nyc_output/lcov.info","coveralls":"npm run coverage && coveralls <.nyc_output/lcov.info","format":"prettier --list-different **/*.{ts,json,md}","format:fix":"prettier --write **/*.{ts,json,md}","tslint":"tslint -p ./tsconfig.json -e node_modules/**/* -e **/node_modules/**/* -e dist/**/* **/*.ts","tslint:fix":"tslint --fix --format stylish -p ./tsconfig.json -e node_modules/**/* -e **/node_modules/**/* -e dist/**/* **/*.ts","tsc":"tsc --noEmit","lint":"npm run format && npm run tslint && npm run tsc","lint:fix":"npm run format:fix && npm run tslint:fix && npm run tsc","test":"ts-node node_modules/tape/bin/tape ./test/index.ts"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"MPL-2.0","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-account/issues"},"homepage":"https://github.com/ethereumjs/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^6.0.0","rlp":"^2.2.1","safe-buffer":"^5.1.1"},"devDependencies":{"@ethereumjs/config-nyc":"^1.0.0","@ethereumjs/config-prettier":"^1.0.1","@ethereumjs/config-tsc":"^1.0.2","@ethereumjs/config-tslint":"^1.0.0","@types/bn.js":"^4.11.3","@types/node":"^10.12.18","@types/tape":"^4.2.33","coveralls":"^3.0.0","nyc":"^11.7.1","prettier":"^1.15.3","tape":"^4.0.3","ts-node":"^7.0.1","tslint":"^5.12.0","typescript":"^3.2.2","typestrict":"^1.0.2"},"gitHead":"f1b09614f082e28926e99f83ac10641b75b34609","_id":"ethereumjs-account@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"dist":{"shasum":"728f060c8e0c6e87f1e987f751d3da25422570a9","size":5215,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-3.0.0.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereumjs-account_3.0.0_1547480632795_0.9227583170979712"},"_hasShrinkwrap":false,"publish_time":1547480632923,"deprecated":"Please use Util.Account class found on package ethereumjs-util@^7.0.6 https://github.com/ethereumjs/ethereumjs-util/releases/tag/v7.0.6","_cnpm_publish_time":1547480632923,"_cnpmcore_publish_time":"2021-12-16T15:32:46.618Z"},"2.0.5":{"name":"ethereumjs-account","version":"2.0.5","description":"Encoding, decoding and validation of Ethereum's Account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-account.git"},"scripts":{"coverage":"nyc npm run test && nyc report --reporter=text-lcov > .nyc_output/lcov.info","coveralls":"npm run coverage && coveralls <.nyc_output/lcov.info","lint":"standard","test":"tape ./test/index.js"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"MPL-2.0","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-account/issues"},"homepage":"https://github.com/ethereumjs/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^5.0.0","rlp":"^2.0.0","safe-buffer":"^5.1.1"},"devDependencies":{"coveralls":"^3.0.0","nyc":"^11.7.1","standard":"^11.0.1","tape":"^4.0.3"},"gitHead":"bcd7207621728ddad9d6487623a7fa37d76b2df8","_id":"ethereumjs-account@2.0.5","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"dist":{"shasum":"eeafc62de544cb07b0ee44b10f572c9c49e00a84","size":4169,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-2.0.5.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereumjs-account_2.0.5_1525764713532_0.6601289991986645"},"_hasShrinkwrap":false,"publish_time":1525764713594,"_cnpm_publish_time":1525764713594,"_cnpmcore_publish_time":"2021-12-16T15:32:46.868Z"},"2.0.4":{"name":"ethereumjs-account","version":"2.0.4","description":"Encoding, decoding and validation of Ethereum's Account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-account.git"},"scripts":{"coverage":"istanbul cover ./test/index.js","coveralls":"npm run coverage && coveralls <coverage/lcov.info","lint":"standard","test":"tape ./test/index.js"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"MPL-2.0","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-account/issues"},"homepage":"https://github.com/ethereumjs/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^4.0.1","rlp":"^2.0.0"},"devDependencies":{"coveralls":"^2.11.4","istanbul":"^0.4.1","standard":"^5.4.1","tape":"^4.0.3"},"gitHead":"75fb504e87594985e474945083105cc60742bc9c","_id":"ethereumjs-account@2.0.4","_shasum":"f8c30231bcb707f4514d8a052c1f9da103624d47","_from":".","_npmVersion":"3.10.2","_nodeVersion":"6.2.2","_npmUser":{"name":"null_radix","email":"null_radix@riseup.net"},"dist":{"shasum":"f8c30231bcb707f4514d8a052c1f9da103624d47","size":3096,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-2.0.4.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ethereumjs-account-2.0.4.tgz_1466903285343_0.8452511951327324"},"directories":{},"publish_time":1466903287832,"_hasShrinkwrap":false,"_cnpm_publish_time":1466903287832,"_cnpmcore_publish_time":"2021-12-16T15:32:47.045Z"},"2.0.2":{"name":"ethereumjs-account","version":"2.0.2","description":"Encoding, decoding and validation of Ethereum's Account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-account.git"},"scripts":{"lint":"standard","test":"tape ./test/index.js"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"MPL-2.0","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-account/issues"},"homepage":"https://github.com/ethereumjs/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^4.0.1","rlp":"^2.0.0"},"devDependencies":{"standard":"^5.4.1","tape":"^4.0.3"},"gitHead":"40d9630eddec986a27bdfa0d51e3fc4c005c3d04","_id":"ethereumjs-account@2.0.2","_shasum":"5dbfcfaee1b8a222ca88af0cc1629d0b71b43497","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.7.0","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"5dbfcfaee1b8a222ca88af0cc1629d0b71b43497","size":2837,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-2.0.2.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"_npmOperationalInternal":{"host":"packages-11-east.internal.npmjs.com","tmp":"tmp/ethereumjs-account-2.0.2.tgz_1456864252243_0.6378045489545912"},"directories":{},"publish_time":1456864253158,"_hasShrinkwrap":false,"_cnpm_publish_time":1456864253158,"_cnpmcore_publish_time":"2021-12-16T15:32:47.297Z"},"2.0.1":{"name":"ethereumjs-account","version":"2.0.1","description":"Encoding, decoding and validation of Ethereum's Account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-account.git"},"scripts":{"lint":"standard","test":"tape ./test/index.js"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"MPL-2.0","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-account/issues"},"homepage":"https://github.com/ethereumjs/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^2.5.0","rlp":"^2.0.0"},"devDependencies":{"standard":"^5.4.1","tape":"^4.0.3"},"gitHead":"c301f6f6ccaff774e3121d901b5a5659b94e1203","_id":"ethereumjs-account@2.0.1","_shasum":"b64391b9bb8be031291696d681e44fe083624391","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.0","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"b64391b9bb8be031291696d681e44fe083624391","size":2834,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-2.0.1.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1452987981994,"_hasShrinkwrap":false,"_cnpm_publish_time":1452987981994,"_cnpmcore_publish_time":"2021-12-16T15:32:47.488Z"},"2.0.0":{"name":"ethereumjs-account","version":"2.0.0","description":"Encoding, decoding and validation of Ethereum's Account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-account.git"},"scripts":{"lint":"standard","test":"tape ./test/index.js"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"MPL-2.0","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-account/issues"},"homepage":"https://github.com/ethereumjs/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^2.5.0","rlp":"^2.0.0"},"devDependencies":{"standard":"^5.4.1","tape":"^4.0.3"},"gitHead":"9269403c295d03aa7ce5b79618f91f259ae92868","_id":"ethereumjs-account@2.0.0","_shasum":"5af9492e0f030cffdc2a174258e12c3ead5c7b0f","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.2.0","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"5af9492e0f030cffdc2a174258e12c3ead5c7b0f","size":2834,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-2.0.0.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1452099116655,"_hasShrinkwrap":false,"_cnpm_publish_time":1452099116655,"_cnpmcore_publish_time":"2021-12-16T15:32:47.695Z"},"1.0.5":{"name":"ethereumjs-account","version":"1.0.5","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"scripts":{"test":"standard"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"MPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"2.3.1","rlp":"2.0.0"},"devDependencies":{"standard":"^5.4.1"},"gitHead":"b9692a581ed08f60f81ea9481de9f1b04f8138af","_id":"ethereumjs-account@1.0.5","_shasum":"8357fd30afce95838635b03a45433026bb052134","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"8357fd30afce95838635b03a45433026bb052134","size":2628,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-1.0.5.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1448656099192,"_hasShrinkwrap":false,"_cnpm_publish_time":1448656099192,"_cnpmcore_publish_time":"2021-12-16T15:32:47.961Z"},"1.0.4":{"name":"ethereumjs-account","version":"1.0.4","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"scripts":{"test":"standard"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"2.0.4","rlp":"2.0.0"},"devDependencies":{"standard":"^5.3.1"},"gitHead":"2310fd64ca2a3b873097619afb9ea1f40163d07b","_id":"ethereumjs-account@1.0.4","_shasum":"443b8d766d03fcf6b9c128aadb4832ce2a64793a","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"443b8d766d03fcf6b9c128aadb4832ce2a64793a","size":9459,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-1.0.4.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1446540101662,"_hasShrinkwrap":false,"_cnpm_publish_time":1446540101662,"_cnpmcore_publish_time":"2021-12-16T15:32:48.158Z"},"1.0.3":{"name":"ethereumjs-account","version":"1.0.3","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"scripts":{"test":"standard"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"2.0.1","rlp":"2.0.0"},"devDependencies":{"standard":"^5.3.1"},"gitHead":"4f44d5e73edd55f89ff73c7e12d8cdd1a365d547","_id":"ethereumjs-account@1.0.3","_shasum":"c6cb6a0da6578e8863d48120059d4a1fc25963f9","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.0.0","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"c6cb6a0da6578e8863d48120059d4a1fc25963f9","size":10254,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-1.0.3.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1443129340459,"_hasShrinkwrap":false,"_cnpm_publish_time":1443129340459,"_cnpmcore_publish_time":"2021-12-16T15:32:48.394Z"},"1.0.2":{"name":"ethereumjs-account","version":"1.0.2","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"scripts":{"test":"standard"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"2.0.1","rlp":"2.0.0"},"devDependencies":{"standard":"^5.3.1"},"gitHead":"cb277dff8dc5d9814a9b3c30954ca1ca8008c83f","_id":"ethereumjs-account@1.0.2","_shasum":"d5336235a7c51ba4d16d70bb025d12f72152fcab","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.0.0","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"d5336235a7c51ba4d16d70bb025d12f72152fcab","size":9338,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-1.0.2.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1443073823498,"_hasShrinkwrap":false,"_cnpm_publish_time":1443073823498,"_cnpmcore_publish_time":"2021-12-16T15:32:48.701Z"},"1.0.1":{"name":"ethereumjs-account","version":"1.0.1","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"scripts":{"test":"standard"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"2.0.0","rlp":"2.0.0"},"devDependencies":{"standard":"^5.3.1"},"gitHead":"b1f7dd39795c19476333ab79f207ddd835c0c64a","_id":"ethereumjs-account@1.0.1","_shasum":"46e6895b57798b70237c59ac9d7fa52721e2d09e","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.0.0","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"46e6895b57798b70237c59ac9d7fa52721e2d09e","size":9340,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-1.0.1.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1443072155773,"_hasShrinkwrap":false,"_cnpm_publish_time":1443072155773,"_cnpmcore_publish_time":"2021-12-16T15:32:48.957Z"},"1.0.0":{"name":"ethereumjs-account","version":"1.0.0","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"scripts":{"test":"standard"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"2.0.0","rlp":"2.0.0"},"devDependencies":{"standard":"^5.3.1"},"gitHead":"9cf1ca23df0402c61024ed15a0d4b6af9383f919","_id":"ethereumjs-account@1.0.0","_shasum":"553980674583f344ddc1291ac1bc1b1b4cb79d98","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.0.0","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"553980674583f344ddc1291ac1bc1b1b4cb79d98","size":10276,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-1.0.0.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1443055836249,"_hasShrinkwrap":false,"_cnpm_publish_time":1443055836249,"_cnpmcore_publish_time":"2021-12-16T15:32:49.177Z"},"0.0.6":{"name":"ethereumjs-account","version":"0.0.6","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"scripts":{"test":"standard"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"1.5.1","rlp":"1.1.2"},"devDependencies":{"standard":"^5.3.1"},"gitHead":"a02ce71ae904bd60790e36bac9aa1bd73e1a9b1a","_id":"ethereumjs-account@0.0.6","_shasum":"73971dca64ec660a7880a41022e08e9ea2ad22fc","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.0.0","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"73971dca64ec660a7880a41022e08e9ea2ad22fc","size":9358,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-0.0.6.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1442893060981,"_hasShrinkwrap":false,"_cnpm_publish_time":1442893060981,"_cnpmcore_publish_time":"2021-12-16T15:32:49.365Z"},"0.0.5":{"name":"ethereumjs-account","version":"0.0.5","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"scripts":{"test":"standard"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^1.5.0","rlp":"^1.0.1"},"devDependencies":{"standard":"^5.3.1"},"gitHead":"726d5c417bab9154c1b5dc2a58d57129b3d79782","_id":"ethereumjs-account@0.0.5","_shasum":"0aa62f7edb4eb8b609382919d7c2e47e6ad3f3e3","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.0.0","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"0aa62f7edb4eb8b609382919d7c2e47e6ad3f3e3","size":10836,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-0.0.5.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1442797751326,"_hasShrinkwrap":false,"_cnpm_publish_time":1442797751326,"_cnpmcore_publish_time":"2021-12-16T15:32:49.567Z"},"0.0.4":{"name":"ethereumjs-account","version":"0.0.4","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"scripts":{"test":"standard"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^1.5.0","rlp":"^1.0.1"},"devDependencies":{"standard":"^5.3.1"},"gitHead":"750b595a1bf0fc846e9d88b0aaf576875b746cc3","_id":"ethereumjs-account@0.0.4","_shasum":"cda4efc8765425cb7c49cb9a61d53f4863941bfe","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.0.0","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"cda4efc8765425cb7c49cb9a61d53f4863941bfe","size":10301,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-0.0.4.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1442791591329,"_hasShrinkwrap":false,"_cnpm_publish_time":1442791591329,"_cnpmcore_publish_time":"2021-12-16T15:32:50.242Z"},"0.0.3":{"name":"ethereumjs-account","version":"0.0.3","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^1.3.4","rlp":"^1.0.1"},"gitHead":"f92a533c69a45a84495441f28ac0a841c7bfdcef","_id":"ethereumjs-account@0.0.3","scripts":{},"_shasum":"c1cfdc0b441845fd1801b00399dd11dd2bde3beb","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.12.7","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"dist":{"shasum":"c1cfdc0b441845fd1801b00399dd11dd2bde3beb","size":9236,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-0.0.3.tgz"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"directories":{},"publish_time":1437520745718,"_hasShrinkwrap":false,"_cnpm_publish_time":1437520745718,"_cnpmcore_publish_time":"2021-12-16T15:32:50.497Z"},"0.0.2":{"name":"ethereumjs-account","version":"0.0.2","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^1.3.4","rlp":"^1.0.1"},"gitHead":"7030bdb09d71c493eeec64a6b65225f534b97765","_id":"ethereumjs-account@0.0.2","scripts":{},"_shasum":"653f678a86f8e4bf6a7f8c87ab1bcb868fe7dc05","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"dist":{"shasum":"653f678a86f8e4bf6a7f8c87ab1bcb868fe7dc05","size":10312,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-0.0.2.tgz"},"directories":{},"publish_time":1437104228366,"_hasShrinkwrap":false,"_cnpm_publish_time":1437104228366,"_cnpmcore_publish_time":"2021-12-16T15:32:51.029Z"},"0.0.1":{"name":"ethereumjs-account","version":"0.0.1","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^1.3.3","rlp":"^1.0.1"},"gitHead":"3a05a60eeddda649be5f1d4c9979db1611ee3040","_id":"ethereumjs-account@0.0.1","scripts":{},"_shasum":"30487266555ebcdd329b2261aee614127be49f5f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"dist":{"shasum":"30487266555ebcdd329b2261aee614127be49f5f","size":10308,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-0.0.1.tgz"},"directories":{},"publish_time":1437102590439,"_hasShrinkwrap":false,"_cnpm_publish_time":1437102590439,"_cnpmcore_publish_time":"2021-12-16T15:32:51.300Z"},"0.0.0":{"name":"ethereumjs-account","version":"0.0.0","description":"a help module for ethereum account schema","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ethereum/ethereumjs-account.git"},"keywords":["ethereum","account"],"author":{"name":"mjbecze","url":"mjbecze@gmail.com"},"license":"GPL-2.0","bugs":{"url":"https://github.com/ethereum/ethereumjs-account/issues"},"homepage":"https://github.com/ethereum/ethereumjs-account#readme","dependencies":{"ethereumjs-util":"^1.3.2","rlp":"^1.0.1"},"gitHead":"3f13456dd0f928953afc70aab44394a06c3ee7af","_id":"ethereumjs-account@0.0.0","scripts":{},"_shasum":"1457f658936cab4bc47c7d7a954b14015ab60cd0","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"null_radix","email":"mjbecze@gmail.com"},"maintainers":[{"name":"axic","email":""},{"name":"holgerd77","email":""},{"name":"jwasinger","email":""},{"name":"null_radix","email":""},{"name":"ralxz","email":""}],"dist":{"shasum":"1457f658936cab4bc47c7d7a954b14015ab60cd0","size":10299,"noattachment":false,"key":"/ethereumjs-account/-/ethereumjs-account-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ethereumjs-account/download/ethereumjs-account-0.0.0.tgz"},"directories":{},"publish_time":1437067916249,"_hasShrinkwrap":false,"_cnpm_publish_time":1437067916249,"_cnpmcore_publish_time":"2021-12-16T15:32:51.539Z"}},"readme":"# SYNOPSIS\n\n[![NPM Package](https://img.shields.io/npm/v/ethereumjs-account.svg?style=flat-square)](https://www.npmjs.org/package/ethereumjs-account)\n[![Build Status](https://travis-ci.org/ethereumjs/ethereumjs-account.svg?branch=master)](https://travis-ci.org/ethereumjs/ethereumjs-account)\n[![Coverage Status](https://img.shields.io/coveralls/ethereumjs/ethereumjs-account.svg?style=flat-square)](https://coveralls.io/r/ethereumjs/ethereumjs-account)\n[![Gitter](https://img.shields.io/gitter/room/ethereum/ethereumjs-lib.svg?style=flat-square)](https://gitter.im/ethereum/ethereumjs-lib)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nThis library eases the handling of Ethereum accounts, where accounts can be either external accounts\nor contracts (see\n[Account Types](http://ethdocs.org/en/latest/contracts-and-transactions/account-types-gas-and-transactions.html) docs).\n\nNote that the library is not meant to be used to handle your wallet accounts, use e.g. the\n[web3-eth-personal](http://web3js.readthedocs.io/en/1.0/web3-eth-personal.html) package from the\n`web3.js` library for that. This is just a semantic wrapper to ease the use of account data and\nprovide functionality for reading and writing accounts from and to the Ethereum state trie.\n\n# INSTALL\n\n`npm install ethereumjs-account`\n\n# BROWSER\n\nThis module work with `browserify`.\n\n# API\n\n- [`new Account([data])`](#new-accountdata)\n- [`Account` Properties](#account-properties)\n- [`Account` Methods](#account-methods)\n  - [`account.isEmpty()`](#accountisempty)\n  - [`account.isContract()`](#accountiscontract)\n  - [`account.serialize()`](#accountserialize)\n  - [`account.toJSON()`](#accounttojson)\n  - [`account.getCode(trie, cb)`](#accountgetcodetrie-cb)\n  - [`account.setCode(trie, code, cb)`](#accountsetcodetrie-code-cb)\n  - [`account.getStorage(trie, key, cb)`](#accountgetstoragetrie-key-cb)\n  - [`account.setStorage(trie, key, val, cb)`](#accountsetstoragetrie-key-val-cb)\n\n### `new Account([data])`\n\nCreates a new account object\n\n- `data` - an account can be initialized with either a `buffer` containing the RLP serialized account.\n  Or an `Array` of buffers relating to each of the account Properties, listed in order below. For example:\n\n```javascript\nvar raw = [\n  '0x02', //nonce\n  '0x0384', //balance\n  '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421', //stateRoot\n  '0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470', //codeHash\n]\n\nvar account = new Account(raw)\n```\n\nOr lastly an `Object` containing the Properties of the account:\n\n```javascript\nvar raw = {\n  nonce: '',\n  balance: '0x03e7',\n  stateRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',\n  codeHash: '0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470',\n}\n\nvar account = new Account(raw)\n```\n\nFor `Object` and `Array` each of the elements can either be a `Buffer`, hex `String`, `Number`, or an object with a `toBuffer` method such as `Bignum`.\n\n### `Account` Properties\n\n- `nonce` - The account's nonce.\n- `balance` - The account's balance in wei.\n- `stateRoot` - The stateRoot for the storage of the contract.\n- `codeHash` - The hash of the code of the contract.\n\n### `Account` Methods\n\n#### `account.isEmpty()`\n\nReturns a `Boolean` determining if the account is empty.\n\n#### `account.isContract()`\n\nReturns a `Boolean` deteremining if the account is a contract.\n\n#### `account.serialize()`\n\nReturns the RLP serialization of the account as a `Buffer`.\n\n#### `account.toJSON([object])`\n\nReturns the account as JSON.\n\n- `object` - A `Boolean` that defaults to false. If `object` is true then this will return an `Object`, else it will return an `Array`.\n\n#### `account.getCode(trie, cb)`\n\nFetches the code from the trie.\n\n- `trie` - The [trie](https://github.com/ethereumjs/merkle-patricia-tree) storing the accounts.\n- `cb` - The callback.\n\n#### `account.setCode(trie, code, cb)`\n\nStores the code in the trie.\n\n- `trie` - The [trie](https://github.com/ethereumjs/merkle-patricia-tree) storing the accounts.\n- `code` - A `Buffer`.\n- `cb` - The callback.\n\nExample for `getCode` and `setCode`:\n\n```javascript\n// Requires manual merkle-patricia-tree install\nconst SecureTrie = require('merkle-patricia-tree/secure')\nconst Account = require('./index.js').default\n\nlet code = Buffer.from(\n  '73095e7baea6a6c7c4c2dfeb977efac326af552d873173095e7baea6a6c7c4c2dfeb977efac326af552d873157',\n  'hex',\n)\n\nlet raw = {\n  nonce: '',\n  balance: '0x03e7',\n  stateRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',\n  codeHash: '0xb30fb32201fe0486606ad451e1a61e2ae1748343cd3d411ed992ffcc0774edd4',\n}\n\nlet account = new Account(raw)\nlet trie = new SecureTrie()\n\naccount.setCode(trie, code, function(err, codeHash) {\n  console.log(`Code with hash 0x${codeHash.toString('hex')} set to trie`)\n  account.getCode(trie, function(err, code) {\n    console.log(`Code ${code.toString('hex')} read from trie`)\n  })\n})\n```\n\n#### `account.getStorage(trie, key, cb)`\n\nFetches `key` from the account's storage.\n\n#### `account.setStorage(trie, key, val, cb)`\n\nStores a `val` at the `key` in the contract's storage.\n\nExample for `getStorage` and `setStorage`:\n\n```javascript\n// Requires manual merkle-patricia-tree install\nconst SecureTrie = require('merkle-patricia-tree/secure')\nconst Account = require('./index.js').default\n\nlet raw = {\n  nonce: '',\n  balance: '0x03e7',\n  stateRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',\n  codeHash: '0xb30fb32201fe0486606ad451e1a61e2ae1748343cd3d411ed992ffcc0774edd4',\n}\n\nlet account = new Account(raw)\nlet trie = new SecureTrie()\n\nlet key = Buffer.from('0000000000000000000000000000000000000000', 'hex')\nlet value = Buffer.from('01', 'hex')\n\naccount.setStorage(trie, key, value, function(err, value) {\n  account.getStorage(trie, key, function(err, value) {\n    console.log(`Value ${value.toString('hex')} set and retrieved from trie.`)\n  })\n})\n```\n","_attachments":{},"homepage":"https://github.com/ethereumjs/ethereumjs-account#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-account/issues"},"license":"MPL-2.0"}