/concept-twc-electron

Proof of concept integration wasm trust wallet core in electron app

Primary LanguageJavaScript

Proof of Concept (Electron + Trust Wallet Core)

Tested on a Linux Ubuntu machine

The Trustwallet project recently added beta support for WASM (WebAssembly) to its wallet-core implementation.

Based on the electron app tutorial found here: https://www.electronjs.org/docs/latest/tutorial/quick-start

The goal is to quickly explore the support of the WASM Trustwallet core in electron apps.

Setup

Install dependencies.

yarn

Run

Launch the electron app.

yarn start

Build

Note: Has lots of dependencies (especially when cross compiling for windows).

Detailed build instructions can be found here: https://www.electronjs.org/docs/latest/development/build-instructions-gn

yarn make
yarn make:win