/station-massa-wallet

Massa Station Wallet Module

Primary LanguageGoMIT LicenseMIT

codecov

Massa Wallet Plugin

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

Add a token in the wallet

As a developer, you can add a token in the wallet by following these steps:

  • Open a pull request in the ui-kit to add the icon here and add a line here
  • Open a pull request in this repository to add the token here and update the ui-kit with npm update @massalabs/react-ui-kit

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 can import the swagger file api/walletApi-V0.yml into Postman to test the API.