station-massa-wallet

command module
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 8 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
server/restapi
Package restapi massa-wallet
Package restapi massa-wallet
cmd
internal
pkg
app
types/object
Package object provides functionalities for handling different types of Massa objects.
Package object provides functionalities for handling different types of Massa objects.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL