Skip to main content

How-to Guides

Using the Aragon OSx Protocol

With a few lines of code, the Aragon OSx protocol allows you to add functionality to your DAO by writing and installing plugins

Example: A Plugin For Claiming Tokens
contract TokenFaucet is Plugin {
TestToken private immutable token;

constructor(IDAO _dao, TestToken _token) Plugin(_dao) {
token = _token

function claim() auth(MINT_PERMISSION_ID) external {{to: msg.sender, amount: 5});

and effortlessly manage their permissions and conditions in your DAO

Example: Granting a Conditional Permission
where: myTestToken,
who: myTokenFaucetPlugin,
condition: myCondition

In this practice-focussed part of the documentation, we show you how to

using the Aragon OSx protocol.

© 2023