The Graph Builders Newsletter - 8

gm web3 builders!

Thank you for hopping into The Graph Builders Newsletter #8 where we share important developer-focused news and updates that involve The Graph ecosystem ๐Ÿ—๏ธ

We appreciate you!


๐Ÿ—๏ธ Subscribe to The Graph Builders Newsletter ๐Ÿ—๏ธ

Topics for August 2023

  • L2 Transfer Tools released!
  • graph-node 0.32.0 released!
    • File Data Sources Spawn File Data Sources
  • New Features in Subgraph Studio
    • Arweave File Data Sources
    • Polling block handlers
    • Initialization handler
    • scroll-testnet is live
  • Devs On The Graph - DappLooker
  • Upcoming Workshops
    • The Graph Builders Office Hours
    • Intro to Full Stack Development
  • Participate in The Graph Ecosystem
    • Join The Graph BuildersDAO
    • Try The Graph Billing Subscription Beta Program

๐Ÿ”ผ L2 Transfer Tools Released ๐Ÿ”ผ

L2 Transfer Tools have arrived!

This is a significant milestone that marks the beginning of the final phase of scaling The Graph with Arbitrum. Read more about this milestone here.

What exactly are these transfer tools?

L2 Transfer Tools make it simple for all network participants to easily transfer from Ethereum mainnet to Arbitrum One.

Have a subgraph on The Graph Network? Use the Subgraph Transfer Tool to transfer it to Arbitrum!

Curation, delegation, indexer stake, and more are also able to be transferred using the various L2 Transfer Tools.

See the documentation and walkthrough videos to get started transferring from L1 to L2:

โซ graph-node 0.32 released! โซ

Update graph-node to 0.32.0 and check out all of the new features listed in the changelog (thereโ€™s a ton!)

One of the big features included in this release is that File Data Sources can spawn other File Data Sourcesโ€ฆ

File Data Sources Can Spawn File Data Sources

Before, only a blockchain handler was able to spawn a file data source template. But more often than not, IPFS files are referring to other IPFS files which we also want to index! In order to support this, file data handlers can now spawn a file data source template too.

As we can see it has a schema with another IPFS/Qmโ€ฆ that weโ€™d also like to index. We now can by gathering the Qmโ€ฆ from the IPFS file and triggering another File Data Source from within the File Data Source handler! ๐Ÿคฏ

import { NewFileDataSource as NewFileDataSourceTemplate } from " ../types/templates";
export function fileDataSourceHandler(content: Bytes): void {
if (content !== null) {
let manifest = content.toString();
let schemaSplitTry = manifest.split(" schema: In", 2);
if (schemaSplitTry.length == 2) {
let schemaFileSplitTry = schemaSplitTry[1].split("/ipfs/", 2);
if (schemaFileSplitTry.length == 2) {
let schemaIpfsHashTry = schemaFileSplitTry11.split("In", 2);
if (schemaIpfsHashTry.length == 2) {
let schemaIpfsHash = schemaIpfsHashTry[0];
NewFileDataSourceTemplate.create(schemaIpfsHash);
}
}
}
}
}

๐Ÿ‘€ Try Upcoming graph-node Features in Subgraph Studio ๐Ÿ‘€

These features are available to try in Subgraph Studio and will soon be available on ๐Ÿง‘โ€๐Ÿš€The Graph Network ๐Ÿง‘โ€๐Ÿš€

Arweave File Data Sources

Arweave is now another off-chain file source we can integrate with our subgraphs (IPFS is also supported)! Check out this File Data Sources example repo that indexes both Arweave and IPFS and start building ๐Ÿ”ฅ ๐Ÿ”ฅ ๐Ÿ”ฅ

Polling Block Handlers

This upcoming feature will allow a subgraph to execute a handler at specific block intervals as defined by the number in the every field:

blockHandlers:
- handler: handleBlock
filter:
kind: polling
every: 10

Initialization Handler

This upcoming feature will enable a subgraph to have a handler execute at its initialization, making it a valuable tool for tasks such as setting up initial parameters or preloading specific data:

blockHandlers:
- handler: handleOnce
filter:
kind: once

scroll-sepolia Testnet Chain Added

๐Ÿ“œย  Scrollโ€™s Sepolia testnet is now live in Subgraph Studio. Stay tuned for more updates with Scroll!


๐Ÿ‘๏ธ Devs On The Graph - DappLooker ๐Ÿ‘๏ธ

In Devs On The Graph - Episode 3 with Abhay Singh, CoFounder of DappLooker, we dive into his backstory of how he got into web3 as well as a live workshop on how to design our own no-code analytics dashboards built upon The Graph infrastructure.

These dashboards can easily be integrated into our dapps, bringing more value and power to those desiring easily accessible and coherent web3 data.

Devs On The Graph is an interview series where developers get to share their stories and development techniques building with The Graph tech. Every episode has a workshop at the end, so stick around and learn! ๐Ÿซ

Upcoming Workshops

๐Ÿ‘ทโ€โ™€๏ธ The Graph Builders Office Hours - Thursdays 3pm UTC๐Ÿ‘ท

Jump into The Graph Builders Office Hours every Thursday at 3pm 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.

Here are the upcoming workshops planned for September:

Check out last monthโ€™s workshops!

๐Ÿ‘ทโ€โ™€๏ธย  Intro to Full Stack Development Workshop - Sept 7th

Edge & Node DevRel Engineer Kevin Jones will be presenting Intro to Full Stack dapp Development at the House of Web3 in San Francisco on September 7th.

Sign up here to attend in person!

If you canโ€™t attend IRL, the workshop will be streamed at The House of Web3 Youtube!

Want to Participate in The Graph Ecosystem?

โš™๏ธ Build with The Graph BuildersDAO! โš™๏ธ

Want to get paid for building subgraphs and Substreams alongside other builders?

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โ€.

To learn more as well as sign up for The Graph Subscriptions Beta, check out this link here.


Developer Survey

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 hacking!

๐Ÿ’Œ

Marcus Rein

Developer Relations and Success

Edge & Node, working on The Graph


Category
Developer Corner
Published
August 31, 2023

Marcus Rein

View all blog postsโ