Package Exports
- @lit-protocol/wasm
- @lit-protocol/wasm/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@lit-protocol/wasm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
WASM
This package provides high-performance cryptographic operations for the Lit Protocol by implementing core utilities in Rust and compiling them to WebAssembly. It enables efficient cross-platform execution of critical cryptographic functions while maintaining security and performance. The package handles the compilation process through wasm-pack and provides JavaScript bindings for seamless integration.
For detailed implementation information, see the rust directory.
Building
This package contanis scripts for building the rust souce into WebAssembly and correctly encoding the binary artifact.
To perform the entire build / encoding operations you can run rust:build. If you wish to only produce the WebAssembly binding you can see the rust README for build information.