Note: Aragon Connect is still in active development and its API might change until it reaches 1.0.
// Connects to an organization.
const org = await connect('org.aragonid.eth')
// Intents can be converted in a transaction.
const intent = await org.removeApp('0x…')
// Get the transactions for the intent with the current account
const transactions = await intent.transactions(wallet.address)
// Sign the generated transactions
for (const transaction of transactions) {
await ethers.sendTransaction(transaction.toEthers())
}
Name | Description |
---|---|
connect() | Connect to an organization (start here). |
App | App installed in an organization. |
Connectors | Connectors that fetch data from the chain. |
Intent | Intent to change anything on an organization or its apps. |
Organization | Aragon organization. |
Permission | Permission represents the relation between an app role and an entity. |
Repo | App repository. |
Role | Single role, which can get assigned to create a permission. |
TransactionPath | Single transaction path. |
TransactionRequest | Object describing a transaction that can get signed by a library like ethers.js or Web3.js. |