Blockchain Data Indexing - How To Build a Subgraph in 5 Minutes?
Автор: Chainstack
Загружено: 26 июн. 2023 г.
Просмотров: 2 107 просмотров
Subgraphs can completely transform the way your dApp handles blockchain data ⛓️
Let's learn how to build a basic subgraph in just 5 minutes 💙
Original thread: / 1656058487049420800
Pastebin links:
1. https://pastebin.com/raw/hUgSx4Vv
2. https://pastebin.com/raw/yi39Wf07
3. https://pastebin.com/raw/A0DKbkLM
4. https://pastebin.com/raw/h17BD8PD
-----
Byte-Size BUIDLing is a series from our Developer Relations Lead, TABASCOweb3, in which we "speed-walk" through the process of utilizing a specific library, setting up a tool, or building an application in just a few minutes.
Website: https://chainstack.com/
Twitter: / chainstackhq
TABASCOweb3 (the host): / tabascoweb3
Telegram: https://t.me/chainstack
Discord: / discord
LinkedIn: / chainstack
Faucets: https://faucet.chainstack.com/
-----
This guide will show you how to build your own Subgraph in as little as 5 minutes.
What you will do:
1. Create your own subgraph
2. Initialize it through the graph init function
3. Define your schema, manifest, and mappings files
4. Run graph codegen to save all your changes
5. Compile the subgraph through graph build
If you want to also deploy it you will need to create a free account on Chainstack https://console.chainstack.com/user/a...
6. Then you will be able to deploy your own subgraph on Chainstack's hosted service.
7. Take your deployment command
8. Type in the version label
9. Success! You should be able to see your own HTTP endpoint.
If you are looking for the written variant of this video, check out our blog article about how to build & deploy your own Subgraph https://chainstack.com/how-to-build-a...

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: