Learning how to delegate
Delegating GRT with MetaMask.
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 delegating GRT to an Indexer is also available as a video:
Delegating 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.
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.
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!
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:
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.
Step 2 – Delegating to an Indexer.
Once you have found an attractive Indexer you want to delegate to, you can go ahead and make your very first interaction with the delegation contracts of The Graph.
Step 3 – Confirming transactions.
Navigate to Participants
on the network page of The Graph and find the Indexer of your choice. On the right-hand side, you will find a small circular button. Click this button and you will see the option Delegate
. You can now insert the amount of GRT you wish to delegate. Here’s the entire process:
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
.
After that click on Submit Transaction
and Confirm
the transaction in the next step.
After you have submitted the transaction, MetaMask will automatically perform another contract interaction. Once the first transaction has been processed, another MetaMask window will pop up asking you for another confirmation. Sign the second transaction and you’re done.