Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 935 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 935 Bytes

wasm-miniscript

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.

WebUI playground

Go to https://bitgo.github.io/wasm-miniscript to see a live demo of the wasm-miniscript library in action.

Dependencies

Packages

packages/wasm-miniscript

This contains the core library that is compiled to WebAssembly. It is a wrapper around the rust-miniscript crate.

Building

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