This is a NPM package which provides the core crypto primitives necessary to interact with the Shutter Network.
npm install @shutter-network/shutter-crypto
The module provides the following public functions:
Load and initialize the Go wasm library. This Promise needs to be consumed before any other function in the library is called.
On Node the wasmUrlOrPath
parameter is optional. If not given it will be
determined automatically.
In a Web context the path to the shutter-crypto.wasm
file needs to be given
(since it appears no standard cross framework way of automatically determining a
path is available).
...
...
...
Only contains a fix in the README.
Stable release.
Changes:
- Fix node v18 incompatibility
- Add README
First usable version
This includes significant size reduction of the generated wasm file.