{"_id":"@nomicfoundation/ethereumjs-util","_rev":"30-21294c2916db6080ea9d153f43f4cd85","name":"@nomicfoundation/ethereumjs-util","dist-tags":{"latest":"9.0.4"},"versions":{"8.0.0-rc.1":{"name":"@nomicfoundation/ethereumjs-util","version":"8.0.0-rc.1","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@8.0.0-rc.1","maintainers":[{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"b6d5de62ab87e69f61193c096ab1d07c96190f7b","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.0-rc.1.tgz","fileCount":48,"integrity":"sha512-K1WNkDcpW+LV9tgNK+DBLp82OQT9LiUgOzOFSbul8ZiN3+pyvnvqn1K69qvSf17uIv8uiIrzP3+ZWk2ZXr98qQ==","signatures":[{"sig":"MEYCIQChCtMpCj35/uwxw14BILkom8rJ1D41zrNLZPydEEHccAIhAPV2Wsr4cjpKqhfUFrlMD8jpMyMZiCeb9UuuQDKVEQB2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":179212,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDoRjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoA7A/+LCwBT7aVqOFnvvgWeF4A359AAc3jCnbXkq5JDp3Q/rLDoUjm\r\n7BHgC4BQRJ2wCwRBafVGQWtO5ON22r70Nlp1jiXvbr6MmZxpOR4nt/GMGZMm\r\nUhjDWOexGWhamNmDKgma8kRkvp+wgfWEu0Imqqttuo7cQne2+g3rlUodwDJv\r\nZx6ZJQftiQ2oCP5Ffb7Is1345/xWTWfMjR6HDZpYORnRYCR9vky7CFOgxzXO\r\nR+JzQKxPDrbzWhS8aQsDWW8FiXr7+ewfcYnLf8pUMN0cdFTUjhRO6yEJBcKY\r\nZolj7w4v62fgCQN0mBiT4Za52qm/+gHFPMIVLUbFxyAVvodItfOlsYnvnrQZ\r\niCZbABDihvgL7q8FNlVddNzZ5a6a+Sf7/JSDHVc2qtTLfcUGRkmYd0wYfmeL\r\ndLeo/kBSdToo8Fxy0PnHiAFeCJRmv0eO8chT1XrbUyWcXbuF4PhYiO3L6gO5\r\nHAk8Qrl6hPb0/VOK5HWh4PKS20APFRJ0AQ3c2XPkvZS8kmjBgqIUOeRI52FD\r\nneS615Ul1w0p/ZJiZywxkkRLELmQXbKrHuYwPKdNnX+/PqslhmA7WxLjLsXr\r\nnK4AfffV0mRnPC87lgNIINY5GZsJK5RzvG5F/bdNQchjRCSqrSed3X7im2qN\r\n5dioS32yYWgM1ChqgH33Nx6WiYK0zDnVfQs=\r\n=q1oQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"c73c79dcfbb2ad72516eea3b22ee4f5cae90fa79","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"8.15.1","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"16.15.1","dependencies":{"ethereum-cryptography":"^1.1.2","@nomicfoundation/ethereumjs-rlp":"^4.0.0-beta.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_8.0.0-rc.1_1661895779507_0.6830297828643681","host":"s3://npm-registry-packages"}},"8.0.0-rc.2":{"name":"@nomicfoundation/ethereumjs-util","version":"8.0.0-rc.2","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@8.0.0-rc.2","maintainers":[{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"ddec1c036eddef597044c7aa1505243297214d34","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.0-rc.2.tgz","fileCount":48,"integrity":"sha512-70kdAmPHixCzcBbvdqAV+h25bHFC6tgblPV6cBUzQAtsu66pGRRajbkAi78Ldo0TRSj+9N5J6cGP7qAboT7/5A==","signatures":[{"sig":"MEQCIGIPEEWNMvlL+qn6VBJIu8Nn5Aqq90uYvYBvhLh+74hYAiA5U2MQlAxniQNtw4T8j5hz+YemEQEWk+sd4O9qQq5DQA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":178492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEPoeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOCQ/9EXpxLXJRzmnn2leAWi4oK/vDWbqg+6tUl+tV1RSC54ebBt3A\r\nZV+VgpnxPZHmu89HIpqN91Utlf6rHjc2DaDrgxwgj782pm/1dajCjUFcc3il\r\ncvSnVc3tol/XEMYH+oDzVbH8KK+tZuNLBLUa9NS9Z6rGwQq6kgEJkmww/ZNj\r\nIgOz3jhGA9Sofw1C9wd854h9112lQrb/OH05sTileOMDdTRjW8jwPzcoWT8M\r\n0InKIUkhnF//7jnvPsxBipNzEtKXbEm6pOoz/r/uxUGuVVFDM5Qu5cDNCqh/\r\nhNx8PSoeaLWcOOEUP01wWHmB7zTlZu2EgieqMnv1n12XfrdUq2DnHi3fpczq\r\n4D0wt3cz/zmZbx8pH7t56TAOfNWNiOIKq1GZVnsgrofMJOYx5B5UXPRb7dNg\r\noBvYyKHZwj9+Xd9M7C4aIcryJNiZtKL2c2nkghV9WT1fYmenknNVTRhUDyNp\r\nun3QAgQcKRcWrJmeidoQS91a1NvEgy2rPA8MFs9faqx/CBEDFKYmX6Syxh+p\r\nqdboTaL9+lq+zaPnZf2seEqeSLgRV/xi01L7HBAyC7oIYsFVar2efua0YgrX\r\n8OoFFAapQSp7yf2GnbrcMiQmKBFhsJnsP7KvmOdQXGwjooGQRNWyCWwEZUUz\r\npKvwoWoE/sysHtAa3s9JWIajESGq3tz3tHc=\r\n=tCKO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"5a2a63e2b4d20072a2c8352e0430c6e5241212ee","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"8.18.0","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"16.17.0","dependencies":{"ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"^4.0.0-beta.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_8.0.0-rc.2_1662056989743_0.8190015303541278","host":"s3://npm-registry-packages"}},"8.0.0-rc.3":{"name":"@nomicfoundation/ethereumjs-util","version":"8.0.0-rc.3","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@8.0.0-rc.3","maintainers":[{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"d47dca076b5ea41b4498cf8292666d21f31b4e88","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.0-rc.3.tgz","fileCount":48,"integrity":"sha512-Ldd1NVbk+FtP/JKCQTOVrBJzHMXpMnUdqE9oetAqKVnaLszXMEUa/B0fBdJaPIXKU/c9tAba29/pGxRpcQbgKQ==","signatures":[{"sig":"MEUCIEmPzcLQQKCxQLQf98H5iqd6Vph4m/jaGxIjxA9/59nnAiEAxRVa3SPEjJgiSbYntd8fTPRselh+dRkrhA22gcuD7dM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":178612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEd7gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopLRAAicEyPQZpzgSBGsB6fNRwgcum31lPV6bu6l3AKwvBJLSAqDDg\r\nJBb3dfjmtlBjXRPco88tuQ/YmwwMWViiwGAsAJ4vTytCPjYS6rr+JIFCwmci\r\n85/oaxSIl/fRZVDZ1kjMmsgiv96djzoN0PgKTHocOYa6tWfKcRclyf/1yk4J\r\nSGFSiPzThvGMBhM0h7WWV84FXQ4nZhZ4a3oU4Lg1MNgx03tBpJUggMsPLbmQ\r\nO0EigSEQOAKjzCi/WUGwgiuRVPI0sw8nTyofLAdZ3PvrcQZKyCwB3Nw++OXq\r\nSNppSl3/rCVj1KR3a9gpePMq1u/SGWlF0NpTnuj0vYP8KQ/U5achd0POVxgj\r\nJrXS2Zb2hc2G84S9AzajlYHpjymwFeCVd8jYRL+5fJkFv1v+OVDePHMtZk5K\r\njL1xAf/qb7agm0H3th7kV+no5pflvni+bfNZeJNNpc144V3zuhg1E5IQk9Jc\r\njFmDTKwD0eqJpf23qpgrVbHRN9q5OfUJPfBQe2Mfhy8w5gBcKbfhw/cyS99H\r\nf6NcDrBVdxJZKjzGInYpcsH1sT6BrXcFvgPeFg3K/V/wVlh65cryag0xDELH\r\nO0GKTkhhA2wx7REHhNLlj+LW07pqqegH7asiAmwrlToxttdDxOsNA5FcNlww\r\njQrefOnA4Y5Im86lQvlpxfrMexH0HxSdnbM=\r\n=/JE6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"1db2bd17fd97be7abde2057d60ad405d838089e8","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"8.18.0","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"18.8.0","dependencies":{"ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"^4.0.0-beta.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_8.0.0-rc.3_1662115552743_0.8901838204522965","host":"s3://npm-registry-packages"}},"8.0.0":{"name":"@nomicfoundation/ethereumjs-util","version":"8.0.0","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@8.0.0","maintainers":[{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"deb2b15d2c308a731e82977aefc4e61ca0ece6c5","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.0.tgz","fileCount":48,"integrity":"sha512-2emi0NJ/HmTG+CGY58fa+DQuAoroFeSH9gKu9O6JnwTtlzJtgfTixuoOqLEgyyzZVvwfIpRueuePb8TonL1y+A==","signatures":[{"sig":"MEYCIQDSt7498SJPBVnj2G10kq0yeqqYZA6Q0vWRfZQ5x+VHrAIhAKNYODO4yzOAFsB0YHXM9QK2FDym9msTRSjQTrDM44XN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGfRVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonUA/5AMzrBK+kHx7kC2AfYkc7ocnwqc8f8simFWtNbc9wR+sUrem4\r\nfVkZ8ugXAaDLcEnWbFytOvkK5Ql/sHZp2IkyMfo49zaJ6DU0IIRSZlJcz9hd\r\nxVbCjl1O7V8VELIy1PCTe26epCAvUWfBsKI7SbAKK2Mxuzxp/Chrv9AI1QRk\r\n9iNxUOMUqx0S096kWCxwVyGtU0bN+/c01l+Lw5yFRNMV/Nvd1UcvopX/8U8s\r\nmvmRUCPdktBSQRsLXZoBJu4gDadG5IR46QV047yUEkAq+0B2rE497kKnRccb\r\niSE9KnvNahkIPLnVNSBT6fVA/PBgd1I8TuADoOE29Xs1K9GWwS5YLh6vwo0M\r\nE+nmbGw9bXVLd8jrbVM8WSI7elQzzTrqsgxMqmu4LBFbwdRulRakS5JdWKCH\r\nQa3C+BJulwAiiKxTowiwWuxeR6jiBVKgcGgC0hVq+1reaPFkhG/izAgeSV1S\r\n80WXjEL19fPFCrIKMMKrzJMOzi+Z7Gl3nF58eSAARoWup49s1dVoSz4+oqji\r\ndtYKoFSowAr1WLQKcFRlgBz+hb0vsUJgNZQAz+2k0aOtEpbuEbXZOO56wFmH\r\nm+HF0EeuEkshtjNOzeGkCCGkrtFtwUODo0x0X7JBoKCG1y3WHwmnZoiGXPEg\r\n2UJsZrB8Bn+UOAi59i7yb++OH3k4Fspws4M=\r\n=i32d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"6359e4896ea3fdb0426272e360bbdd095fe862a2","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"8.18.0","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"14.20.0","dependencies":{"ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"^4.0.0-beta.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_8.0.0_1662645333335_0.8741669747229106","host":"s3://npm-registry-packages"}},"8.0.4":{"name":"@nomicfoundation/ethereumjs-util","version":"8.0.4","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@8.0.4","maintainers":[{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"23024089bea2194af0c4e2f89df1c2d5cc524e01","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.4.tgz","fileCount":73,"integrity":"sha512-mI4tr9bazKkaSME9lqG+vSDDGqt1nvaocPCI+YJ8x49ZdtglmLA5vTt0iQ2/s9psZ3yYYJelSSeztsSX1LINPg==","signatures":[{"sig":"MEUCIEux74Dcw2vdHHwEosQM4pjJTPJwfDwmoBXMzdinyqHLAiEA6Olfn1MO8prRPzszU7lNO8YyyuvN8hOFflnWZg6t+Ck=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":223570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEt+pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpyUBAAn0fNYlYvCr/R+JO56d+DKTbth8m2/6IIiDvDZJT8FJDQpmna\r\nh2UUw2jeel+6BqGHUF1SUYqojL4nnNEgOB2/MjLrsJFD1DT2zixlu02xuEU3\r\nxCU1wcLylMftD4LXSUAez+4bIgMGGlVdRywq4zaqcr36PzxwBqO/4VklWOrh\r\n6JpVZf7VnildEHI/DoII7OT3ne+luh110UXVGNmcBYCMZqcyLURTh8ukJ9pj\r\nzydelg8t0XiC2djcPMNYas8f1uwprII895PVZDz7Lxi5+fjs4dK2Yp8UJBTK\r\ns+IflhRB4/Apg3QjNhwCWemidyqlZn/4GBpyUFPNP2fSpAPjOK3K+dhmgxfH\r\nyci8mya+HeusVDOMZNG3vzQ7rlBi3YGdg3A9/VyTUtKKBghRXGXXghEvTnH6\r\nklCA6p9joVDrPrfMcFHklg2rvj9kINSJ8aubF02NyaHdKsVx4LlSIUnbqiX7\r\nFgnoSx8gTieL+4tTP6UStVscsCFOF78YzVII28cFbHPLDmYMXJrrh88ODIQA\r\ngVnN/QDlMhEbLrc6aw/t890UkGqnnC9K1eQhTMx/ypc86f0zgrjCkiOYWyXu\r\naJWUZok6ABBqJ8BjcP6jfEe2SO8Drb0TLwu5mRI73gPNQF869RSKBehG+H3m\r\nZ1YPKotqj0Cg86YGktQPvR32LoztMlVXnq8=\r\n=+qYw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"f8afff178afa66811a8bd0e322b747b3244c208d","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"9.5.0","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"18.15.0","dependencies":{"@chainsafe/ssz":"^0.10.0","ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_8.0.4_1678958505361_0.35176080436639645","host":"s3://npm-registry-packages"}},"8.0.5":{"name":"@nomicfoundation/ethereumjs-util","version":"8.0.5","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@8.0.5","maintainers":[{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"a93bf26134eefeadf8fadcb2c92bd99d6f44fbdd","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.5.tgz","fileCount":73,"integrity":"sha512-giXu6NsfahIcW4EH7VYf058Em866TZgt7Fcdrm0gA4kzG3SeutMFiqcwqsaSq999BlNfa5agE20jR/2j+r4bTA==","signatures":[{"sig":"MEUCIFPLCYdbKkCBYpr9pPAowbPdiD3tRWzAVkIIQZEbcd8NAiEAt2IbibqLWSf9vTKFh3Q2loGFu6KTJhVaDuETJ+ppMe0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":223570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEu1lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIew/+KnEXeeGV5Sj3qTniMUJKYh2P4JNOjtumiIz/Pu27IYbqHqOd\r\nJkWpfBUk/WvTDAA7Bc3RvtkbXZurjWvExN4K6nsUAYuiOuORgAN5ikkAyq3o\r\nW3jEn45fDehak1GueFAhmNryULuSj0VlM+Cp88ek+7DPNgmO8joiHY5nqMzq\r\nAJgGvRdLpe4K/7Q4otkzH/o20WH4oBdMK+8GxjoCj5l6R9+22syzPhAmeyIf\r\nneWIA7ICRkO8Z1xFdeKjxD+JelwhZ+D4fVJ6PRzeUwzvxH5zNms+ydN9xXR8\r\nFQRxglCW5BZHLr9nyEleFg9M31/ZsxmichfRVT9ZqBOc9R5H1LjQ74mIU5Il\r\nrtAjuZjH8juQVTrSvsPI+Z+m145lJKj84Pu8oEGO5j8Zeg6xpUKn3yVLsP09\r\n35nUDlgZn9OZu98Q9t5OHbWPPMXv0kySzogpqSWLLJO4Kl+l06payHZhTdzy\r\n3KY/TwpV2KATVGdAjdAdac2nILCC1KbpK8Fnpqi+2lAD6SX4/0rRMIAPASZd\r\neHGRsFuYL/9QFTlMDGZoDrYoieZnRlMlw9NDnmxeylsUgRZQhUCZQh4Hf0J6\r\njQmsusTO7BWzB1zN0MqNKmJIueBh9O5n3oN14BmLtfaQL56Eb3iu/cvRcLLz\r\nC08VQOW/c3Hoi4RM1yvEaEN3Yfeux1b66aE=\r\n=91UU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"366cf226767136cb3a9a3e5a0675bdd1475ab188","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"9.5.0","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"18.15.0","dependencies":{"@chainsafe/ssz":"^0.10.0","ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"4.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_8.0.5_1678962021144_0.08080891347403196","host":"s3://npm-registry-packages"}},"8.0.6":{"name":"@nomicfoundation/ethereumjs-util","version":"8.0.6","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@8.0.6","maintainers":[{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"dbce5d258b017b37aa58b3a7c330ad59d10ccf0b","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.6.tgz","fileCount":68,"integrity":"sha512-jOQfF44laa7xRfbfLXojdlcpkvxeHrE2Xu7tSeITsWFgoII163MzjOwFEzSNozHYieFysyoEMhCdP+NY5ikstw==","signatures":[{"sig":"MEUCIGD+8DjdWp6baLnwh5yCpvcnAgqmfKV8Xb0Ua0CQXzxgAiEA6Sy/eEMAB956rjqgOpFUhyYoHt6Os9c/iP/KWVcyXRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208432,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkE2D8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9rg//YXN4jtpiJkCiw2P+4pBJMRmCZFnBTVqBvQ8ku0XrLxFU1zkW\r\nmTjrwIJR0jHuCO6JfhglqFuk/0y+n+Fhy8Tmc3BfxavKjhHhavLVe7WMljIh\r\nacXkHt5YWLroAZ4F0WteUVQ/hxHU2e4zGYyI3jU6Y9t9En/t86f9TP8Aazcw\r\n48Q4Wj+OMmXd1OcdNquIwL2hVrt1nW7kEbwxmhmeEXS2qMyyOIJWkVX2OSWO\r\nCKUvmGfjMeOHLoD2S/4inTS9oILbye2Y16Zdf9m/dt1lSejCB6R6k4XR5xKM\r\ntXhfNu78yvYmB/ptY73ha+bUQjep3aTS3RahPgfyvENgtqz27kegJYT1PMDz\r\nRHDbPHo2eWfLEsIN/GK6MF1DW1fBQJ95RYM1R3Bo4+ge89f80023lNrqcraC\r\nGe8kR9J3AqpXbebzLcl7SighAuvL9FFgp+L7yLNQJlLFOLrLd0/TzvnuHKIl\r\nBCkoZ/iD8DuvEgfmPi6DZgniwyIlQJMfsOqgW6GVGt7fxNRF/Mdxa9UfSl8e\r\n+pp7OszF3rDvaISjBV5sLRO9napH8fYWJIFzdo4A4lTT1OgJC319uBXDvwyA\r\nkTdS6hX3YIySUZ6Bz10t4zgOa7TmmmbiDRieEIS3B1v2X3UhcVwapE1d8/9p\r\n35exTzZ6PSBXHhrwFHxPAgaczpDrWpKxb60=\r\n=2EMn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"6359e4896ea3fdb0426272e360bbdd095fe862a2","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"9.5.0","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"18.15.0","dependencies":{"ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_8.0.6_1678991611808_0.5537496311422017","host":"s3://npm-registry-packages"}},"9.0.0":{"name":"@nomicfoundation/ethereumjs-util","version":"9.0.0","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@9.0.0","maintainers":[{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"980f6793278929f8f27f97d29cacd890459ac2b3","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-9.0.0.tgz","fileCount":73,"integrity":"sha512-9EG98CsEC9BnI7AY27F4QXZ8Vf0re8R9XoxQ0//KWF+B7quu6GQvgTq1RlNUjGh/XNCCJNf8E3LOY9ULR85wFQ==","signatures":[{"sig":"MEQCIAg1KPuDQiqk065rthFwW0st/XrPGokiRBhwd78MenTqAiBPl+x/DR/cy1HyFJPqOxp7ucotyIJip27I/0DEn0JPsg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":223538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkE3B7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbWRAAotbk5aaB8VCA2ovYOe/hKQDLFW1Ow0+tY45ibHu1zW9xgeBv\r\n4HnU4JKIEQUoFClSv/BGiWsZeOHGZTGYpgPRJaLh1cX2L5drRKZQY6zUgyr5\r\nYh5HxWyA8s+vh0ODsUH7N5Kt2bBhihb50nXV6PQRMePzrg0XXz4U0nf/a76c\r\nuypRfptmKaHxphPK+c/NFs+pmqBa57Vl2DVyj2Sehf3vb687QCI1lzStQF+A\r\nGudwUyIez07v0m4nf5EZvRPKLn4Q5oqPH/VevbvD5RIy2Yrxn7p2Y073xy9v\r\ny42WRFnwIIFcWhwrfXzRjQaK55ZG9yj7kkIWXHmyiKOTgisi9KcoPJEHd0Om\r\nNkNPdEpQRdAbpd/EYldXqDyAvLmWsqiRX+LYsjO06Xz4X1S0hcWST/7VDaPE\r\nn5eiFQoo+5XZvnfctyxWggAFbutEenuqc2mgSym//u3urL/FYwpRbD+dGH+L\r\nNrWP3hJq7ERAp1QxJ/MUMn2yP3mjshwzIc9W0EFlc5QG1RScnPsw9ddFYlqD\r\nDdGQ2to+omlFzcQMuWDU8E8ZdTMUflX/QIzb5z+9rYaLSHAt2cwYDXqBolu1\r\njgEq4lVbLoXG4hiD2joQSkI4+9BMh7gmOorBvtSXzPZmKCXGjduRpnRAcKCO\r\nsKgJgY3iQz19FOSouqWXod/q9dNJndQ74Bg=\r\n=EgM2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"d2741ff6760179bb4b938226d97a973200a3f4a9","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"9.5.0","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"18.15.0","dependencies":{"@chainsafe/ssz":"^0.10.0","ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_9.0.0_1678995579372_0.6298780962838211","host":"s3://npm-registry-packages"}},"9.0.1":{"name":"@nomicfoundation/ethereumjs-util","version":"9.0.1","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@9.0.1","maintainers":[{"name":"nomic-foundation-publisher","email":"packages@nomic.foundation"},{"name":"antico5","email":"armando.andini@gmail.com"},{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"530cda8bae33f8b5020a8f199ed1d0a2ce48ec89","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-9.0.1.tgz","fileCount":73,"integrity":"sha512-TwbhOWQ8QoSCFhV/DDfSmyfFIHjPjFBj957219+V3jTZYZ2rf9PmDtNOeZWAE3p3vlp8xb02XGpd0v6nTUPbsA==","signatures":[{"sig":"MEUCIQDFnNjZoSq304Bu6CYmrNVLUAsXo9+i1D5HGExiqvGsoQIgH0K6wev0tsR7aaPVoLH7l3sNLlCooSo/d2JQ3qOGPrc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":223538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOsVFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrseRAAn3N5APWxnM2GaYGYpSVTcy7rE1j80j06kxwod9BW/rrGTtTm\r\n/QWjBSKTfI0bbhgXWdQ+0KIjWLSKWg4z53/o4MvDZBkrfO+EmjviWAmeYgAJ\r\no123NMuXAnvEq/4eKu8sCjVNWOalxsEpNoCXBVNowOFQTmDj+lkJfKEzEk6i\r\nENqMoQr3XMwMmCMudrMISZX7Nkp1r8jPsekwVet/+VZav8YFVg/GxqGoTZak\r\np2L6+vlUQFYX2xkId/wxB2FnP2dOo24DTREQYr+9kK0NE9yzFG63vk7gNdeq\r\nIJ70fPeVPDEBM3FKhFrdzLc+U1r1s7BIlkHFlwPi/hDFO9HRFval7d6sB8IE\r\nft5POpPL0eMMCMCbh3TC80HAaGRKVYVLnKfTBd9LChJyCSS8Ay3MOYx0pEoB\r\nzAnTvORVCrCT8/tHhLXGahW5+Lmmbtp0IQNPzU7163B+hty8gJZYyuUL89HL\r\nx/nzXMfxkrtEIvkVgt6n+paK8V61TJMVl/qJGw/Qdq+AfuN2IXg2nm2mdyxA\r\nWoJLjncIHN1VLjevGCbXR/H0YKVY0oDW5uaFRTTH43ME2HT3P8t3lcztIWwP\r\nFZG4nSxq0vU+AL9fuW+MaiuPNwxjQ8xUc1bFDoC/K6979bzT3t8hE5IMtVrr\r\nNN12QNtcuhJhz1Zntwvhlm69ptdH7E/EdDU=\r\n=sj6G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"accc2e2fbcb8e1b2bc7c98293ec91f8a11f8f6c8","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"9.5.0","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"18.15.0","dependencies":{"@chainsafe/ssz":"^0.10.0","ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"5.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_9.0.1_1681573189588_0.08032772210037686","host":"s3://npm-registry-packages"}},"9.0.2":{"name":"@nomicfoundation/ethereumjs-util","version":"9.0.2","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@9.0.2","maintainers":[{"name":"nomic-foundation-publisher","email":"packages@nomic.foundation"},{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"16bdc1bb36f333b8a3559bbb4b17dac805ce904d","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-9.0.2.tgz","fileCount":73,"integrity":"sha512-4Wu9D3LykbSBWZo8nJCnzVIYGvGCuyiYLIJa9XXNVt1q1jUzHdB+sJvx95VGCpPkCT+IbLecW6yfzy3E1bQrwQ==","signatures":[{"sig":"MEQCIEJ6bkuRgBKY0P5ZriUwHpRtUBouJL+dVUIqWUR4ON8MAiBu/U/mmKfASefrGhel2kCXVF8C5iRefm1JyTQvYa608w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":238014},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"214c35781aed77e39f0c11ede7e3d6d12d1c0c73","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"9.8.1","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"18.17.0","dependencies":{"@chainsafe/ssz":"^0.10.0","ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_9.0.2_1692990108791_0.6591221271703271","host":"s3://npm-registry-packages"}},"9.0.3":{"name":"@nomicfoundation/ethereumjs-util","version":"9.0.3","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@9.0.3","maintainers":[{"name":"nomic-foundation-publisher","email":"packages@nomic.foundation"},{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"2f87783b0224f47c131d57f1eecc518afeb01bb2","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-9.0.3.tgz","fileCount":73,"integrity":"sha512-AcvsKHdYqGnDu24P4N3BSYmqUGvLd0vCGIPt0PeFGe0zM37oeswVCAbB2Wpt6IFlIbIKtWQrV9gXj+410WEyfw==","signatures":[{"sig":"MEQCIB+5y4TTEKV5KOW5h4kK+J2oXY73eTJVCfXeSOBZx56AAiBZ2IP5qE9/VQIjRmKq2yroHSA2maX80U9TW/2klXvXhg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":238014},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"42b66e88b0a6ea9201167b683c0a477d5d420e03","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","tape":"tape -r ts-node/register","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"../../config/cli/coverage.sh","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npm run tape -- test/*.spec.ts","docs:build":"npx typedoc --options typedoc.js","test:browser":"karma start karma.conf.js"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"9.8.1","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"18.18.2","dependencies":{"@chainsafe/ssz":"^0.10.0","ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"5.0.3"},"_hasShrinkwrap":false,"devDependencies":{"@types/bn.js":"^5.1.0","@types/secp256k1":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_9.0.3_1697649263011_0.731362083029335","host":"s3://npm-registry-packages"}},"9.0.4":{"name":"@nomicfoundation/ethereumjs-util","version":"9.0.4","keywords":["ethereum","utilities","utils"],"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","_id":"@nomicfoundation/ethereumjs-util@9.0.4","maintainers":[{"name":"schaable","email":"schaable@gmail.com"},{"name":"nomic-foundation-publisher","email":"packages@nomic.foundation"},{"name":"fvictorio","email":"victorio.franco@gmail.com"},{"name":"alcuadrado","email":"email@patriciopalladino.com"}],"contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"dist":{"shasum":"84c5274e82018b154244c877b76bc049a4ed7b38","tarball":"https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-9.0.4.tgz","fileCount":178,"integrity":"sha512-sLOzjnSrlx9Bb9EFNtHzK/FJFsfg2re6bsGqinFinH1gCqVfz9YYlXiMWwDM4C/L4ywuHFCYwfKTVr/QHQcU0Q==","signatures":[{"sig":"MEUCIA8Crp4BO3CMVKKxWKUONrIvoTt4qKjDMqPASZ/hq02lAiEAhD/jskL4dccGR3kySPgqeZpXHK16ko0K1ol8+SF3Rek=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":544968},"main":"dist/cjs/index.js","type":"commonjs","types":"./dist/cjs/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"gitHead":"95852c33f58e53f0656a92dc22f01a140f8d6605","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"../../config/cli/lint.sh","test":"npm run test:node && npm run test:browser","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"DEBUG=ethjs npx vitest run --coverage.enabled --coverage.reporter=lcov","examples":"tsx ../../scripts/examples-runner.ts -- util","lint:fix":"../../config/cli/lint-fix.sh","lint:diff":"../../config/cli/lint-diff.sh","test:node":"npx vitest run","docs:build":"npx typedoc --options typedoc.cjs","test:browser":"npx vitest run --config=./vitest.config.browser.ts --browser.name=chrome --browser.headless","examples:build":"npx embedme README.md"},"_npmUser":{"name":"fvictorio","email":"victorio.franco@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"10.2.3","description":"A collection of utility functions for Ethereum","directories":{},"_nodeVersion":"20.11.0","dependencies":{"ethereum-cryptography":"0.1.3","@nomicfoundation/ethereumjs-rlp":"5.0.4"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"c-kzg":"^2.1.2"},"peerDependenciesMeta":{"c-kzg":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/ethereumjs-util_9.0.4_1707148258025_0.6082013860840119","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-08-30T21:42:59.424Z","modified":"2026-09-14T13:00:13.964Z","8.0.0-rc.1":"2022-08-30T21:42:59.682Z","8.0.0-rc.2":"2022-09-01T18:29:50.045Z","8.0.0-rc.3":"2022-09-02T10:45:52.928Z","8.0.0":"2022-09-08T13:55:33.476Z","8.0.4":"2023-03-16T09:21:45.583Z","8.0.5":"2023-03-16T10:20:21.436Z","8.0.6":"2023-03-16T18:33:32.041Z","9.0.0":"2023-03-16T19:39:39.637Z","9.0.1":"2023-04-15T15:39:49.760Z","9.0.2":"2023-08-25T19:01:49.084Z","9.0.3":"2023-10-18T17:14:23.256Z","9.0.4":"2024-02-05T15:50:58.256Z"},"bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+util%22"},"author":{"name":"EthereumJS Team"},"license":"MPL-2.0","homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util#readme","keywords":["ethereum","utilities","utils"],"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"description":"A collection of utility functions for Ethereum","contributors":[{"url":"https://github.com/tcoulter","name":"Tim Coulter","email":"tim@timothyjcoulter.com"},{"url":"https://github.com/SilentCicero","name":"Nick Dodson"},{"url":"https://github.com/MrChico","name":"Mr. Chico"},{"url":"https://github.com/tad88dev","name":"Dũng Trần","email":"tad88.dev@gmail.com"},{"url":"https://github.com/axic","name":"Alex Beregszaszi","email":"alex@rtfs.hu"},{"url":"https://github.com/tgerring","name":"Taylor Gerring"},{"url":"https://github.com/fanatid","name":"Kirill Fomichev","email":"fanatid@ya.ru"},{"url":"https://github.com/kumavis","name":"kumavis","email":"aaron@kumavis.me"},{"url":"https://github.com/asinyagin","name":"Alexander Sinyagin","email":"sinyagin.alexander@gmail.com"}],"maintainers":[],"readme":"# @ethereumjs/util\n\n[![NPM Package][util-npm-badge]][util-npm-link]\n[![GitHub Issues][util-issues-badge]][util-issues-link]\n[![Actions Status][util-actions-badge]][util-actions-link]\n[![Code Coverage][util-coverage-badge]][util-coverage-link]\n[![Discord][discord-badge]][discord-link]\n\n| A collection of utility functions for Ethereum. |\n| ----------------------------------------------- |\n\n## Installation\n\nTo obtain the latest version, simply require the project using `npm`:\n\n```shell\nnpm install @ethereumjs/util\n```\n\n## Usage\n\nThis package contains the following modules providing respective helper methods, classes and commonly re-used constants.\n\nAll helpers are re-exported from the root level and deep imports are not necessary. So an import can be done like this:\n\n```ts\nimport { hexToBytes, isValidChecksumAddress } from '@ethereumjs/util'\n```\n\n### Module: [account](src/account.ts)\n\nClass representing an `Account` and providing private/public key and address-related functionality (creation, validation, conversion).\n\n```ts\n// ./examples/account.ts\n\nimport { Account } from '@ethereumjs/util'\n\nconst account = Account.fromAccountData({\n  nonce: '0x02',\n  balance: '0x0384',\n  storageRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',\n  codeHash: '0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470',\n})\nconsole.log(`Account with nonce=${account.nonce} and balance=${account.balance} created`)\n```\n\n### Module: [address](src/address.ts)\n\nClass representing an Ethereum `Address` with instantiation helpers and validation methods.\n\n```ts\n// ./examples/address.ts\n\nimport { Address } from '@ethereumjs/util'\n\nconst address = Address.fromString('0x2f015c60e0be116b1f0cd534704db9c92118fb6a')\nconsole.log(`Ethereum address ${address.toString()} created`)\n```\n\n### Module: [blobs](src/blobs.ts)\n\nModule providing helpers for 4844 blobs and versioned hashes.\n\n```ts\n// ./examples/blobs.ts\n\nimport { bytesToHex, computeVersionedHash, getBlobs } from '@ethereumjs/util'\n\nconst blobs = getBlobs('test input')\n\nconsole.log('Created the following blobs:')\nconsole.log(blobs)\n\nconst commitment = new Uint8Array([1, 2, 3])\nconst blobCommitmentVersion = 0x01\nconst versionedHash = computeVersionedHash(commitment, blobCommitmentVersion)\n\nconsole.log(`Versioned hash ${bytesToHex(versionedHash)} computed`)\n```\n\n### Module: [bytes](src/bytes.ts)\n\nByte-related helper and conversion functions.\n\n```ts\n// ./examples/bytes.ts\n\nimport { bytesToBigInt } from '@ethereumjs/util'\n\nconst bytesValue = new Uint8Array([97])\nconst bigIntValue = bytesToBigInt(bytesValue)\n\nconsole.log(`Converted value: ${bigIntValue}`)\n```\n\n### Module: [constants](src/constants.ts)\n\nExposed constants (e.g. `KECCAK256_NULL_S` for string representation of Keccak-256 hash of null)\n\n```ts\n// ./examples/constants.ts\n\nimport { BIGINT_2EXP96, KECCAK256_NULL_S } from '@ethereumjs/util'\n\nconsole.log(`The keccak-256 hash of null: ${KECCAK256_NULL_S}`)\nconsole.log(`BigInt constants (performance), e.g. BIGINT_2EXP96: ${BIGINT_2EXP96}`)\n```\n\n### Module: [db](src/db.ts)\n\nDB interface for database abstraction (Blockchain, Trie), see e.g. [@ethereumjs/trie recipes](https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/trie/recipes/level.ts)) for usage.\n\n### Module: [genesis](src/genesis.ts)\n\nGenesis related interfaces and helpers.\n\n### Module: [internal](src/internal.ts)\n\nInternalized simple helper methods like `isHexPrefixed`. Note that methods from this module might get deprectared in the future.\n\n### Module: [kzg](src/kzg.ts)\n\nKZG interface (used for 4844 blob txs), see [@ethereumjs/tx](https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/tx/README.md#kzg-setup) README for main usage instructions.\n\n### Module: [mapDB](src/mapDB.ts)\n\nSimple map DB implementation using the `DB` interface (see above).\n\n### Module: [signature](src/signature.ts)\n\nFunctionality for signing, signature validation, conversion, recovery.\n\n```ts\n// ./examples/signature.ts\n\nimport { bytesToHex, ecrecover, hexToBytes } from '@ethereumjs/util'\n\nconst chainId = BigInt(3) // Ropsten\n\nconst echash = hexToBytes('0x82ff40c0a986c6a5cfad4ddf4c3aa6996f1a7837f9c398e17e5de5cbd5a12b28')\nconst r = hexToBytes('0x99e71a99cb2270b8cac5254f9e99b6210c6c10224a1579cf389ef88b20a1abe9')\nconst s = hexToBytes('0x129ff05af364204442bdb53ab6f18a99ab48acc9326fa689f228040429e3ca66')\nconst v = BigInt(41)\n\nconst pubkey = ecrecover(echash, v, r, s, chainId)\n\nconsole.log(`Recovered public key ${bytesToHex(pubkey)} from valid signature values`)\n```\n\n### Module: [types](src/types.ts)\n\nVarious TypeScript types. Direct usage is not recommended, type structure might change in the future.\n\n### Module: [withdrawal](src/withdrawal.ts)\n\nClass representing an `EIP-4895` `Withdrawal` with different constructors as well as conversion and output helpers.\n\n```ts\n// ./examples/withdrawal.ts\n\nimport { Withdrawal } from '@ethereumjs/util'\n\nconst withdrawal = Withdrawal.fromWithdrawalData({\n  index: 0n,\n  validatorIndex: 65535n,\n  address: '0x0000000000000000000000000000000000000000',\n  amount: 0n,\n})\n\nconsole.log('Withdrawal object created:')\nconsole.log(withdrawal.toJSON())\n```\n\n## Browser\n\nWith the breaking release round in Summer 2023 we have added hybrid ESM/CJS builds for all our libraries (see section below) and have eliminated many of the caveats which had previously prevented a frictionless browser usage.\n\nIt is now easily possible to run a browser build of one of the EthereumJS libraries within a modern browser using the provided ESM build. For a setup example see [./examples/browser.html](./examples/browser.html).\n\n## API\n\n### Documentation\n\nRead the [API docs](docs/).\n\n### Upgrade Helpers in bytes-Module\n\nDepending on the extend of `Buffer` usage within your own libraries and other planning considerations, there are the two upgrade options to do the switch to `Uint8Array` yourself or keep `Buffer` and do transitions for input and output values.\n\nWe have updated the `@ethereumjs/util` `bytes` module with helpers for the most common conversions:\n\n```ts\nBuffer.alloc(97) // Allocate a Buffer with length 97\nnew Uint8Array(97) // Allocate a Uint8Array with length 97\n\nBuffer.from('342770c0', 'hex') // Convert a hex string to a Buffer\nhexToBytes('0x342770c0') // Convert a prefixed hex string to a Uint8Array, Util.hexToBytes()\n\n`0x${myBuffer.toString('hex')}` // Convert a Buffer to a prefixed hex string\nbytesToHex(myUint8Array) // Convert a Uint8Array to a prefixed hex string\n\nintToBuffer(9) // Convert an integer to a Buffer, old (removed)\nintToBytes(9) // Convert an integer to a Uint8Array, Util.intToBytes()\nbytesToInt(myUint8Array) // Convert a Uint8Array to an integer, Util.bytesToInt()\n\nbigIntToBytes(myBigInt) // Convert a BigInt to a Uint8Array, Util.bigIntToBytes()\nbytesToBigInt(myUint8Array) // Convert a Uint8Array to a BigInt, Util.bytesToInt()\n\nutf8ToBytes(myUtf8String) // Converts a UTF-8 string to a Uint8Array, Util.utf8ToBytes()\nbytesToUtf8(myUint8Array) // Converts a Uint8Array to a UTF-8 string, Util.bytesToUtf8()\n\ntoBuffer(v: ToBufferInputTypes) // Converts various byte compatible types to Buffer, old (removed)\ntoBytes(v: ToBytesInputTypes) // Converts various byte compatible types to Uint8Array, Util.toBytes()\n```\n\nHelper methods can be imported like this:\n\n```ts\nimport { hexToBytes } from '@ethereumjs/util'\n```\n\n### Hybrid CJS/ESM Builds\n\nWith the breaking releases from Summer 2023 we have started to ship our libraries with both CommonJS (`cjs` folder) and ESM builds (`esm` folder), see `package.json` for the detailed setup.\n\nIf you use an ES6-style `import` in your code files from the ESM build will be used:\n\n```ts\nimport { EthereumJSClass } from '@ethereumjs/[PACKAGE_NAME]'\n```\n\nIf you use Node.js specific `require`, the CJS build will be used:\n\n```ts\nconst { EthereumJSClass } = require('@ethereumjs/[PACKAGE_NAME]')\n```\n\nUsing ESM will give you additional advantages over CJS beyond browser usage like static code analysis / Tree Shaking which CJS can not provide.\n\n### Buffer -> Uint8Array\n\nWith the breaking releases from Summer 2023 we have removed all Node.js specific `Buffer` usages from our libraries and replace these with [Uint8Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) representations, which are available both in Node.js and the browser (`Buffer` is a subclass of `Uint8Array`).\n\nWe have converted existing Buffer conversion methods to Uint8Array conversion methods in the [@ethereumjs/util](https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util) `bytes` module, see the respective README section for guidance.\n\n### BigInt Support\n\nStarting with Util v8 the usage of [BN.js](https://github.com/indutny/bn.js/) for big numbers has been removed from the library and replaced with the usage of the native JS [BigInt](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) data type (introduced in `ES2020`).\n\nPlease note that number-related API signatures have changed along with this version update and the minimal build target has been updated to `ES2020`.\n\n### ethjs-util methods\n\nThe following methods are available by an internalized version of the [ethjs-util](https://github.com/ethjs/ethjs-util) package (`MIT` license), see [internal.ts](src/internal.ts). The original package is not maintained any more and the original functionality will be replaced by own implementations over time (starting with the `v7.1.3` release, October 2021).\n\n- arrayContainsArray\n- getBinarySize\n- stripHexPrefix\n- isHexPrefixed\n- isHexString\n- padToEven\n- fromAscii\n- fromUtf8\n- toUtf8\n- toAscii\n- getKeys\n\nThey can be imported by name:\n\n```ts\nimport { stripHexPrefix } from '@ethereumjs/util'\n```\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. If you want to join for work or carry out improvements on the libraries, please review our [contribution guidelines](https://ethereumjs.readthedocs.io/en/latest/contributing.html) first.\n\n## License\n\n[MPL-2.0](<https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2)>)\n\n[util-npm-badge]: https://img.shields.io/npm/v/@ethereumjs/util.svg\n[util-npm-link]: https://www.npmjs.org/package/@ethereumjs/util\n[util-issues-badge]: https://img.shields.io/github/issues/ethereumjs/ethereumjs-monorepo/package:%20util?label=issues\n[util-issues-link]: https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aopen+is%3Aissue+label%3A\"package%3A+util\"\n[util-actions-badge]: https://github.com/ethereumjs/ethereumjs-monorepo/workflows/Util/badge.svg\n[util-actions-link]: https://github.com/ethereumjs/ethereumjs-monorepo/actions?query=workflow%3A%22Util%22\n[util-coverage-badge]: https://codecov.io/gh/ethereumjs/ethereumjs-monorepo/branch/master/graph/badge.svg?flag=util\n[util-coverage-link]: https://codecov.io/gh/ethereumjs/ethereumjs-monorepo/tree/master/packages/util\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","readmeFilename":"README.md"}