From source
Prerequisites
The CLI installation guide needs two requirements.
Golang 1.20+
Terminal or any command line interface of your choice
Setup the repository
git clone https://gitlab.com/accumulatenetwork/core/wallet.git
cd walletBuild
The following instructions work for macOS, Linux, and Windows.
Using Task is the easiest way to build the wallet.
Install Task:
go install github.com/go-task/task/v3/cmd/task@latestAdd ~/go/bin to your path:
Linux and macOS:
export PATH="$PATH:$(go env GOPATH)/bin"
Checkout the version you want to build:
git checkout v0.5.0
Execute the task:
GUI:
task build-appCLI:
task build-cli
This will create an executable or app bundle in the repository root.
git checkout VERSION # e.g. v0.5.0
cd cmd/accumulate-app
go run github.com/wailsapp/wails/v2/cmd/wails buildOnce you run the command above, a binary (Windows, Linux) or app (macOS) should appear in the build/bin directory.
git checkout VERSION # e.g. v0.5.0
go build ./cmd/accumulateOnce you run the command above, a binary named accumulate will appear in the root directory.
Last updated