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

    0.0.1 • Public • Published

    The Graph Connector for Dandelion Voting

    Usage

    const org = await connect(
      <org-address>,
      'thegraph',
      { chainId: <chain-id> }
    )
    const apps = await org.apps()
    const dandelionVotingApp = apps.find(
      app => app.appName === 'dandelion-voting.aragonpm.eth'
    )
     
    const dandelionVotingInstance = new DandelionVoting(
      dandelionVotingApp.address,
      <subgraph-url>
    )
     
    const votes = await dandelionVotingInstance.votes()

    Install

    npm i @1hive/connect-app-dandelion-voting

    DownloadsWeekly Downloads

    33

    Version

    0.0.1

    License

    AGPL-3.0

    Unpacked Size

    24 kB

    Total Files

    42

    Last publish

    Collaborators

    • pcolombo
    • gabrielg
    • fabriv
    • starsower
    • willjgriff
    • rperez89
    • crisog