libcoins
v0.0.6lib-coins
Trust Wallet bindings to WebAssembly via Emscripten.
Requirements
- emscripten 1.39.x
- Trust Wallet dependencies
Configuring
Clone this repo with submodules:
$ git clone --recursive [email protected]:blockchain/lib-coins.git
Set
EMSCRIPTEN
environment variable to Emscripten SDK location:$ export EMSCRIPTEN=$HOME/sandbox/emsdk/upstream/emscripten
Building
Build Trust Wallet (might take a while):
$ make core
Build WASM bindings:
$ make build
Serve HTML files (requires
emrun
inPATH
):$ make serve