0.4.4 • Published 2 years ago

altamoon-hello-world v0.4.4

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
2 years ago

altamoon-hello-world npm version

A Altamoon plugin example

The plugin provides basic functionality to buy or sell given quantity of tokens.

image

It also demonstrates how to implement plugin settings. At this case it does nothing more than Buy and Sell button size change.

image

Install

To install the plugin select "Plugins" at Altamoon UI, paste altamoon-hello-world to "Add custom plugin" field and click "Add plugin"

image

image

Develop

There is no environment limitation. index.js file is the complete plugin file that needs to be served by any server (NodeJS, Nginx, Apache...). This instruction is based on a simple NodeJS server installed as NPM package.

  • Clone the repository and go the plugin folder (cd altamoon-plugins/packages/hello-world)
  • Run npm ci to install dependencies.
  • Run npm start to run a simple HTTP server.
  • Use "Add custom plugin" Altamoon feature and paste http://localhost:8082/index.js to add the plugin.
  • If you make a change to index.js file you need to reload Altamoon via Ctrl + R.
0.3.29

2 years ago

0.4.4

2 years ago

0.3.27

2 years ago

0.4.0

2 years ago

0.3.22

2 years ago

0.3.14

2 years ago