fabriziovigevani / connect

Aragon Connect − seamlessly integrate DAO functionality into web and node.js apps.

Home Page:https://aragon.org/connect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 recommend starting with the Getting Started guide.

Packages

Name Description Size Version
@aragon/connect The main package. Contains 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-thegraph-voting TheGraph connector for the Voting app.
@aragon/connect-thegraph-token-manager TheGraph connector for the Tokens app.

About

Aragon Connect − seamlessly integrate DAO functionality into web and node.js apps.

https://aragon.org/connect

License:GNU Lesser General Public License v3.0


Languages

Language:TypeScript 93.2%Language:Shell 4.4%Language:JavaScript 2.4%