0

It is unclear to me whether I should build a plugin using the Aragon SDK or if I should build my own smart contracts plugin manually and publish it to the aragonOSx protocol?

1 Answer 1

0

The SDK's current focus is in providing browser clients to interact with the DAO and with any plugins it may have installed. In future iterations, we may provide tools to ease the plugin publication process.

However, as of right now, plugins are built entirely using Solidity. Answer on how to do that is here: Do I need to submit pluginsRepo to the aragon repository or can I use any custom developed plugin from a personal reporegistry contract?

TLDR: every plugin consists of a Plugin.sol contract containing the plugin logic and a PluginSetup.sol contract containing the plugin installation instructions.

Then, in order to publish, you want to call the createPluginRepoWithFirstVersion function from the PluginRepoFactory.sol contract and pass it the address of your PluginSetup.sol contract. After that, you're done and your plugin is published for any Aragon DAO to use!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.