Cryptocurrency

Make plugin deployment easy

We are pleased to announce Aragon OSx CLIA tool that makes it easy to build, deploy, and publish plugins on Aragon OSx.

The CLI not only abstracts the complexity of deploying and publishing plugins, but also provides better error handling, allowing you to debug and resolve issues faster.

Let’s take a look at how the Aragon OSx CLI makes development fast and easy so you can focus on building custom features for your DAO!

“CLI allows us to build faster, more securely, and eliminates the need to work with raw protocols.”

— Aaron, Developer Experience Engineer

Plugins are smart contracts that change the logic of the DAO. You can install, uninstall and upgrade. Think of plugins like apps you install on your computer. Add additional features that expand what DAO can do!

Plugins can perform various tasks on-chain. Here are some categories:

  • rule: Change the decision-making mechanism of the DAO, such as installing token voting plugins, cross-chain voting plugins, etc.
  • Asset Management: Swap tokens with the Uniswap plugin, stake assets with the Lido plugin, or buy NFTs with the OpenSea plugin.
  • member: Customize your voting census. Grant membership to individuals using the Non-Transferable Tokens plugin, approved wallets using the Multi-Signature plugin, or token holders using the ERC-20 plugin.
  • Other This expands the capabilities of DAO on-chain!

One example of a plugin is the Multichain Governance plugin. By installing this, the DAO can change the DAO from a single chain to a multi-chain.

Plugins make DAO modular by providing options to create custom logic, install any combination of plugins you need, and remove plugins you no longer need. This allows you to adapt your DAO to changing requirements without having to abandon your existing DAO and deploy a new one.

Modularization through plugins allows your DAO to operate in a complex and ever-changing world and leverage the latest innovations and best practices!

that much Aragon OSx CLI It is a terminal interface that allows developers to build plugins more easily and quickly.

Here’s what you can expect from the CLI:

Faster development process

Aragon OSx CLI speeds up the development process and ensures you build in a protocol-compliant manner. Commands allow you to publish and distribute plugins without having to dive deep into how OSx works internally.

This provides an overall smoother builder experience, reduces errors, and makes the process of building custom governance functions for your DAO much faster!

More detailed error message

There’s nothing more frustrating than a generic error message that doesn’t explain what needs to be done to fix the problem. Aragon OSx CLI has descriptive error messages to help you debug faster.

Here’s an example of the more descriptive error message we added: When setting up a subdomain for DAO (a dao.eth address), the protocol expects the subdomain to be unique, all lowercase, and not contain periods.

If you submit a subdomain like Aragon.plugin for your plugin, it is not valid because it is capitalized and has a period.

Prior to deploying the CLI, the error message Invalid Subdomain was used without providing any further instructions. The CLI now adds more validation and context to be more specific about the error, allowing faster fixes, such as: Invalid subdomain: Domain is capitalized and contains periods. Subdomains must be unique, must be all lowercase, and cannot contain any symbols other than “-“.

“Before CLI, you had to know a lot about protocols to go from idea to plugin. It abstracts away all the steps.”

— Aaron, Developer Experience Engineer

Check out some of the commands available in the Aragon CLI.

Plugin distribution (distribution)

Deploy the plugin to the selected network. This is required before publishing to the Aragon OSx protocol.

Publish Plugin ( Publish )

We publish our plugins to a plugin registry so that anyone can install them in their DAO.

View plugin information ( info )

You can view information about a plugin after it is published to the plugin registry.

Transaction simulation ( –simulate )

The –simulate option in the deploy and publish commands uses Tenderly to simulate transactions, making it easier to trace and debug where errors may occur without actually executing transactions on the chain. This will be available soon, so stay tuned for more!

Install new plugin in new DAO

Create a new DAO and install the plugin.

What’s next for OSx CLI?

We’ll publish a CLI and get feedback from builders to decide what to do next. The next two updates are:

  • Install plugin on existing DAO
  • Create a repository using the default plugin template

Subscribe to our developer newsletter to stay informed of upcoming news.

Our Developer Tools page has links to everything you need to get started, including the CLI, quickstart DAO plugin guides, custom DAO front ends, and more.

If you want to keep up with developments in the OSx CLI, join our developer community to receive updates!

Related Articles

Back to top button