Skip to content

Proof of concept integration wasm trust wallet core in electron app in combination with reactjs

Notifications You must be signed in to change notification settings

rikublock/concept-twc-electron-react

Repository files navigation

Proof of Concept (Electron + React + 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 forge template found here: https://www.electronforge.io/templates/typescript-+-webpack-template

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

Setup

Install dependencies.

yarn install

Run

Launch the electron app.

yarn run start

Build

Detailed build instructions can be found here: https://www.electronforge.io/

Compile the app:

yarn run package

Build distribution packages depending on platform (e.g. *.deb, *.exe, etc.)

yarn run make

Publish

Create a new release (triggered by pushing a new tag)

yarn version
git push -u origin master --follow-tags