AntelopeIO / DUNES

Docker Utilities for Node Execution
Other
26 stars 20 forks source link

DUNE example plug-in extension #102

Closed stephenpdeos closed 1 year ago

stephenpdeos commented 1 year ago

Description from Bucky: DUNE extensions in a nutshell:

Expose the ability for external "plugins" to append to the list of commands that the system recognizes and execute those commands.

From a more concrete, we will want to use pythons module support to dynamically load those modules.

One of the goals of the plugin system is for other chains than mainnet to be able to add functionality to dune or for dapps.

As a part of this task make an example plugin that does something like "bootstrap" a node by creating a few accounts (bob, alice, bucky, Michal, etc). And sets the system contract to all of them. Basically showing how to extend the options for the user and that these plugins will be used for that type of use case.

Also, if you could write some documentation (very brief is fine) in the Readme of how to create a new plugin.

As a separate issue in the future: For EOS we will actually move functionality like bootstrapping a node like an EOS node to an ENF specific plugin, things like creating an account via system contract and other chain specific functionality will go there too.