{"_id":"@darwinia/contracts-verify","_rev":"2-b45e322cf66940ce9082cdcdcdc58d48","name":"@darwinia/contracts-verify","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@darwinia/contracts-verify","version":"1.0.0","author":{"name":"Darwinia dev"},"license":"MIT","_id":"@darwinia/contracts-verify@1.0.0","maintainers":[{"name":"jayjay1024","email":"lygm1062@gmail.com"},{"name":"aki.wu","email":"aki.wu@itering.io"},{"name":"hackfisher","email":"hackfisher@gmail.com"},{"name":"lowoee","email":"1015996366@qq.com"},{"name":"wi1dcard","email":"wi1dcard.cn@gmail.com"}],"homepage":"https://github.com/darwinia-network/darwinia-bridge-sol#readme","bugs":{"url":"https://github.com/darwinia-network/darwinia-bridge-sol/issues"},"dist":{"shasum":"ca793d66ffb3ebefb2f9121d96709af6e186e5e4","tarball":"https://registry.npmjs.org/@darwinia/contracts-verify/-/contracts-verify-1.0.0.tgz","fileCount":58,"integrity":"sha512-XG2Km+QZ+g6SGwoWVocIl8yKITIMfbrd0Mvvm4R7mfyw6iaKjXg1s5zd2t7xlVjEwbeznpQ3Z2l30na4cxQfYA==","signatures":[{"sig":"MEQCIBi6lX+E6V/Jk8M1j1BBL+/gAMWsXRXQaz7ElIsLu3xoAiA0cFPnlT3TC5/QfXCat8Dsjl9CCSkPvHItuj9wo/lfuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":355988},"main":"index.js","gitHead":"6f20950e445e6a63a96d0119c51679220ce2ff1d","scripts":{"ci":"CI=true npx hardhat test && yarn mv-reporter","gas":"npx hardhat gasUsage","test":"npx hardhat test","build":"npx hardhat compile","clean":"shx rm -rf cache artifacts abi","mv-reporter":"mv gasReporterOutput.json ../../gasReporterOutput-verify.json","benchmark:multi":"npx hardhat test test/test_merkle_multi_proof.js test/test_compact_merkle_multi_proof.js","benchmark:single":"npx hardhat test test/test_merkle_proof.js test/test_compact_merkle_proof.js"},"_npmUser":{"name":"aki.wu","email":"aki.wu@itering.io"},"repository":{"url":"git+https://github.com/darwinia-network/darwinia-bridge-sol.git","type":"git"},"_npmVersion":"9.6.6","description":"- CompactMerkleProof.sol: Compact verification for MMPT(16-radix) generated by Substrate [trie](https://github.com/paritytech/trie) lib. - SimpleMerkleProof.sol: Non-compact verification for MMPT(16-radix) generated by Substrate [trie](https://github.com/","directories":{},"_nodeVersion":"18.12.1","dependencies":{"@noble/hashes":"^1.1.4"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.3","chai":"^4.3.4","dotenv":"^10.0.0","ethers":"^5.0.0","hardhat":"^2.3.0","merkletreejs":"0.2.18","ethereum-waffle":"^3.0.0","ethereumjs-util":"^7.0.10","hardhat-abi-exporter":"^2.2.1","hardhat-gas-reporter":"^1.0.6","@nomiclabs/hardhat-ethers":"^2.0.2","@nomiclabs/hardhat-waffle":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/contracts-verify_1.0.0_1693448241449_0.7502484420991424","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-08-31T02:17:21.326Z","modified":"2026-06-22T09:53:51.662Z","1.0.0":"2023-08-31T02:17:21.722Z"},"bugs":{"url":"https://github.com/darwinia-network/darwinia-bridge-sol/issues"},"author":{"name":"Darwinia dev"},"license":"MIT","homepage":"https://github.com/darwinia-network/darwinia-bridge-sol#readme","repository":{"url":"git+https://github.com/darwinia-network/darwinia-bridge-sol.git","type":"git"},"description":"- CompactMerkleProof.sol: Compact verification for MMPT(16-radix) generated by Substrate [trie](https://github.com/paritytech/trie) lib. - SimpleMerkleProof.sol: Non-compact verification for MMPT(16-radix) generated by Substrate [trie](https://github.com/","maintainers":[{"email":"hackfisher@gmail.com","name":"hackfisher"},{"email":"1015996366@qq.com","name":"lowoee"}],"readme":"# Verify\n\n- CompactMerkleProof.sol: Compact verification for MMPT(16-radix) generated by Substrate [trie](https://github.com/paritytech/trie) lib.\n- SimpleMerkleProof.sol: Non-compact verification for MMPT(16-radix) generated by Substrate [trie](https://github.com/paritytech/trie) lib.\n- KeccakMMR.sol: Verification for MMR using `keccak256` hash algorithm.\n- MMR.sol: Verification for MMR using `blake2b` hash algorithm.\n- MerkleMultiProof.sol(WIP): Verification for multimerkle proof of multi-leaves generated by [merkletreejs](https://github.com/miguelmota/merkletreejs).\n- MerkleProof.sol: Verification for merkle proof of single leaf generated by [merkletreejs](https://github.com/miguelmota/merkletreejs).\n- SparseMerkleMultiProof.sol: Verification for sparse merkle multi-proof of multi-leaves generated by [sparse-merkle-tree](./research/sparse_merkle_tree.py).\n","readmeFilename":"README.md"}