lib-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 git@github.com: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