Skip to content
/ connect Public
forked from aragon/connect

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

License

Notifications You must be signed in to change notification settings

1Hive/connect

 
 

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
@1hive/connect The main package. Contains connect().
@1hive/connect-react React API for Connect.
@1hive/connect-core Core library (used by connectors).
@1hive/connect-thegraph TheGraph connector (included in @1hive/connect).

|

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 94.2%
  • Shell 4.2%
  • JavaScript 1.6%