@1hive/connect-conviction-voting
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

The Graph Connector for Conviction Voting

Usage

  const org = await connect(ORG_ADDRESS, 'thegraph', { network: 4 })

  const convictionapp = await org.app('conviction-beta')

  const conviction = await connectConviction(convictionapp)

const proposals = await conviction.proposals()

If you would like to use a coustom subgraph

  const conviction = await connectConviction(convictionapp, [ 'thegraph', { subgraphUrl: <subgraph-url> } ])

Package Sidebar

Install

npm i @1hive/connect-conviction-voting

Weekly Downloads

12

Version

0.4.1

License

AGPL-3.0

Unpacked Size

1.05 MB

Total Files

124

Last publish

Collaborators

  • kamikazebr
  • gabrielg
  • fabriv
  • starsower
  • willjgriff
  • rperez89