Skip to content
Snippets Groups Projects
Commit 9f340d3f authored by Sydney Anne Erickson's avatar Sydney Anne Erickson :chipmunk:
Browse files

Add build instructions

parent a9b08149
Branches
No related tags found
No related merge requests found
# wallet-generator
## Getting the code
You will need to install git onto your computer, these instructions will depend heavily on what OS you run. After running these commands, you can move on to the next step in the same terminal.
```
git clone https://git.xx.network/xx-labs/wallet-generator.git
```
## Downloading and compiling the Electron app locally
Download and install the latest version of [Node.js v14](https://nodejs.org/en/download/) and then run the following commands. This approach will use the precompiled Go WASM binary, if you'd like you can compile it yourself using the Go instructions below **before running these**.
```
npm install
npm run-script build
npm run-script start:electron
```
## Compiling the Go WASM binary blob
You will need to [install Go](https://golang.org/doc/install) onto your system, and then run the following commands. Then, go back up to the Electron instructions and run those.
```
cd public/wasm
GOOS=js GOARCH=wasm go build -o main.wasm
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment