Onchain Experiments

How to Build a ManageFamAuthority Indexer for Hypersub Subscriptions


Listen Later

In this tutorial, we walk you through building an indexer for the ManageFamAuthority to automate Party management based on Hypersub subscription status on Base. From creating a "fam" to linking subscriptions to parties and verifying subscription expirations, you'll learn how to streamline multiplayer Ethereum experiences with this end-to-end guide.

Key Timestamps:

- 00:00 - Introduction
Overview of our goal: automating party cards based on Hypersub subscriptions.
- 00:20 - Starting the Indexer
Using `pnpm dev` to run the indexer locally.
- 00:35 - Indexer Tasks Overview
- Monitoring subscription contracts for transfer events.
- Tracking creator-linked subscriptions to parties.
- Checking and removing expired subscriptions every 30 seconds.
- 01:00 - Creating a Fam
Using CC0 art to set up a new fam.
- 01:55 - Deploying Hypersub
Steps to deploy a Hypersub on the factory and configure party access.
- 03:40 - Testing Subscription Expirations
Verifying party card removal upon subscription expiry.
- 04:50 - Debugging Subscription Expirations
Addressing bugs with the cron job for removing expired party cards.
- 07:00 - Creating Proposals and Actions
Granting subscription time, adding members, and creating proposals.
- 09:30 - Proposal Execution
Testing and verifying a Zora token creation through proposals.
- 12:20 - Bug Fixes
Identifying and resolving issues in the indexer logic to handle expired subscriptions.
- 25:00 - Closing Remarks
Encouragement to like, share, and build on this open-source effort.
This tutorial is tailored for blockchain developers looking to connect subscription mechanics with on-chain experiences seamlessly. If you found this helpful, like, comment, and share to inspire more builders! šŸš€
#Ethereum #BlockchainDevelopment #Base #Hypersub #ManageFamAuthority #Tutorial

...more
View all episodesView all episodes
Download on the App Store

Onchain ExperimentsBy Onchain Experiments

  • 4
  • 4
  • 4
  • 4
  • 4

4

6 ratings