station-massa-wallet

command module
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 8 Imported by: 0

README

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>.

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