@nubit/kzg-js
Version:
WebAssembly-based KZG4844 commitment scheme
24 lines (17 loc) • 500 B
Markdown
# kzg-js
JavaScript SDK for blob compute kzg commitment
## Development
In the toplevel project directory, run this `make` command to build the WebAssembly module:
```bash
GOOS=js GOARCH=wasm go build -o src/element.wasm main.go
```
And then go back here to start the development server:
```bash
npm run dev
```
Before publishing a new package, bump the version first, and then do the dry-run:
```bash
npm run build
npm pack # to check the list of bundled files
npm publish --access=public
```