Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 831 Bytes

README.md

File metadata and controls

52 lines (39 loc) · 831 Bytes

SubQuery Starter Project for Juno

This project indexes all votes made on the Terra Developer Fund You can try out this project in the Explorer here https://explorer.subquery.network/subquery/subquery/juno-terra-developer-fund-votes

Geting Started

1. Install dependencies

yarn

2. Generate types

yarn codegen

3. Build

yarn build

4. Run locally

yarn start:docker

5. Make a test query

Open up the query service in your local browser here http://localhost:3000/

query {
	votes(
    first: 5
    orderBy: BLOCK_HEIGHT_DESC
    # filter: {proposalID: {equalTo: "4"}}
  ) {
    nodes {
      id
      blockHeight
      voter
      vote
    }
  }
}