hello-exchange
and kyc
plugins are two good examples you can find there. The final version of a KYC plugin would look like this. All server side code is included in the server.js which is minified in the final plugin json in a field called script
. The Web components are in /web
folder. Once you build a web bundle you need to provide the link of that in the web_view
of your plugin. Check out here to fully understand how web_view works and how to develop one. version
, name
author
bio
etc. There are two fields called meta
and public_meta
. meta
is used for configuring private variables for the plugin such as secret keys while public_meta
is used for public variables such as a URL or an image etc. These variables are provided in the configure section of the plugin in the Operator controls so once the plugin is installed, the admin can change them dynamically, so we recommend you to put your constant variables using these methods instead of hardcoding them in your script.