Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/pi0neerpat/thegraph-hacker-kit

Presentation and materials for The Graph developers taking their first space-walk 🧑‍🚀
https://github.com/pi0neerpat/thegraph-hacker-kit

Last synced: 16 days ago
JSON representation

Presentation and materials for The Graph developers taking their first space-walk 🧑‍🚀

Lists

README

        

Welcome to thegraph-hacker-kit 👋




License: MIT


Twitter: pi0neerpat


Twitter: dan13ram

> Presentation and materials for The Graph developers taking their first space-walk 🧑‍🚀

Are you ready to learn how to write subgraphs? Start the countdown.

#### 3...

#### 2...

#### 1...

## Launch! 👉 [click here](https://gitpod.io/#https://github.com/pi0neerpat/thegraph-hacker-kit) 🌍🚀 🌠🧑‍🚀🌙

## Authors

Pi0neerpat and dan13ram are experienced subgraph developers and are mercenaries in The Raid Guild, a web3 consultancy and services DAO. They've worked on subgraph projects for clients such as Superfluid, xDai Omnibridge, NFTX, and rDAI.

👤 **pi0neerpat**

From creating subgraphs, consuming them in dapps, and even running a Graph Protocol Indexer, pi0neerpat is a jack-of-all-trades in web3. He strives for excellence in both technical writing and guided-instruction, and is always open to questions from his students.

- Website: https://patrickgallagher.dev
- Twitter: [@pi0neerpat](https://twitter.com/pi0neerpat)
- GitHub: [@pi0neerpat](https://github.com/pi0neerpat)

👤 **dan13ram**

- Website: https://dan13ram.com
- Twitter: [@dan13ram](https://twitter.com/dan13ram)
- GitHub: [@dan13ram](https://github.com/dan13ram)

## ⚔️ Hire Us • https://RaidGuild.org ⚔️

## Show your support

Give a ⭐️ if this project helped you!

## Contents

- 🧑‍🚀 Subgraph Developer Bootcamp 🥾
- Recorded Live Workshop, including Q+A
- A feeling of "I can do this"

## Objectives

You will:

- Gain skills and confidence needed to write subgraphs, and need only a limited amount of support from peers
- Initialize a local graph-node environment
- Deploy subgraphs and write tests
- Know where to find information, and how to ask for help

## Prerequisites - REQUIRED (1 Hour)

In order to be prepared for this course you **MUST already understand the basics of graphql**. Luckily some very hard-working people put together an excellent interactive tutorial for you!

Spend at _least 1 hour_ doing the tutorial and skimming the docs:

- Graphql Tutorial: https://graphql.org/learn/
- Making Graph Queries: https://thegraph.com/docs/graphql-api#queries

Software installation requirement - have these already installed:

- [docker](https://docs.docker.com/install/)
- [docker-compose](https://docs.docker.com/compose/install/)
- [yarn](https://yarnpkg.com/getting-started/install/)

## Additional resources:

- Run a Graph Indexer using Docker [pi0neerpat/indexer-docker-compose](https://github.com/pi0neerpat/indexer-docker-compose)
- Helper functions to quickly manipulate events [protofire/subgraph-toolkit](https://github.com/protofire/subgraph-toolkit)

## Known issues:

- Whenever possible, rely on the generated schema to map your event types, as importing external libraries might [be](https://github.com/graphprotocol/graph-cli/issues/663) [difficult](https://github.com/graphprotocol/graph-cli/issues/258). This is due to the [AssemblyScript](https://www.assemblyscript.org/) compiler used by TheGraph. If you rely on any external functions, make sure to extend it's default [TypeScript configuration](https://github.com/protofire/subgraph-toolkit/blob/main/tsconfig.json#L2).

## From the Authors:

- https://raidguild.org/ - Web3 consultancy and services organization. Hire us!
- https://oneclickdapp.com - Easy interfaces for any smart contract
- https://spendless.io/ - No-loss giving for charity
- https://superfluid.finance - Defi primitive for recurring payments and novel token features

## Thank You!

The workshop and these materials were made possible thanks to a grant from The Graph Protocol.

---

_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_