Skip to content
/ connect Public

(Aragon 1) Seamlessly integrate DAO functionality into web and node.js apps.

License

Notifications You must be signed in to change notification settings

aragon/connect

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e764a5e · Oct 24, 2021
Oct 20, 2021
Jun 1, 2020
Dec 30, 2020
Oct 19, 2021
Oct 24, 2021
Aug 27, 2020
Jun 27, 2020
Aug 4, 2020
Aug 12, 2020
Jun 1, 2020
Jun 1, 2020
Jul 3, 2020
Jun 19, 2020
Jul 29, 2020
Sep 7, 2020
Jun 15, 2020
Jun 12, 2020
Dec 30, 2020
Dec 30, 2020
Jul 27, 2020
Dec 30, 2020

Repository files navigation

Aragon Connect

a toolkit for developers to seamlessly integrate DAO functionality into apps.

codecov

Aragon Connect is still in active development and its API might change until it reaches 1.0.

Usage

// Connects to an organization.
const org = await connect('org.aragonid.eth', 'thegraph')

// 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())
}

Documentation

Please have a look at the documentation website. If you never used the library before, we highly recommend starting with the Getting Started guide.

Packages

Name Description Size Version
@aragon/connect The main package. Contains connect().
@aragon/connect-react React API for Connect.
@aragon/connect-core Core library (used by connectors).
@aragon/connect-ethereum Ethereum connector (in progress − included in @aragon/connect).
@aragon/connect-thegraph TheGraph connector (included in @aragon/connect).
@aragon/connect-finance Connector for the Finance app.
@aragon/connect-tokens Connector for the Tokens app.
@aragon/connect-voting Connector for the Voting app.