Skip to content

Automatically configuring and enabling plugins after installing with ark plugin:install #4591

Answered by sebastijankuzner
alessiodf asked this question in Q&A
Discussion options

You must be logged in to vote

ark plugin:install will install plugin under the selected network data path (for example: /ark-core/devnet /plugins/).

In order to use installed plugin it has to be included in the app.json. We cannot automatically load the plugin based on its manifest file, because we cannot determine which processes will use it (e.g. core, relay). The order of the plugin is also important, because plugins are loaded sequentially as they are listed in app.json. If you use dependencies to other packages that often means that it has to be loaded just after the dependent plugin and we cannot simplify it to be loaded after the other packages. For example if you want to decorate logger which is the first plug…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alessiodf
Comment options

Answer selected by alessiodf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants