{"name":"ethereumjs-tx","version":"1.3.6","description":"An simple module for creating, manipulating and signing ethereum transactions","main":"es5/index.js","scripts":{"coverage":"istanbul cover ./test/index.js","coveralls":"npm run coverage && coveralls <coverage/lcov.info","lint":"standard","test":"npm run test:node && npm run test:browser","test:browser":"karma start karma.conf.js","test:node":"tape ./test/index.js","build:es5":"babel index.js --source-root ./ -d ./es5","build:docs":"documentation --github  -f md ./index.js > ./docs/index.md && contributor"},"keywords":["ethereum","transactions"],"author":{"name":"mjbecze","email":"mb@ethdev.com"},"license":"MPL-2.0","dependencies":{"ethereum-common":"^0.0.18","ethereumjs-util":"^5.0.0"},"devDependencies":{"async":"^2.0.0","babel-cli":"^6.22.2","babel-preset-env":"^1.6.1","babel-preset-stage-0":"^6.16.0","babelify":"^7.3.0","browserify":"^13.0.0","contributor":"^0.1.25","coveralls":"^2.11.4","documentation":"^3.0.4","ethereumjs-testing":"0.0.1","istanbul":"^0.4.1","karma":"^1.1.1","karma-browserify":"^5.1.0","karma-detect-browsers":"^2.0.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.0.0","karma-tap":"^2.0.1","minimist":"^1.2.0","standard":"^7.1.2","tape":"^4.0.3"},"repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-tx.git"},"bugs":{"url":"https://github.com/ethereumjs/ethereumjs-tx/issues"},"homepage":"https://github.com/ethereumjs/ethereumjs-tx","standard":{"ignore":["es5/**","dist/**","package-init.js","package.js"]},"contributors":[{"email":"-c-g-","url":"https://github.com/cgewecke"},{"name":"Kirill Fomichev","email":"fanatid@ya.ru","url":"https://github.com/fanatid"},{"name":"Rick Behl","url":"https://github.com/Nexus7"},{"name":"Tim Coulter","email":"tim@timothyjcoulter.com","url":"https://github.com/tcoulter"},{"name":"kumavis","email":"aaron@kumavis.me","url":"https://github.com/kumavis"},{"name":"Jack Peterson","email":"jack@tinybike.net","url":"https://github.com/tinybike"},{"name":"Nick Dodson","url":"https://github.com/SilentCicero"},{"url":"https://github.com/ckeenan"},{"name":"Alex Beregszaszi","email":"alex@rtfs.hu","url":"https://github.com/axic"},{"url":"https://github.com/wanderer"},{"url":"https://github.com/kvhnuke"}],"gitHead":"0358fad36f6ebc2b8bea441f0187f0ff0d4ef2db","_id":"ethereumjs-tx@1.3.6","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"dist":{"integrity":"sha512-wzsEs0mCSLqdDjqSDg6AWh1hyL8H3R/pyZxehkcCXq5MJEFXWz+eJ2jSv+3yEaLy6tXrNP7dmqS3Kyb3zAONkg==","shasum":"d581c1703b7b250b2e54892031626534d53e0a79","tarball":"http://registry-npm.ywwl.com/ethereumjs-tx/download/ethereumjs-tx-1.3.6.tgz","fileCount":21,"unpackedSize":143115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOftzCRA9TVsSAnZWagAA76oP+QGz3M4hbYN9wMkqXK7E\nXGuz3yFnX8f/+gWqobrYnI6liVfMoV59mYF7d5kCxGTEefA6+L+7wIHtHC33\n83GEswxyRnci4f3pMQXaRFmMKt6CC0To/kkVlqD4k4HLsKvGmoZLiqO4ba4L\nsNYe7AtMS8LI63KMdfXgaN1y7GJTuOXFfCoSUQV0+izW6jnh2yLja3bJeeEW\nIFe9qkaomJdwBMFrNSe7w5807eAKPeDfL0uYcxBTW/GPFBECAGszqc/RiCqt\ngPjnNkHVX5HkTwfAS12kE2x91zHnSyrwahA4tR2C1jH/qDNdDVFTupIE0Rel\nlJKPDre5E1mXWfRrC2nxUAAkB2ysHdFz7X5yD3fskM/X1sHlkSMhnvZfXSyL\n70BWPH0H98Pl+ZYRpD5BDm2InNYR0GadKpqHD04D9M/6Ko263ZbhbJh1VwVJ\nXbt99MCr9AqhQ1riNMeRv2txv1Jgfn1uK2xuFFX3k2zBjm92NHLrikzK8hw1\nGD1FjcdXbleWCkH6r4xnRV5aogesl89UNLtWuPFgBQZ8z5mjk/dB8+gYGcYP\nI+sRWBiTyyaRp++QSLd5G+5Q1pOY4YDwqUe/CzvzjzxhtQGd16N/Yd8fVTR0\n0Wft6kMHK4R39WUzDaKrsOCsP+5AhNA5fKYfLMsQqxBsSLLVBraXwcPU/p8R\nYH1S\r\n=qHng\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGM6xrJwQcGJlZPl5peRpBaZuOtn8BPg49hJ1pOY0pgVAiB3lVh2Tkx69TBKf1CF2vrAst7yAejkFFkB8PhHNJDWTA=="}],"size":36505,"noattachment":false,"key":"/ethereumjs-tx/-/ethereumjs-tx-1.3.6.tgz"},"maintainers":[{"email":"Holger.Drewes@gmail.com","name":"holgerd77"},{"email":"aaron@kumavis.me","name":"kumavis"},{"email":"null_radix@riseup.net","name":"null_radix"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereumjs-tx_1.3.6_1530526579455_0.2337477603443563"},"_hasShrinkwrap":false,"deprecated":"New package name format for new versions: @ethereumjs/tx. Please update.","readme":"# SYNOPSIS\n\n[![NPM Package](https://img.shields.io/npm/v/ethereumjs-tx.svg?style=flat-square)](https://www.npmjs.org/package/ethereumjs-tx)\n[![Actions Status](https://github.com/ethereumjs/ethereumjs-tx/workflows/tx-test/badge.svg)](https://github.com/ethereumjs/ethereumjs-tx/actions)\n[![Coverage Status](https://img.shields.io/coveralls/ethereumjs/ethereumjs-tx.svg?style=flat-square)](https://coveralls.io/r/ethereumjs/ethereumjs-tx)\n[![Gitter](https://img.shields.io/gitter/room/ethereum/ethereumjs-lib.svg?style=flat-square)](https://gitter.im/ethereum/ethereumjs-lib) or #ethereumjs on freenode\n\n# INSTALL\n\n`npm install ethereumjs-tx`\n\n# USAGE\n\n- [example](https://github.com/ethereumjs/ethereumjs-tx/blob/master/examples/transactions.ts)\n\n```javascript\nconst EthereumTx = require('ethereumjs-tx').Transaction\nconst privateKey = Buffer.from(\n  'e331b6d69882b4cb4ea581d88e0b604039a3de5967688d3dcffdd2270c0fd109',\n  'hex',\n)\n\nconst txParams = {\n  nonce: '0x00',\n  gasPrice: '0x09184e72a000',\n  gasLimit: '0x2710',\n  to: '0x0000000000000000000000000000000000000000',\n  value: '0x00',\n  data: '0x7f7465737432000000000000000000000000000000000000000000000000000000600057',\n}\n\n// The second parameter is not necessary if these values are used\nconst tx = new EthereumTx(txParams, { chain: 'mainnet', hardfork: 'petersburg' })\ntx.sign(privateKey)\nconst serializedTx = tx.serialize()\n```\n\n# Chain and Hardfork Support\n\nThe `Transaction` and `FakeTransaction` constructors receives a second parameter that lets you specify the chain and hardfork\nto be used. By default, `mainnet` and `petersburg` will be used.\n\nThere are two ways of customizing these. The first one, as shown in the previous section, is by\nusing an object with `chain` and `hardfork` names. You can see en example of this in [./examples/ropsten-tx.ts](./examples/ropsten-tx.ts).\n\nThe second option is by passing the option `common` set to an instance of [ethereumjs-common](https://github.com/ethereumjs/ethereumjs-common)' Common. This is specially useful for custom networks or chains/hardforks not yet supported by `ethereumjs-common`. You can see en example of this in [./examples/custom-chain-tx.ts](./examples/custom-chain-tx.ts).\n\n## MuirGlacier Support\n\nThe `MuirGlacier` hardfork is supported by the library since the `v2.1.2` release.\n\n## Istanbul Support\n\nSupport for reduced non-zero call data gas prices from the `Istanbul` hardfork\n([EIP-2028](https://eips.ethereum.org/EIPS/eip-2028)) has been added to the library\nalong with the `v2.1.1` release.\n\n# EIP-155 support\n\n`EIP-155` replay protection is activated since the `spuriousDragon` hardfork. To disable it, set the\nhardfork in the `Transaction`'s constructor.\n\n# API\n\n[./docs/](./docs/README.md)\n\n# EthereumJS\n\nSee our organizational [documentation](https://ethereumjs.readthedocs.io) for an introduction to `EthereumJS` as well as information on current standards and best practices.\n\nIf you want to join for work or do improvements on the libraries have a look at our [contribution guidelines](https://ethereumjs.readthedocs.io/en/latest/contributing.html).\n\n# LICENSE\n\n[MPL-2.0](<https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2)>)\n","publish_time":1530526579566,"_cnpm_publish_time":1530526579566,"dist-tags":{"latest":"2.1.2"}}