Polkassembly Logo

Create Pencil IconCreate
OpenGov

Notice: Polkadot has migrated to AssetHub. Balances, data, referenda, and other on-chain activity has moved to AssetHub.Learn more

View All Discussion

Proposal Discussion: Open-source DApp API

userjames_bayly
4 years ago

This is a discussion for a future potential treasury proposal to Kusama. We are looking forward to community feedback, especially around how we improve the learning materials and tutorials (or potentially partner with another provider)

Proponent: SubQuery and Fearless Wallet

Date: June 2021

Short Description: 3 individually proposed milestones delivering open source projects, packages, and associated learning material to help decentralised app developers start building applications on Polkadot/Kusama

Problem Statement

Polkadot/Kusama is maturing,

  • As our ecosystem matures, more consumers are going to be drawn to it. These consumers are going to expect consumer-facing decentralised applications (dApps); wallets, explorers, and other tools that make it easier to explore and participate in Polkadot.
  • Developers have their work cut out for them to build this next generation of consumer friendly dApps, it takes time and effort - we want to minimise duplication of work for our ecosystem to flourish.
  • There is little content out there to help a new Polkadot/Kusama developer to build a consumer dApp (rather than a parachain or some other substrate based project)
  • As the parachain auctions launch, there are going to be multiple chains each with their own assets that need to be shown in various dApps
    • DApps are going to have a difficult time integrating with each parachain, and querying data from each chain
    • Wallets will want a common core API that each parachain can integrate (and extend) to index and present their data for consumer facing applications (e.g. a wallet)

Solution

  1. Create an Open-Source SubQuery Project for Common Data
    • We will define and implement a standard GraphQL API for common dApp use cases implemented using SubQuery. The entire associated SubQuery application stack, including the project and the core SDK (subql/cli, subql/node, and subql/query), is open source and will remain so. Anyone can take the deliverable from this grant, extend it, run it, and deploy it to their own infrastructure. The common GraphQL API that this proposal will define will be documented publicly using a open source tool (like Graphdoc)
  2. Document and Publish Learning Material and Tutorials
    • We plan to work with a partner to help us write up a collection of related documentation and tutorials for all audiences (technical, getting started tutorials, and end to end application development walkthroughs)

Outcomes

This proposal is aimed to help provide the following three outcomes:

  1. Provide More Support to Developers in Polkadot
  2. Improve the Interoperability of DApps and Parachains.
  3. Attract more developers to Polkadot

Full writeup here: https://docs.google.com/document/d/13L8HBwB6VB-n2g274FFFJKORYPJsq744C6H8iEDQ0-0/edit?usp=sharing

Comments (0)

PleaseLogin to comment

Help Center

Report an Issue
Feedback
Terms and Conditions
Github

Our Services

Docs
Terms of Website
Privacy Policy

A House of Commons Initiative.

Polka Labs Private Limited 2025

All rights reserved.

Terms and ConditionsTerms of Website
Privacy Policy