subsquid / gitcoin-hackathon-issues

DeFi & Cross-chain Interoperability Hackathon
4 stars 0 forks source link

Build a killer API with Subsquid #5

Open dzhelezov opened 2 years ago

dzhelezov commented 2 years ago

Build a killer API with Subsquid

Prize Bounty

Bounties Totalling up to 2500 $USDC depending on the quality of the submission. The winning and the runner-up submissions will be awarded.

Challenge Description

Subsquid/Hydra is a toolkit for building and deploying powerful and fully customizable GraphQL APIs for blockchain data within minutes. The developer has full control over the API and data shape (defined in schema.graphql) and the way the data is transformed from raw on-chain transactions (defined in mappings scripts).

To win this bounty, one has to get creative and leverage the power of expressiveness and customization capabilities of the Subsquid/Hydra framework. You are free to choose the data source (defined via INDEXER_ENDPOINT_URL env variable), and the business logic of extracting, transforming, and loading the on-chain data.

As a data source, you may use one of the publicly available indexers hosted by Subsquid:

Otherwise, an arbitrary custom Indexer can be used. A good starting point to learn the framework and see it in action is to clone the template Subsquid project which tracks Kusama transfers. Another (more complex) project tracks DEX metrics on Karura: https://github.com/eldargab/kylin-demo It can be used, for example, as starting point for an OracleAPI providing Polkadot/Kusama DeFi data from one of the Substrate chains.

No limits, hack whatever you please.

Submission Requirements

A submission should consist of a runnable code and Grapql API endpoint leveraging Subsquid/Hydra framework. The submission use host publicly available indexers hosted by Subsquid or include setup instructions for running a local, possibly patched, indexer of any network of choice.

Judging Criteria

Winner Announcement Date

A winner will be announced shortly after the hackathon is complete. Up to 2500 USDC split between the winning submission (2000 USDC) and the runner-up (500 USDC).

Resources

Where to get help

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 2500.0 USDC (2500.0 USD @ $1.0/USDC) attached to it.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 7 months, 3 weeks ago. Please review their action plans below:

1) amitsagtani97 has started work.

Looking at the docs at the moment to learn more about Subsquid/Hydra. Will start building something soon and update here. 2) krrsna37 has started work.

api using subsquid 3) cpurta has started work.

Going to see if I can get a SubSquid API to supply data for the Moonriver Kusama parachain. If successful I am going to see what interesting data can be extracted and supplied. 4) ivanmolto has started work.

I will build a creative and powerful API with Subsquid!

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 2500.0 USDC (2500.0 USD @ $1.0/USDC) has been submitted by: