Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aragon/connect
(Aragon 1) Seamlessly integrate DAO functionality into web and node.js apps.
https://github.com/aragon/connect
aragon dao dapp ethereum javascript nodejs web3
Last synced: 2 days ago
JSON representation
(Aragon 1) Seamlessly integrate DAO functionality into web and node.js apps.
- Host: GitHub
- URL: https://github.com/aragon/connect
- Owner: aragon
- License: lgpl-3.0
- Created: 2020-05-29T15:56:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-09T13:54:35.000Z (3 months ago)
- Last Synced: 2024-11-09T02:38:35.971Z (7 days ago)
- Topics: aragon, dao, dapp, ethereum, javascript, nodejs, web3
- Language: TypeScript
- Homepage: https://aragon.org/connect
- Size: 8.24 MB
- Stars: 145
- Watchers: 22
- Forks: 53
- Open Issues: 84
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Aragon Connect [](https://connect.aragon.org/)
> a toolkit for developers to seamlessly integrate DAO functionality into apps.
[![](https://img.shields.io/github/package-json/v/aragon/connect?label=npm)](https://www.npmjs.com/package/@aragon/connect) [![](https://img.shields.io/bundlephobia/minzip/@aragon/connect)](https://bundlephobia.com/result?p=@aragon/connect) [![codecov](https://codecov.io/gh/aragon/connect/branch/master/graph/badge.svg)](https://codecov.io/gh/aragon/connect)
_Aragon Connect is still in active development and its API might change until it reaches 1.0._
## Usage
```javascript
// 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](https://connect.aragon.org/). If you never used the library before, we highly recommend starting with the [Getting Started](https://connect.aragon.org/guides/getting-started) guide.
## Packages
| Name | Description | Size | Version |
| :------------------------------------------------------ | :---------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------- |
| [`@aragon/connect`](packages/connect) | The main package. Contains `connect()`. | [![](https://img.shields.io/bundlephobia/minzip/@aragon/connect)](https://bundlephobia.com/result?p=@aragon/connect) | [![](https://img.shields.io/npm/v/@aragon/connect)](https://www.npmjs.com/package/@aragon/connect) |
| [`@aragon/connect-react`](packages/connect-react) | React API for Connect. | [![](https://img.shields.io/bundlephobia/minzip/@aragon/connect-react)](https://bundlephobia.com/result?p=@aragon/connect-react) | [![](https://img.shields.io/npm/v/@aragon/connect-react)](https://www.npmjs.com/package/@aragon/connect-react) |
| [`@aragon/connect-core`](packages/connect-core) | Core library \(used by connectors\). | [![](https://img.shields.io/bundlephobia/minzip/@aragon/connect-core)](https://bundlephobia.com/result?p=@aragon/connect-core) | [![](https://img.shields.io/npm/v/@aragon/connect-core)](https://www.npmjs.com/package/@aragon/connect-core) |
| [`@aragon/connect-ethereum`](packages/connect-ethereum) | Ethereum connector \(in progress − included in @aragon/connect\). | [![](https://img.shields.io/bundlephobia/minzip/@aragon/connect-ethereum)](https://bundlephobia.com/result?p=@aragon/connect-ethereum) | [![](https://img.shields.io/npm/v/@aragon/connect-ethereum)](https://www.npmjs.com/package/@aragon/connect-ethereum) |
| [`@aragon/connect-thegraph`](packages/connect-thegraph) | TheGraph connector \(included in @aragon/connect\). | [![](https://img.shields.io/bundlephobia/minzip/@aragon/connect-thegraph)](https://bundlephobia.com/result?p=@aragon/connect-thegraph) | [![](https://img.shields.io/npm/v/@aragon/connect-thegraph)](https://www.npmjs.com/package/@aragon/connect-thegraph) |
| [`@aragon/connect-finance`](packages/connect-finance) | Connector for the Finance app. | [![](https://img.shields.io/bundlephobia/minzip/@aragon/connect-finance)](https://bundlephobia.com/result?p=@aragon/connect-finance) | [![](https://img.shields.io/npm/v/@aragon/connect-finance)](https://www.npmjs.com/package/@aragon/connect-finance) |
| [`@aragon/connect-tokens`](packages/connect-tokens) | Connector for the Tokens app. | [![](https://img.shields.io/bundlephobia/minzip/@aragon/connect-tokens)](https://bundlephobia.com/result?p=@aragon/connect-tokens) | [![](https://img.shields.io/npm/v/@aragon/connect-tokens)](https://www.npmjs.com/package/@aragon/connect-tokens) |
| [`@aragon/connect-voting`](packages/connect-voting) | Connector for the Voting app. | [![](https://img.shields.io/bundlephobia/minzip/@aragon/connect-voting)](https://bundlephobia.com/result?p=@aragon/connect-voting) | [![](https://img.shields.io/npm/v/@aragon/connect-voting)](https://www.npmjs.com/package/@aragon/connect-voting) |