365 Tech By Sweets

How to Build a ManageFamAuthority Indexer for Hypersub Subscriptions

Informações:

Sinopsis

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 subscri