Skip to content

aragonosx:new-dao

Create a new Aragon OSx DAO with an initial governance plugin.

aragonosx:new-dao <variable> <plugin> [...params]
NameTypeDescription
variablevariableVariable name
pluginrepoGovernance plugin repo (e.g. admin, token-voting)
[...params]anyPlugin setup parameters
NameTypeDescription
--subdomainstringENS subdomain to register (e.g. mydao for mydao.dao.eth)
--dao-uristringDAO URI (EIP-4824)
--metadatastringDAO metadata (conventionally an IPFS URI)
--versionstringPlugin version as . (default latest)
# Create a DAO controlled by a single admin account
aragonosx:new-dao $dao admin @me [0x0000000000000000000000000000000000000000 0]
aragonosx:connect $dao (
aragonosx:propose admin (
aragonosx:grant ROOT on dao to @me
)
)
  • The plugin setup parameters follow the same encoding as install (here: the admin address and a (target, operation) target config, where the zero address targets the DAO itself).
  • $variable is bound to the predicted DAO address, and the DAO is pre-cached so a connect $variable later in the same script works before any indexer has seen it.