Season 3 Challenges

SubQuery TeamAbout 6 min

Season 3 Challenges

Visit Frontieropen in new window before you begin your season 3 challenges and make sure your MetaMask is connected properly.

Now,

Indexer Challenges

1. Index a Single Project

To index a single project, please follow the instructions here.

2. Index all Projects

To index all projects, please follow the instructions here.

3. Maintain Daily Availability

Ensure that your indexer is all set and available at all times. Your indexer will be pinged to check connectivity.

4. Obtain Your First Delegator

Reach out to a Delegator and ask them to delegate to your indexer. Alternatively, set up another account and delegate to your own indexer.

6. Create a Deployment-Specific Plan

To create a deployment-specific plan, navigate to Plan & Offer -> My Plans. Then select Create a Plan just like you did while creating a default plan. However, also select a specific deployment Id.

Create specific plan

  • The remaining steps(for confirming the transaction) are similar to create a default plan.

  • This plan will appear in the Specific tab.

Specific plan created

7. Request a Consumer to Purchase Your Plan

  • Reach out to a Consumer and request them to purchase your plan. Alternatively, set up another account and purchase your own plan.

  • Once this is done, the purchased plan will appear in Plan & Offer -> My Service Agreements.

  • The example here shows Consumer 0xB559... purchasing a plan from Indexer 0x5F36... aka Sean Indexer 27Jun.

8. Claim Your Reward

  • To claim your rewards, head to Stake & Delegate -> My Profile. Then select Claim in the last column.

Claim Reward

  • Then confirm the transaction with MetaMask as asked.

Confirm Claim Rewards

  • Wait for a few seconds and you will see the status as claimed under the Action column.

Reward Claimed

9. Withdraw Unstaked Amount

Here, an Indexer withdraws the unstaked amount. The amount is withdrawn from the staking contract back to the Indexer's wallet.

When an amount is unstaked, the tokens are locked for a specific period before they can be withdrawn. This period is indicated by the START AT and END AT columns.

  • To withdraw the unstaked amount, navigate to Stake & Delegate -> My profile. Then select the Locked tab.

  • When the tokens are unlocked, the Withdraw button will be available.

Withdraw Unstaked tokens

  • Click on Withdraw and then confirm the withdrawal. You will be asked to confirm the transaction with MetaMask as well.

Confirm withdraw

  • Confirm the transaction.

10. Request Undelegation from a Delegator

Reach out and ask a Delegator to undelegate their tokens from your Indexer.

11. Accept an Offer in the Offer Marketplace

  • To accept an offer in the "Offer Marketplace", navigate to Plan & Offer -> Offer Marketplace. Then select Accept in the last column.

Accept offer

  • Ensure that you have passed the 3 criteria. Then click Accept and confirm the Metamask transaction as well. You will be notified about the successful transaction within a few seconds.

Accept offer and confirm MetaMask Transaction

  • Once your offer has been accepted, you can note the change under the Accepted column.

Offer Accepted

12. Update Controller Account

  • On the Account page, click on Manage Controllers button to visit the Controller Management page.
  • Next, click on Create an Account button to create a new controller account.

Controller Management

  • Then you will see your new account on the screen. Click on the Active button as shown in the screen.
    Create new controller

  • You will be asked to send the transaction on MetaMask. Hit Send Transaction. Confirm the transaction with Metamask as well.

Active controller

  • After the transaction has been processed, you would be able to see the new controller the top of the list. Note the Active label.

Controller updated

Delegator Challenges

1. Claim Rewards

  • To claim rewards, head to Stake & Delegate -> My Profile. Then select Claim in the last column.

Claim Reward

  • You will be asked to confirm the transaction with MetaMask.

Confirm Claim Rewards

  • Wait for a few seconds and you will see the status as claimed under the Action column.

Reward Claimed

2. Delegate to an Indexer

  • To delegate to an Indexer of your choice, navigate to Stake & Delegate -> Indexers(on the left sidebar).

  • Then select Delegate in the last column Action.

Delegate to an Indexer

  • Now, select your wallet and your delegation amount. Click on Delegate.

Delegate to an Indexer part 2

  • You will be asked to confirm your transaction with Metamask. Please wait for a while after confirming the transaction.

