aragonos:connect
Connect to an Aragon DAO and execute commands within its context.
Syntax
Section titled “Syntax”aragonos:connect <daoName> <block>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
daoName |
dao |
DAO kernel address or Aragonid ENS name |
block |
block |
Commands to execute in DAO context |
Examples
Section titled “Examples”# Connect to a DAO and grant a permissionaragonos:connect 0x1fc7e8d8e4bbbef77a4d035aec189373b52125a8 ( grant @me @app(agent) TRANSFER_ROLE)- Inside a
connectblock, commands likegrant,install,revokecan be used without thearagonos:prefix - The
@app()helper resolves app identifiers within the connected DAO context - Nested
connectblocks allow cross-DAO operations