{"name":"verkle-cryptography-wasm","version":"0.4.8","description":"Verkle Trie Crytography WASM/TypeScript Bindings","keywords":["ethereum","verkle","WASM","JavaScript","TypeScript"],"homepage":"https://github.com/ethereumjs/verkle-cryptography-wasm","bugs":{"url":"https://github.com/ethereumjs/verkle-cryptography-wasm/issues"},"repository":{"type":"git","url":"git+https://github.com/ethereumjs/verkle-cryptography-wasm.git"},"license":"MIT/Apache","author":{"name":"Kevaundray Wedderburn"},"contributors":[{"name":"EthereumJS Team"}],"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"./scripts/rust-build.sh && ./scripts/ts-build.sh","clean":"rm -rf node_modules dist","lint":"eslint .","lint:fix":"eslint --fix --config ./.eslintrc.js . --ext .js,.jsx,.ts,.tsx","prepare":"npm run build","test":"npx vitest run","test:browser":"npx vitest run --config=vitest.config.browser.ts --browser.name=webkit --browser.provider=playwright --browser.headless","wasmToB64":"node ./scripts/wasmToB64.js"},"devDependencies":{"@babel/cli":"^7.23.9","@babel/core":"^7.23.9","@babel/preset-env":"^7.23.9","@ethereumjs/util":"^9.0.2","@typescript-eslint/eslint-plugin":"^6.7.3","@typescript-eslint/parser":"^6.7.3","@vitest/browser":"^2.0.5","babel-plugin-transform-import-meta":"^2.2.1","eslint":"^8.50.0","eslint-config-prettier":"8.8.0","eslint-plugin-import":"2.26.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-simple-import-sort":"7.0.0","eventemitter3":"^5.0.1","playwright":"^1.42.1","prettier":"3.0.3","ts-node":"^10.9.1","typescript":"^5.0.4","vite-plugin-wasm":"^3.3.0","vitest":"^2.0.5"},"engines":{"node":">=18","npm":">=7"},"dependencies":{"@scure/base":"^1.1.5"},"_id":"verkle-cryptography-wasm@0.4.8","gitHead":"2a814ff6fe0fb62e0a711e7b52a8e6db37e09733","types":"./dist/cjs/index.d.ts","_nodeVersion":"20.6.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-ssom3p39wVRP63IMU/I7dx0mHZvb7svK8MAoMNlAzX/6CqA7FhtokSBt81RszXs3JXa0k1E40Qr1JPHW0aNkgQ==","shasum":"aad0ba2947d2f397ef992701cb038053bed880e8","tarball":"http://registry-npm.ywwl.com/verkle-cryptography-wasm/download/verkle-cryptography-wasm-0.4.8.tgz","fileCount":40,"unpackedSize":1838525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC9mSg9Cmem5t6O2EetPnhgTVRKMQ7njHN/qXNBVuH+wIgGapSI+MS2Q6AE/y3C6zD7/xvLqmaKFKKECXStwQI/PA="}],"size":638388,"noattachment":false,"key":"/verkle-cryptography-wasm/-/verkle-cryptography-wasm-0.4.8.tgz"},"_npmUser":{"name":"acolytec3","email":"metroman374@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verkle-cryptography-wasm_0.4.8_1726224499924_0.6868006283691996"},"_hasShrinkwrap":false,"readme":"# Verkle Cryptography (WASM/TypeScript)\n\n**Note:** This library is in the process of moving over from https://github.com/crate-crypto/rust-verkle-wasm. Package and build structure are in the process of being reworked and documentation/instructions are not yet fully updated.\n\nThis library provides a WASM build bundled with a TypeScript API of the Rust [rust-verkle](https://github.com/crate-crypto/rust-verkle) implementation and exposes core [Verkle Tree](https://verkle.info/) related crypto and arithmetic primitives to be consumed and used by higher level packages.\n\nThe library has been initially developed by [kevaundray](https://github.com/kevaundray) (a thousand ❤️s for all the great work!) and is now maintained and further developed by Kev and the Ethereum Foundation JavaScript team.\n\nA higher level Verkle Tree TypeScript library using this package is in the works at [https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/verkle](https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/verkle).\n\n## Installation\n\n```\n    npm i verkle-cryptography-wasm\n```\n\n## Basic Structure\n\n### Rust/WASM\n\nThe Rust code and the necessary tooling for the WASM build and a low level TypeScript API exposure can be found in [./src.rs](./src.rs/). The associated README contains the main documentation describing the WASM build process.\n\n### High Level TypeScript API\n\nThe main high level API exposed in a final published package can be found in [./src.ts](./src.ts).  Usage instructions can be found [here](./src.ts/README.md)\n\n### Node.js\n\nThe root folder of this package holds a Node.js [package.json](package.json) file referencing the final package exports and the necessary build scripts.\n\n## Build\n\nBuild scripts can be found in the [scripts](./scripts/) folder and the build process can be triggered with:\n\n```shell\nnpm run build\n```\n\nSee the comments in the build scripts for a more detailed explanation of what occurs in each step.\n\nNote that this requires all Rust/WASM tooling to be installed, so a first look into the dedicated RUST/WASM documentation is recommended.\n\n## Testing\n\nThere are a few high level JavaScript API respectively unit tests available which can be run with:\n\n```shell\nnpm run test\n```\n\n\n\n\n\n","publish_time":1726224500162,"maintainers":[{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"acolytec3","email":"metroman374@gmail.com"}],"_cnpm_publish_time":1726224500162,"dist-tags":{"latest":"0.4.8"}}