Skip to main content

Introduction

Clanker is an AI-powered protocol that allows users to deploy ERC-20 tokens instantly on Base, using Farcaster posts, web interfaces like clanker.world, or Clanker’s developer API. It automates token creation, liquidity provisioning, and fee sharing. This tutorial shows you how to stream Clanker token deployments in real time using The Neighborhood’s indexing infrastructure. Note: This tutorial uses a transformation written by Indexing Co that returns the same data the Clanker team receives from The Neighborhood. It’s based on all known TokenCreated events across Clanker deployment contracts.

Prerequisites

You’ll need:
  • A Neighborhood API key. To get access, sign up at accounts.indexing.co or email [email protected]
  • Familiarity with smart contract events
  • curl or Postman
  • A webhook or database endpoint (optional)

What You’ll Build

A pipeline that:
  1. Listens to Clanker’s TokenCreated events
  2. Decodes them with the event metadata
  3. Streams structured data to a webhook or database

Step 1: Create a Contract Filter

Clanker’s TokenCreated event looks like:
To get the Keccak256 hash of the event signature:
Then create the filter:

Step 2: Add the Transformation Logic

This logic will give you the same data the Clanker team receives. It supports all known TokenCreated variants emitted by Clanker’s suite of deployer contracts.

Step 3: Create the Transformation

🔗 Step 4: Create the Pipeline

Step 5: Test the Stream

Once live, your webhook should receive events like:
You can test this manually using:

Wrap-Up

You’ve now set up a real-time stream of Clanker token deployments using The Neighborhood. The data you’re receiving is identical to what Clanker themselves use in production. Need help or want to go further?