Games & Quizzes
Don't forget to Sign In to save your points
This is a modal window.
PERFECT HITS | +NaN | |
HITS | +NaN | |
LONGEST STREAK | +NaN | |
TOTAL | + |
hello and a very warm welcome to the sub query heroes course making the world's decentralized
data more accessible first of all let's jump in and take a look at what sub query is
it's an open source project that allows developers to do three main things to index transform
and query substrate chain data to power your applications you can think of it like a google
for blockchains where you can search for the data that you need you can then transform it and then
serve it up to your front end application very easily and very quickly now what are the problems
subquery is trying to solve first of all query speed so if you want to grab data from the
blockchain now it's actually quite challenging first of all you may have to spin up your own
node and that can take quite a bit of time particularly trying to synchronize the data
secondly once you have a node you need to be able to connect to it typically via rpc
connection what sub query does is it provides this intermediate layer where it will grab the
data for you the data will then be transformed and indexed and made available via api this
makes grabbing the data very easy and very quick the second problem is around parachain diversity
for example trying to query data from different blockchains can be really challenging
what parachain diversity does is it allows you to grab data across different blockchains in a much
simpler fashion let's take a closer look at this so traditionally the bitcoin blockchain is
separate to say the ethereum blockchain however in the polkadot world different blockchains
are called parachains and they are all connected together in the polkadot network
so for example here you can see bitfrost and moonbeam and akala for example
these are all parachains that run off the polka dot system to be able to extract
/tran(t)sˈfôrm/
product of transformation. To change the shape completely in a good way.
/ˈwelkəm/
gladly received. used to greet someone in polite or friendly way. Friendly greeting to someone who has arrived. greet someone arriving in polite or friendly way.
/ˈpräbləm/
Causing trouble. Something difficult to deal with or causes trouble.