Delegating-GRT

Learning how to curate

Curating a Subgraph with MetaMask.

Do you want to become a Curator in The Graph Network? In this step-by-step tutorial, we’ll show you how it’s done. We’ll use MetaMask for this tutorial as it’s easy to use and works seamlessly with The Graph Protocol. If you haven’t already, download MetaMask. Here’s a guide for installing MetaMask. After you’re finished, we can get started with this guide.

Video Tutorial

Step-by-step Video Guide

This guide on signaling a Subgraph is also available as a video:

Curating in 3 easy steps.

Here’s what you’re going to learn today. We’ll have a detailed look at each step in the explanations below.

1

Connecting to MetaMask

Preparing your MetaMask wallet and connecting it to the official network page of The Graph

metamask
2

Curating a Subgraph

Selecting a Subgraph and pressing the curate button on the network page

logo
3

Confirming transactions

After selecting the amount of GRT to curate, all you need to do is to confirm the transaction

Step 1 – Connecting MetaMask.

After you’ve created a wallet with MetaMask or logged into your existing account, you can connect your wallet to The Graph Network. To do so, visit the official network page and click on the Connect Wallet button.

You can now find your connected account in the upper right corner of the Network dAPP of The Graph. It shows the number of GRT you have in your MetaMask wallet and gives you access to your profile.

Wallet-Profile

Add GRT to MetaMask

Once you’re connected, add the GRT token to your wallet. Otherwise, your GRT will not be displayed in MetaMask. It’s really simple, just open MetaMask, click on Assets and then on Add Token. Enter GRT and you’re good to go!

Add-GRT

Send GRT tokens and ETH to your wallet

In case you haven’t already, send over the GRT tokens you bought on the exchange of your choice and – to cover gas fees – a small amount of ETH (~$50-100). The delegation contracts of The Graph Protocol are deployed on Ethereum. For this reason, you will interact with these contracts when delegating to an Indexer, which costs transaction fees (gas).

You can find your ETH address in your dashboard:

ETH-address

Once you have copied your ETH address, you can send the ETH and your GRT tokens for your wallet. Make sure to double check that your wallet you’re going to withdraw to is correct. Once your wallet is loaded with ETH and GRT, which can take several minutes or even hours, you’re now ready to delegate.

Step 1b – Hardware Wallet.

Instead of Metamask’s soft wallet, you can also use a hard wallet, such as Ledger, to delegate your GRT. Hard wallets can add another layer of security as they typically require physical device confirmation of transactions. You can connect Metamask to your hardware wallet via the Metamask Browser Extension. Make sure to have the ETH app open on your Ledger device and to have ‘Contract Data’ allowed within the ETH app on your device. See below screenshot on how to connect a hardware wallet in Metamask.

Connect-Hardware-Wallet

Step 2 – Curating a Subgraph.

Once you have found an attractive Subgraph you want to curate, you can go ahead and make your very first interaction with the curation contracts of The Graph. To do so, search and select the subgraph you want to curate.

In the next step, click on Signal to curate the Subgraph of your choice.

Signal subgraph

Keep in mind that in addition to the ETH gas fee you will also have to pay a 2.5% curation tax, which is paid in GRT.

Step 3 – Confirming transactions.

Once you’ve clicked the button Signal, you can select how many shares of the Subgraph you would like to mint. Be sure to leave the version option Auto-migrate checked.

There are two contract interactions needed to curate:

  • Approve – to allow the contract to spend your GRT
  • Curate – depositing GRT to mint curation shares

You can choose to approve each time you curate, or you can “infinite approve” to be able to skip the first step next time you curate.

There are two options for approving the transaction. Approve means you approve that one transaction. Infinite approve means you approve that transaction and all future transactions. This saves you gas but reduces security.

If you click on approve / infinite approve, Meta-Mask will now ask you to confirm that you allow thegraph.com to spend your GRT for curation.

You can now click on Signal to curate the Subgraph.

If you do not want your transaction to be stuck in the network, it’s recommended to customize the amount of gas. To do so, click on Edit and then in the next window on Fast.

Customize-Gas

After that click on Submit Transaction and Confirm the transaction in the next step.

After the second transaction has been processed, you will receive a notification from MetaMask. If you see this, you have successfully curated for the very first time!

Summary

Fantastic! You are now an active Curator on The Graph Network!

Go Back

Delegator Knowledge Hub

Up next