Plugins are separate services that can be added to a blox and users can opt-in to run them. Each plugin has access to the seed in order to be used for token creation.
1- Each plugin has a name that should be the same as service name and runs in its own docker 2- Each plugin need these 4 files:
- install.sh: which installs the service and dependencies
- start.sh: which starts the service
- stop.sh: which stops the service
- {name}.service: which is the service file itself
- uninstall.sh: which uninstalls and removes the service and associated files
- docker-compose.yml: which is the configuration of docker running the plugin
- info.json: Which includes standard information about hte plugin that will be shown to users
- custom/: Any file that is not in the above and is used by your scripts go to this folder. you have access to python and bash.