Skip to content

massalabs/station-massa-wallet

Repository files navigation

codecov

Massa Wallet Plugin

This is the MassaStation plugin that implements the Massa wallet features.

Developer guide

This section helps developer getting started.

If you want to contribute, please refer to our CONTRIBUTING guide.

Install Task

Follow the installation instructions here: task-install

On Windows, we recommend to run go install github.com/go-task/task/v3/cmd/task@latest and yo use task commands in a git bash terminal.

Install dependencies

task install

Build

Generate the projects: go-swagger, wails, web-frontend:

task generate
task build

Test

task test

Run

For development purpose, you can run the plugin in standalone mode: it will not try to register with MassaStation.

task run

All in one build & run:

task build-run

The STANDALONE environment variable is to run the plugin without MassaStation.

Now navigate into http://localhost:8080. Note that some features will not work if MassaStation-server is not running.

Install manually the plugin for Massa Station:

For development purpose, you can install the plugin manually:

task install-plugin

This will create MassaStation plugin directories and copy the binary file created in the previous step so that MassaStation can detect the plugin and launch it.

Postman collection

You will find a postman collection in the /api directory.

Before testing this API, you must initialize the baseURL variable to <127.0.0.1:8080>.