Socket
Socket
Sign inDemoInstall

altamoon-hello-world

Package Overview
Dependencies
0
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    altamoon-hello-world

Hello world example plugin for Altamoon


Version published
Maintainers
2
Install size
39.3 kB
Created

Readme

Source

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.

FAQs

Last updated on 26 Dec 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc