Initialization
The first steps in development are initializing the plugin, and defining the type of plugin through templates. At the bottom of the page, we will begin to follow a simple example
Make sure you run npm install
in the /plugins
directory in HollaEx Kit before any other steps.
To start the development process, you need to initialize the plugin template. This template includes the folder structure and some pre-defined configurations to facilitate the development experience.
Below is a list of available plugin templates:
Type | Template Details |
---|---|
| adds a new page with customizable access from the side and top menus |
| adds a new verification tab to the user verification page |
| adds a deposit and withdraw page for a fiat currency |
| adds KYC tab to the user verification page |
| adds bank verification tab to the user verification page |
| adds a template without initial meta object values |
| adds an on-ramp section for the fiat controls feature |
| adds an app view to the apps section tables |
| adds a template without any view (Server-only) |
Initializing the Plugin Template
Once you decide on the type of plugin, go to
/plugins
and runnpm run add:plugin --plugin=<PLUGIN_NAME> --type=<PLUGIN_TYPE>
to initialize the plugin template.
This will create a folder named the plugin's name in the /plugins
folder.
Moving Forward - Plugin Components
In order to develop a plugin, we need to understand all the main components of a plugin. These main components of any HollaEx plugin will be looked at in the next sections.
Plugin JSON
Last updated