{"_id":"@0xhyperchain/common","_rev":"1-d7f779d92e1766103a66e805c773d7dd","name":"@0xhyperchain/common","dist-tags":{"latest":"2.6.4"},"versions":{"3.1.2":{"name":"@0xhyperchain/common","version":"3.1.2","description":"Resources common to all Ethereum implementations","keywords":["ethereum","ethereumjs","constants","parameters","genesis","networks","bootstrap"],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/common#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+common%22"},"repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git"},"license":"MIT","maintainers":[{"name":"0xhyperchain","email":"admin@hyperchain.org"}],"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","docs:build":"typedoc --options typedoc.js","lint":"../../config/cli/lint.sh","lint:diff":"../../config/cli/lint-diff.sh","lint:fix":"../../config/cli/lint-fix.sh","prepublishOnly":"../../config/cli/prepublish.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","test:browser":"karma start karma.conf.js","test:node":"npm run tape -- ./test/*.spec.ts","tsc":"../../config/cli/ts-compile.sh"},"dependencies":{"@ethereumjs/util":"^8.0.6","crc-32":"^1.2.0"},"gitHead":"49c2d93b94e70887d4fafff123eec19ef6a35fec","_id":"@0xhyperchain/common@3.1.2","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-XtjW1gGofQIlfYt6rvyjjTKDgfqs8mU8vzuCZOi86lVfrm3oXKh6+bkOG/aA5gznnwFj0h5ivR60FSisWclMrA==","shasum":"25fc69bbe222c8166f296df233c76e25154b4d7a","tarball":"https://registry.npmjs.org/@0xhyperchain/common/-/common-3.1.2.tgz","fileCount":134,"unpackedSize":298496,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEEudEjwI5saeYTPQxaPrOg37nZXp7e+uAtZZWnrZk+wIhALd772oYQqi8l36V3RjEJfVjz7tj3p1kDoiae8UcoX7l"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSeXyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrmyw/9FAHAUdxxdpOQBpeJmgw0kcvQF5xNnfBYtIORiH+3xL54JUSb\r\ngBBudRhObkm0GUm5jWuXIhHJPJsbf4KusoWWK0Th2kwcTAidtfkHvzpIN19j\r\n0RhdX8N56ht5WpinBVfgBzoGXhgvzf70WXTq26GBOD3zZVi/xDz+epuShqGy\r\nACkt7oKEmuqU9gOmlk9amiTsF2JfDkWtjGGeePye90yFXhwxqsvm1WYG+qYn\r\nna71IfFtXNg6wT40BwKUYVFG02XA+9CuCCrkWT1PxGdymFZ1oQ8gDi7iuA8D\r\nZ2tEousP/6vUUF0iIu9TZWm6OUmhAqRot1oThBFFoylLA4SXBk1VkLYf3SCT\r\nOistC2Tp/jI6sNkU4WHfM3YTy9Ia3H+y8xFnZLWZVjwhqLmN8Bh321X5EuFE\r\nZlja33w0Ryy+Ka+35R1jRCj0hwFD68ndQr4gbgXVgP0LZIlMI0Zc/vi4+3wO\r\n2ZdPX97S+woy6BdTZkiPV9iWhkU7Fdw/uJ1HC0cYjW09QSGet7DbZf4YqLdV\r\nuvQj6m6f9iPV6K/qpNWd0HB72+DJZjX7ko4xoBOE//yxq3/YEHxUGy5msHkY\r\nYzlrWAfOTP2bIdWOGgYkn9/WtSdrzCv/X3tINYgqERKhRffMlhHaf6kvqtjL\r\nl4ZNHSIqzOl8Q9Bw3kj7k8pMA4LNhnoO2Ow=\r\n=m6zX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"0xhyperchain","email":"admin@hyperchain.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common_3.1.2_1682564594683_0.6697164709862409"},"_hasShrinkwrap":false},"2.6.4":{"name":"@0xhyperchain/common","version":"2.6.4","description":"Resources common to all Ethereum implementations","license":"MIT","keywords":["ethereum","ethereumjs","constants","parameters","genesis","networks","bootstrap"],"main":"dist/index.js","types":"dist/index.d.ts","browser":"dist.browser/index.js","scripts":{"build":"npm run build:node && npm run build:browser","build:node":"../../config/cli/ts-build.sh node","build:browser":"../../config/cli/ts-build.sh browser","prepublishOnly":"../../config/cli/prepublish.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","lint:fix":"../../config/cli/lint-fix.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","test:node":"npm run tape -- ./tests/*.spec.ts","test:browser":"karma start karma.conf.js","docs:build":"typedoc --options typedoc.js"},"dependencies":{"crc-32":"^1.2.0","ethereumjs-util":"^7.1.4"},"devDependencies":{"@types/node":"^16.11.7","@types/tape":"^4.13.2","eslint":"^6.8.0","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-tap":"^4.2.0","karma-typescript":"^5.5.3","nyc":"^15.1.0","prettier":"^2.0.5","tape":"^5.3.1","typedoc":"^0.22.4","ts-node":"^10.2.1","typescript":"^4.4.2"},"repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git"},"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/common#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+common%22"},"maintainers":[{"name":"0xhyperchain","email":"admin@hyperchain.org"}],"gitHead":"6b0fb9d889a65edf3964f1e90e922fae7dd6327c","_id":"@0xhyperchain/common@2.6.4","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-7t6tMXkj9livh6aFfCLeEh0i2zpB60fyDGZ0tUYYDjkz0VYxb2FJD3EfVY/99jRoqoH6t7ExcKCCeNXgG64RTg==","shasum":"7c6cf274a0568e55eacbd7ae1d398089bd33f753","tarball":"https://registry.npmjs.org/@0xhyperchain/common/-/common-2.6.4.tgz","fileCount":192,"unpackedSize":2531328,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxRbVu/aXW8O4R+coPZ+DZLKBAKh9r4oVYxXdD/OpQ9QIhAKMTbyV1Tft+iuu3VPxiasbV/cKb4SMaLCkKw5r/pd1E"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSiAcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrsiw//XhunGc/8yID8joBxi0aA33945f0eYMd6S480LEBqJMHhsCVu\r\njT/NfAMNZUS+y4CahBeuYVzot+VdQTJl5uspoodg0jXOgbCOkHSlaoJt2pQ+\r\nK5azTBuzkLmliX8LsnrusU4OTUPTsbIBbRCgqD6RdVA/CNDr/g1X64n9qVWG\r\nkpkgNZ9P7qfSJtH+QOPnOYehMQPYbv2lFKv1WeNIjDGKn/oagZO6emsh16Nt\r\nrA6wloiTyxz7I3989sZOUp5+pxa2pIFlHlO6eGZ11H8/Ifiv7jlQ6xZWFW2+\r\nur5j9oF33U14p8LztG5RKms5MLtJKMsGsanqz6zU3XbSLQYrb/QsiThyP7oW\r\n/8M2ecn3VZi1917/zwEXI5I60AX8ckREX9vnI2UM1NAtTj6KHrWPdTWrktVW\r\nP64fmKDxGSYVY+h+qzqKwAebDsWcD20p6+ZiNfpai1EbybO2NhiZl2vIVtt9\r\nCse5bWLfzQcAmni7Zlw5pvDfH6Etc1z64QvE2Dyi/f4gMEs8XHJ5a45q+IhE\r\nx1liMRm6mtZORsovesNLiMAVitl3k6/gFD/74P5qZir0OdIzSqVeCncEdPy9\r\nYtz+NQFDG2j3UhC1QjSzEZ3Uw7WRXMTIibpoRulPSB7Ft9f08IThb6Zmd/JB\r\nnmZ/R851Pk2Vq7kafQswHLp3f4U7VJ89E/o=\r\n=97Ic\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"0xhyperchain","email":"admin@hyperchain.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common_2.6.4_1682579484383_0.816970140850203"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-27T03:03:14.629Z","3.1.2":"2023-04-27T03:03:14.902Z","modified":"2023-04-27T07:11:24.840Z","2.6.4":"2023-04-27T07:11:24.697Z"},"maintainers":[{"name":"0xhyperchain","email":"admin@hyperchain.org"}],"description":"Resources common to all Ethereum implementations","homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/common#readme","keywords":["ethereum","ethereumjs","constants","parameters","genesis","networks","bootstrap"],"repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git"},"bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+common%22"},"license":"MIT","readme":"# @ethereumjs/common\n\n[![NPM Package][common-npm-badge]][common-npm-link]\n[![GitHub Issues][common-issues-badge]][common-issues-link]\n[![Actions Status][common-actions-badge]][common-actions-link]\n[![Code Coverage][common-coverage-badge]][common-coverage-link]\n[![Discord][discord-badge]][discord-link]\n\n| Resources common to all EthereumJS implementations. |\n| --------------------------------------------------- |\n\nNote: this `README` reflects the state of the library from `v2.0.0` onwards. See `README` from the [standalone repository](https://github.com/ethereumjs/ethereumjs-common) for an introduction on the last preceding release.\n\n# INSTALL\n\n`npm install @ethereumjs/common`\n\n# USAGE\n\n## import / require\n\nimport (CommonJS, TypeScript with `esModuleInterop` enabled):\n\n`import Common from '@ethereumjs/common`\\\n`import Common, { Chain, Hardfork } from '@ethereumjs/common`\n\nrequire (ES Modules, Node.js):\n\n`const Common = require('@ethereumjs/common').default`\\\n`const { default: Common, Chain, Hardfork } = require('@ethereumjs/common')`\n\n## Parameters\n\nAll parameters can be accessed through the `Common` class, instantiated with an object containing either the `chain` (e.g. 'mainnet') or the `chain` together with a specific `hardfork` provided:\n\n```typescript\n// With strings:\nconst common = new Common({ chain: 'mainnet', hardfork: 'london' })\n// With enums:\nconst common = new Common({ chain: Chain.Mainnet, hardfork: Hardfork.London })\n```\n\nIf no hardfork is provided, the common is initialized with the default hardfork.\n\nCurrent `DEFAULT_HARDFORK`: `istanbul`\n\nHere are some simple usage examples:\n\n```typescript\n// Instantiate with the chain (and the default hardfork)\nlet c = new Common({ chain: 'ropsten' })\nc.param('gasPrices', 'ecAddGas') // 500\n\n// Chain and hardfork provided\nc = new Common({ chain: 'ropsten', hardfork: 'byzantium' })\nc.param('pow', 'minerReward') // 3000000000000000000\n\n// Access genesis data for Ropsten network\nc.genesis().hash // 0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d\n\n// Get bootstrap nodes for chain/network\nc.bootstrapNodes() // Array with current nodes\n\n// Instantiate with an EIP activated\nc = new Common({ chain: 'mainnet', eips: [2537] })\n```\n\nIf the initializing library only supports a certain range of `hardforks` you can use the `supportedHardforks` option to restrict hardfork access on the `Common` instance:\n\n```typescript\nconst c = new Common({\n  chain: 'ropsten',\n  supportedHardforks: ['byzantium', 'constantinople', 'petersburg'],\n})\n```\n\nThis will throw an error when a param is requested for an unsupported hardfork\nto prevent unpredictable behavior.\n\nFor an improved developer experience, there are `Chain` and `Hardfork` enums available:\n\n```typescript\nimport Common, { Chain, Hardfork } from '@ethereumjs/common'\n\n// Chain provided by Chain enum\nconst c = new Common({ chain: Chain.Mainnet })\n\n// Chain provided by Chain enum, hardfork provided by Hardfork enum\nconst c = new Common({ chain: Chain.Ropsten, hardfork: Hardfork.Byzantium })\n```\n\n# API\n\nSee the API documentation for a full list of functions for accessing specific chain and\ndepending hardfork parameters. There are also additional helper functions like\n`paramByBlock (topic, name, blockNumber)` or `hardforkIsActiveOnBlock (hardfork, blockNumber)`\nto ease `blockNumber` based access to parameters.\n\n- [API Docs](./docs/README.md)\n\n# EVENTS\n\nThe `Common` class is implemented as an `EventEmitter` and is emitting the following events\non which you can react within your code:\n\n| Event             | Description                                                |\n| ----------------- | ---------------------------------------------------------- |\n| `hardforkChanged` | Emitted when a hardfork change occurs in the Common object |\n\n# SETUP\n\n## Chains\n\nThe `chain` can be set in the constructor like this:\n\n```typescript\nconst c = new Common({ chain: 'ropsten' })\n```\n\nOr optionally with the `Chain` enum:\n\n```typescript\nimport Common, { Chain } from '@ethereumjs/common'\n\nconst c = new Common({ chain: Chain.Ropsten })\n```\n\nSupported chains:\n\n- `mainnet` (`Chain.Mainnet`)\n- `ropsten` (`Chain.Ropsten`)\n- `rinkeby` (`Chain.Rinkeby`)\n- `kovan` (`Chain.Kovan`)\n- `goerli` (`Chain.Goerli`)\n- `sepolia` (`Chain.Sepolia`) (`v2.6.1`+)\n- Private/custom chain parameters\n\nThe following chain-specific parameters are provided:\n\n- `name`\n- `chainId`\n- `networkId`\n- `consensusType` (e.g. `pow` or `poa`)\n- `consensusAlgorithm` (e.g. `ethash` or `clique`)\n- `consensusConfig` (depends on `consensusAlgorithm`, e.g. `period` and `epoch` for `clique`)\n- `genesis` block header values\n- `hardforks` block numbers\n- `bootstrapNodes` list\n- `dnsNetworks` list ([EIP-1459](https://eips.ethereum.org/EIPS/eip-1459)-compliant list of DNS networks for peer discovery)\n\nTo get an overview of the different parameters have a look at one of the chain-specifc\nfiles like `mainnet.json` in the `chains` directory, or to the `Chain` type in [./src/types.ts](./src/types.ts).\n\n### Working with private/custom chains\n\nThere are two distinct APIs available for setting up custom(ized) chains.\n\n#### Basic Chain Customization / Predefined Custom Chains\n\nThere is a dedicated `Common.custom()` static constructor which allows for an easy instantiation of a Common instance with somewhat adopted chain parameters, with the main use case to adopt on instantiating with a deviating chain ID (you can use this to adopt other chain parameters as well though). Instantiating a custom common instance with its own chain ID and inheriting all other parameters from `mainnet` can now be as easily done as:\n\n```typescript\nconst common = Common.custom({ chainId: 1234 })\n```\n\nThe `custom()` method also takes a string as a first input (instead of a dictionary). This can be used in combination with the `CustomChain` enum dict which allows for the selection of predefined supported custom chains for an easier `Common` setup of these supported chains:\n\n```typescript\nconst common = Common.custom(CustomChain.ArbitrumRinkebyTestnet)\n```\n\nThe following custom chains are currently supported:\n\n- `PolygonMainnet`\n- `PolygonMumbai`\n- `ArbitrumRinkebyTestnet`\n- `xDaiChain`\n- `OptimisticKovan`\n- `OptimisticEthereum`\n\n`Common` instances created with this simplified `custom()` constructor can't be used in all usage contexts (the HF configuration is very likely not matching the actual chain) but can be useful for specific use cases, e.g. for sending a tx with `@ethereumjs/tx` to an L2 network (see the `Tx` library [README](https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/tx) for a complete usage example).\n\n#### Activate with a single custom Chain setup\n\nIf you want to initialize a `Common` instance with a single custom chain which is then directly activated\nyou can pass a dictionary - conforming to the parameter format described above - with your custom chain\nvalues to the constructor using the `chain` parameter or the `setChain()` method, here is some example:\n\n```typescript\nimport myCustomChain from './[PATH]/myCustomChain.json'\nconst common = new Common({ chain: myCustomChain })\n```\n\n#### Initialize using customChains Array\n\nA second way for custom chain initialization is to use the `customChains` constructor option. This\noption comes with more flexibility and allows for an arbitrary number of custom chains to be initialized on\na common instance in addition to the already supported ones. It also allows for an activation-independent\ninitialization, so you can add your chains by adding to the `customChains` array and either directly\nuse the `chain` option to activate one of the custom chains passed or activate a build in chain\n(e.g. `mainnet`) and switch to other chains - including the custom ones - by using `Common.setChain()`.\n\n```typescript\nimport myCustomChain1 from './[PATH]/myCustomChain1.json'\nimport myCustomChain2 from './[PATH]/myCustomChain2.json'\n// Add two custom chains, initial mainnet activation\nconst common1 = new Common({ chain: 'mainnet', customChains: [myCustomChain1, myCustomChain2] })\n// Somewhat later down the road...\ncommon1.setChain('customChain1')\n// Add two custom chains, activate customChain1\nconst common1 = new Common({\n  chain: 'customChain1',\n  customChains: [myCustomChain1, myCustomChain2],\n})\n```\n\nIt is also possible (`v2.5.0`+) to pass in a custom genesis state file (see e.g. `src/genesisStates/goerli.json` for an example on the format needed) along with the custom chain configuration:\n\n```typescript\nimport myCustomChain1 from '[PATH_TO_MY_CHAINS]/myCustomChain1.json'\nimport chain1GenesisState from '[PATH_TO_GENESIS_STATES]/chain1GenesisState.json'\nconst common = new Common({\n  chain: 'myCustomChain1',\n  customChains: [[myCustomChain1, chain1GenesisState]],\n})\n```\n\nA more complex example with genesis state with Contract and EoA states would have the following format:\n\n```typescript\nconst complexState = {\n  // For EoA\n  '0x0...01': '0x100',\n  // For contracts\n  '0x0...02': [\n    '0x1',\n    '0xRUNTIME_BYTECODE',\n    [\n      [key1, value1],\n      [key2, value2],\n    ],\n  ],\n}\nimport myCustomChain1 from '[PATH_TO_MY_CHAINS]/myCustomChain1.json'\nconst common = new Common({\n  chain: 'myCustomChain1',\n  customChains: [[myCustomChain1, complexState]],\n})\n```\n\nAccessing the genesis state can be done as follows:\n\n```typescript\nconst genesisState = common.genesisState()\n```\n\nThis now also provides direct access to custom genesis states passed into `Common` as described above. The old Common-separate `genesisStateByName()` and `genesisStateById()` functions are now `deprecated` and usage should be avoided.\n\n## Hardforks\n\nThe `hardfork` can be set in constructor like this:\n\n```typescript\nconst c = new Common({ chain: 'ropsten', hardfork: 'byzantium' })\n```\n\nOr optionally with the `Hardfork` enum:\n\n```typescript\nimport Common, { Chain, Hardfork } from '@ethereumjs/common'\n\nconst c = new Common({\n  chain: Chain.Ropsten,\n  hardfork: Hardfork.Byzantium,\n})\n```\n\n### Active Hardforks\n\nThere are currently parameter changes by the following past and future hardfork by the\nlibrary supported:\n\n- `chainstart` (`Hardfork.Chainstart`)\n- `homestead` (`Hardfork.Homestead`)\n- `dao` (`Hardfork.Dao`)\n- `tangerineWhistle` (`Hardfork.TangerineWhistle`)\n- `spuriousDragon` (`Hardfork.SpuriousDragon`)\n- `byzantium` (`Hardfork.Byzantium`)\n- `constantinople` (`Hardfork.Constantinople`)\n- `petersburg` (`Hardfork.Petersburg`) (aka `constantinopleFix`, apply together with `constantinople`)\n- `istanbul` (`Hardfork.Istanbul`) (`DEFAULT_HARDFORK` (`v2.0.0` release series))\n- `muirGlacier` (`Hardfork.MuirGlacier`)\n- `berlin` (`Hardfork.Berlin`) (since `v2.2.0`)\n- `london` (`Hardfork.London`) (since `v2.4.0`)\n- `merge` (`Hardfork.Merge`) (since `v2.5.0`, `experimental`)\n\n### Future Hardforks\n\nThe next upcoming HF `shanghai` is currently not yet supported by this library.\n\n### Parameter Access\n\nFor hardfork-specific parameter access with the `param()` and `paramByBlock()` functions\nyou can use the following `topics`:\n\n- `gasConfig`\n- `gasPrices`\n- `vm`\n- `pow`\n\nSee one of the hardfork files like `byzantium.json` in the `hardforks` directory\nfor an overview. For consistency, the chain start (`chainstart`) is considered an own\nhardfork.\n\nThe hardfork-specific json files only contain the deltas from `chainstart` and\nshouldn't be accessed directly until you have a specific reason for it.\n\n## EIPs\n\nStarting with the `v2.0.0` release of the library, EIPs are now native citizens within the library\nand can be activated like this:\n\n```typescript\nconst c = new Common({ chain: Chain.Mainnet, eips: [2537] })\n```\n\nThe following EIPs are currently supported:\n\n- [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559): Fee market change for ETH 1.0 chain\n- [EIP-2315](https://eips.ethereum.org/EIPS/eip-2315): Simple subroutines for the EVM (`experimental`)\n- [EIP-2537](https://eips.ethereum.org/EIPS/eip-2537): BLS precompiles\n- [EIP-2565](https://eips.ethereum.org/EIPS/eip-2565): ModExp gas cost\n- [EIP-2718](https://eips.ethereum.org/EIPS/eip-2565): Transaction Types\n- [EIP-2929](https://eips.ethereum.org/EIPS/eip-2929): gas cost increases for state access opcodes\n- [EIP-2930](https://eips.ethereum.org/EIPS/eip-2930): Optional accesss list tx type\n- [EIP-3198](https://eips.ethereum.org/EIPS/eip-3198): Base fee Opcode\n- [EIP-3529](https://eips.ethereum.org/EIPS/eip-3529): Reduction in refunds\n- [EIP-3540](https://eips.ethereum.org/EIPS/eip-3541) - EVM Object Format (EOF) v1 (`experimental`)\n- [EIP-3541](https://eips.ethereum.org/EIPS/eip-3541): Reject new contracts starting with the 0xEF byte\n- [EIP-3554](https://eips.ethereum.org/EIPS/eip-3554): Difficulty Bomb Delay to December 2021 (only PoW networks)\n- [EIP-3607](https://eips.ethereum.org/EIPS/eip-3607): Reject transactions from senders with deployed code\n- [EIP-3670](https://eips.ethereum.org/EIPS/eip-3670): EOF - Code Validation (`experimental`)\n- [EIP-3675](https://eips.ethereum.org/EIPS/eip-3675): Upgrade consensus to Proof-of-Stake (`experimental`)\n- [EIP-3855](https://eips.ethereum.org/EIPS/eip-3855): Push0 opcode (`v2.6.1`+)\n- [EIP-3860](https://eips.ethereum.org/EIPS/eip-3855): Limit and meter initcode (`experimental`)\n- [EIP-4345](https://eips.ethereum.org/EIPS/eip-4345): Difficulty Bomb Delay to June 2022\n- [EIP-4399](https://eips.ethereum.org/EIPS/eip-4399): Supplant DIFFICULTY opcode with PREVRANDAO (Merge) (`experimental`)\n\n## Bootstrap Nodes\n\nYou can use `common.bootstrapNodes()` function to get nodes for a specific chain/network.\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[MIT](https://opensource.org/licenses/MIT)\n\n[discord-badge]: https://img.shields.io/static/v1?logo=discord&label=discord&message=Join&color=blue\n[discord-link]: https://discord.gg/TNwARpR\n[common-npm-badge]: https://img.shields.io/npm/v/@ethereumjs/common.svg\n[common-npm-link]: https://www.npmjs.com/package/@ethereumjs/common\n[common-issues-badge]: https://img.shields.io/github/issues/ethereumjs/ethereumjs-monorepo/package:%20common?label=issues\n[common-issues-link]: https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aopen+is%3Aissue+label%3A\"package%3A+common\"\n[common-actions-badge]: https://github.com/ethereumjs/ethereumjs-monorepo/workflows/Common/badge.svg\n[common-actions-link]: https://github.com/ethereumjs/ethereumjs-monorepo/actions?query=workflow%3A%22Common%22\n[common-coverage-badge]: https://codecov.io/gh/ethereumjs/ethereumjs-monorepo/branch/master/graph/badge.svg?flag=common\n[common-coverage-link]: https://codecov.io/gh/ethereumjs/ethereumjs-monorepo/tree/master/packages/common\n","readmeFilename":"README.md"}