Note that some Indexers cannot be delegated to, until they collect all the early era's rewards. You will have to contact the indexer to resolve the issue.

Cannot delegate

3. Undelegate from an Indexer

  • To undelegate from an Indexer, navigate to Stake & Delegate -> My profile. Then select the Delegating tab.

Undelegate from an Indexer

  • Click on Undelegate and enter the amount of SQT you want to undelegate. Then click Confirm Undelegation. You will be asked to confirm your transaction with Metamask. Confirm it and wait for a few seconds.

Confirm undelegate

  • You can notice the change in the Delegation Amount under the Your DELEGATION AMOUNT column.

4. Withdraw Undelegated Amount from an Indexer

  • When you undelegate from an Indexer, the tokens are locked for a specific period before they can be withdrawn. This period is indicated by the START AT and END AT columns.

  • To withdraw the undelegated amount from an Indexer, navigate to Stake & Delegate -> My profile. Then select the Locked tab.

  • When the tokens are unlocked, the Withdraw button will be available.

Withdraw delegated tokens

  • Hit the Withdraw button and confirm the withdrawal. You will be asked to confirm the transaction with MetaMask as well.

Confirm withdraw

  • Confirm the transaction.

Consumer Challenges

1. Create a Purchase Offer

  • To create a purchase offer, navigate to Plan & Offer -> Manage My Offers. Then select Create an Offer.

Create purchase offer

  • Hit Confirm Approval to allow the SubQuery Network to use your SQT. Confirm the transaction with MetaMask as well.

Confirm approval for purchase offer

  • In step 1, you need to enter the SubQuery project deployment ID for the offer.

Note: You can find the link in the Explorer Tab.

Explore Deploy Id of the Project

Copy Deploy Id of the Project

Create purchase offer

  • Choose a template for this offer and click on Next.

Choose a Template to Create Purchase Offer

  • Now, set the details of your offer:
    • Indexer cap: the maximum number of Indexers desired to index your project.
    • Required deposit: Calculated automatically based on (reward per Indexer x Indexer cap).
    • Minimum indexed height: The blockheight the Indexer should start indexing from.
    • Expiration time: How long the offer will be valid.

Set Details to Create Purchase Offer

  • Confirm the details of your purchase offer. Then you will see a pop-up of MetaMask. Confirm the transaction with MetaMask as well.

Confirm purchase offer

  • The newly created purchase offer will appear in the Open tab.

Purchase offer created

2. Get a Service Agreement from an Indexer

Reach out and ask an Indexer to purchase your offer.

3. Cancel an Offer Before It Expires

  • Head to Plan & Offer -> Manage My Offers.

  • In the Open tab, select an offer and click on Remove.

Cancel Offer

  • You will be asked to confirm the offer cancellation. On this screen, you can see your balance details as below:
    • Unspent Balance:
    • Cancellation Fee:
    • You will receive:

Confirm Cancellation of Offer

  • Now, click on Confirm Cancellation. Further, you will be asked to confirm the transaction with MetaMask.

  • Confirm it and wait for a few seconds. Your offer will be cancelled soon.

4. Withdraw SQT locked in an Offer After It Expires

  • When an offer expires, the unspent tokens are locked for a specific period before they can be withdrawn. This period is indicated by the START AT and END AT columns.

  • To withdraw the amount, navigate to Stake & Delegate -> My profile. Then select the Locked tab.

  • Note that the Withdraw button will be available, once the tokens are unlocked .

Withdraw SQT After an Offer Expires

  • Click on the Withdraw button and confirm the withdrawal. You will be asked to confirm the transaction with MetaMask as well.

Confirm withdraw

  • Now, confirm the transaction.

5. Purchase a Plan from an Indexer

  • To create a purchase plan from an Indexer, navigate to Explorer and select a project of your choice.

Explorer

  • Then click on the Indexers tab, and expand the plan of your preferred Indexer.

Here, you will see some information to help you make your choice:

Price: Period: Daily Request Cap: Rate Limt:

  • Select Purchase under the Action column .

Purchase plan

  • Then you will see a screen showing the details of the plan you have chosen. Click on Purchase.

Purchase plan

  • You will be asked for the confirmation. Hit Confirm Approval.

Confirm Purchase Plan

  • You will then see a pop-up to confirm your transaction with MetaMask. Click Confirm over there.