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 ( aragonos:grant TRANSFER_ROLE on @aragonos:app(agent) to @me)- Inside a
connectblock, aragonos commands must be qualified (aragonos:grant) or imported through the load import list (load aragonos [connect grant @app]) to be used unqualified - The
@aragonos:app()helper resolves app names within the connected DAO context connectblocks cannot be nested. For cross-DAO operations, use sequential top-levelconnectblocks and share values through variables:setbindings persist after the block ends