This is a wrapper around the rust-miniscript crate that is compiled to WebAssembly. It allows you to use Miniscript in NodeJS and in the browser.
Go to https://bitgo.github.io/wasm-miniscript to see a live demo of the wasm-miniscript library in action.
This contains the core library that is compiled to WebAssembly.
It is a wrapper around the rust-miniscript
crate.
If your system has problems with wasm-pack
(Mac M1), you can use the Container.mk
Makefile to build the wasm files:
cd packages/wasm-miniscript
make -f Container.mk build-image
make -f Container.mk build-wasm