The library contains the following components:
src
: Rust library for multi-party PSI using BFVpkg
: JS-TS-WASM package
The rust library is used to build the JS-TS-WASM package using wasm-pack
targeting web
guide. When compiling to web
the output can natively be included on a web page, and doesn't require any further postprocessing. The output is included as an ES module. For more information check wasm-bindgen
guide
wasm-pack build --target web
To test the rust library, run:
cargo test --release