The Graph Builders Newsletter - September 2023

🏗️ Subscribe to The Graph Builders Newsletter 🏗️

gm web3 builders,

Thank you for hopping into The Graph Builders Newsletter #9 - September 2023 where we share important builder-focused news coming from The Graph ecosystem 🏗️

Let's dive in!

Topics for September 2023

  • Previewing New Subgraph Features
    • Major performance boost for Substreams-powered subgraphs
    • DataSourceContext in the manifest
    • endBlock now available in the manifest
  • Building With The Graph - Workshops
  • The Graph @ Hackathons
  • Participate in The Graph Ecosystem
    • Join The Graph BuildersDAO
    • Try The Graph Billing Subscription Beta Program

🔼 Previewing Upcoming Subgraph Features in graph-node 0.33.0 🔼

In last month's Builders Newsletter, we saw snippets demonstrating new features such as Arweave support, File Data Sources spawning File Data Sources, polling block handlers, and initialization handlers. All of this was made possible by the graph-node0.32.0’s release. What a month!

We are now preparing for graph-node 0.33.0’s release which should be coming out soon! This update will bring some significant upgrades:

DataSourceContext In The Subgraph Manifest

Passing data from one handler to another handler while templating was previously possible in our subgraphs mappings through using Data Source Context, but now this feature is available in our subgraph.yaml!

This feature will be useful for templating chain-specific data in subgraphs that use the same codebase across multiple chains. Once 0.33.0 is released, check it out!

name: Factory
network: mainnet
context:
foo:
bool_example:
type: Bool
data: true
int8_example:
type: Int8
data: 64
big_decimal_example:
type: BigDecimal
data: 10.99
bytes_example:
type: Bytes
data: \"0x68656c6c6f\"
list_example:
type: List
data:
- type: Int
data: 1
- type: Int
data: 2
- type: Int
data: 3
big_int_example:
type: BigInt
data: \"1000000000000000000000000\"
string_example:
type: String
data: bar
qux:
data: \"bar\"
int_example:
type: Int
data: 42

endBlock Defined in subgraph.yaml

When building a subgraph, we define the startBlock from which the subgraph begins its indexing. Now, we also have endBlock to refine our subgraphs focus to only a specific set of blocks!

source:
address: '0x...'
abi: Contract
startBlock: 1000000
endBlock: 1500000

Major performance boost incoming Substreams-powered subgraphs

Significant performance improvements have been achieved for substreams-based subgraphs by moving substreams processing to the block.

Substreams-powered subgraphs published to The Graph Network are a key part improving the speed and unbreakable nature of decentralized indexing. Try building a Substreams-powered subgraph, then publish that Substreams-powered subgraph to The Graph Network to ensure your data pipeline is decentralized!

🏗️ Building With The Graph - Workshops 🏗️

The Graph Builders Office Hours - Thursdays 5pm UTC

Jump into The Graph Builders Office Hours every Thursday at 5pm UTC hosted by Edge & Node Developer Relations Engineer Kevin Jones in The Graph Discord. Each session includes live workshops and Q&A discussions with developers who are building in The Graph Ecosystem.

Start building fast with previous The Graph Builders Office Hours workshops!

Not seeing a topic you want covered?

Request a topic for an upcoming The Graph Builders Office Hours episode and we will make it happen!

Learn with Kevin Jones aka Cryptomastery.eth

Developer Relations Engineer Kevin Jones will be giving many presentations in the coming month. Catch him if you can!

Learn How to Query The Graph Network

Jump into a 20 minute recording of a workshop presented by Developer Relations Marcus Rein at the recent EthGlobal NYC 2023 hackathon! Once finished with the recording, hop into the workshop’s repo to get the code to query The Graph Network!.

Marcus will be giving this workshop at EthRome and EthMiami.

The Graph @ Hackathons

EthAccra and EthGlobal NYC

There were some incredible submissions for the EthAccra and EthGlobal NYC 2023 hackathons!

Get inspired by the grand-prize winners 🥇Challenge Pool 🥇TeachAI and 🥇Leverage Labs! Find further inspiration by checking out the full list of EthAccra 2023 hackathon submissions and EthGlobal NYC 2023 hackathon submissions!

The Graph will be represented at EthRome and EthMiami as well - we hope to see you there!

Want to Participate in The Graph Ecosystem?

⚙️ Build with The Graph BuildersDAO ⚙️

Join The Graph BuildersDAO!

The Graph BuildersDAO is a community of collaborative developers who provide their building services to dapps and protocols.

This collaborative community is looking for builders with various levels of experience in smart contracts, Rust, frontend frameworks, DevOps, subgraphs and Substreams to join and participate on a variety of projects.

Also, if there’s a project that needs some builder-power, The Graph BuildersDAO is a great resource that can build a custom subgraph or Substream! Get in touch!

➕ Sign Up For The Graph Billing Subscriptions Beta Program ➕

The Graph Billing Subscriptions is an alternative to The Graph’s existing Pay As You Go billing system that we hope will simplify payments to just “set it and forget it”.

Sign up for The Graph Subscriptions Beta!


Developer Survey

Building The Graph Network is a collaborative effort and the core devs would love to hear your feedback!

How likely would you recommend The Graph's decentralized network to a fellow web3 developer? Just click the emoji to indicate your vote.

🙂 😐 🙁


Thanks for reading and happy buildling! 💌

Marcus Rein

Developer Relations and Success

Edge & Node, working on The Graph


Category
Graph Builders
Author
Marcus Rein
Published
September 29, 2023

Marcus Rein

View all blog posts