0.0.0-beta.2 • Published 4 years ago

@1hive/connect-delay v0.0.0-beta.2

Weekly downloads
2
License
LGPL-3.0-or-later
Repository
github
Last release
4 years ago

Aragon Connect

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

npm.io npm.io 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

NameDescriptionSizeVersion
@aragon/connectThe main package. Contains connect().npm.ionpm.io
@aragon/connect-reactReact API for Connect.npm.ionpm.io
@aragon/connect-coreCore library (used by connectors).npm.ionpm.io
@aragon/connect-ethereumEthereum connector (in progress − included in @aragon/connect).npm.ionpm.io
@aragon/connect-thegraphTheGraph connector (included in @aragon/connect).npm.ionpm.io
@aragon/connect-financeConnector for the Finance app.npm.ionpm.io
@aragon/connect-tokensConnector for the Tokens app.npm.ionpm.io
@aragon/connect-votingConnector for the Voting app.npm.ionpm.io