BlockReq
Back to all articles

Rpc Tutorials

Listen for anon launches on Robinhood Chain (Anoncoin)

Hang Anoncoin anon-launchpad PairCreated on BlockReq public WSS eth_subscribe—filter quote=$SPCX, open alert cards, dedupe + rate limit. Free 3M quota.

BlockReq EngineeringSeptember 9, 20265 min read

Listen for anon launches on Robinhood Chain (Anoncoin)

Anoncoin is live on Robinhood Chain—anonymous launchpad plus a $SPCX quote narrative riding together. Tape feel paraphrased from anoncoinit. This post does one job: hang eth_subscribe on the Anoncoin Factory, listen for PairCreated / equivalent open events, filter quote=$SPCX locally, and fire an open alert card.

Open rhythm: Watch Robinhood opens. New-pool feed: New pairs agent. Stock pairs: Stock-pairs launch. This one tracks anon launch + $SPCX quote whitelist.

UseEndpoint
Public HTTPShttps://robinhood-mainnet-rpc.blockreq.com/v1/rpc/public
Public WSSwss://robinhood-mainnet-rpc.blockreq.com/v1/rpc/public
PrivateTrailing public{API_KEY} (keys stay local)

Chain: EVM chainId = 0x1237 (4663). Free 3M Requests / 30 days · Public endpoints · eth_subscribe · Pricing.

1. Why RH anon + stock-quote launches run hot

Tape feelOn-chain signalWatch
Anon launch landsFactory PairCreated (or equivalent open log)token0 / token1 / pair
$SPCX quote pairOne side == local QUOTE_TOKEN ($SPCX)env whitelist hit
Open cluster readyPairCreated + first LP / Mint same windowmin-liquidity gate
Hear the open earlyOpen card ahead of book crushdedupe key + rate limit

Anon launch = narrow Factory logs + quote-side whitelist. Stock-pairs uses a stock-token table; this post uses a $SPCX quote env—complementary recipes.

2. What the open event looks like (topics / fields)

One public WSS: subscribe Anoncoin Factory; decode each push and match token0 / token1 against quote. Factory address lives in env ANONCOIN_FACTORY—swap the env for the live contract when ready; the subscribe pattern stays the same.

Step A · Subscribe PairCreated (Factory topic0 example)

{
  "jsonrpc": "2.0", "id": 1, "method": "eth_subscribe",
  "params": ["logs", {
    "address": "ANONCOIN_FACTORY",
    "topics": ["0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9"]
  }]
}
  • address = process.env.ANONCOIN_FACTORY (placeholder; swap for the live factory).
  • topics[0] = Uniswap V2-style PairCreated (confirm against Factory ABI; if Anoncoin uses an equivalent open topic, swap this one field).
  • Decode token0 / token1 / pair → write local launchState.

Step B · Filter quote=$SPCX (env whitelist)

FieldSourceDemo rule
quoteHittoken0 or token1 == QUOTE_TOKENenv default: $SPCX contract, lowercased
baseSidethe other addresstreat as the newly launched token
pairPairCreatedoptional follow-on Mint / Sync sub
txHash / blockNumberlog metadatadedupe key + backfill anchor

quoteHit → tag $SPCX open; extend with a whitelist array for more quote tokens.

Step C · First-liquidity gate (optional layer)

On PairCreated, feed pair into a second narrow sub (Mint / add-liq). First-cluster liquidity ≥ MIN_LIQ (env) → stack LP ready, then push the open card.

3. Preview: Anoncoin / RH anon launch listen (StackBlitz)

Defaults to BlockReq public WSS; paste ANONCOIN_FACTORY + QUOTE_TOKEN ($SPCX), live-refresh PairCreated → quote filter → open cards. Code lives in StackBlitz—article embeds the preview only:

Repo: blockreq/blog-demosexamples/anoncoin-rh-launch-listen. For keyed: swap trailing public for {API_KEY}.

4. Alert pipeline: open → webhook (min liq / quote whitelist)

  1. PairCreated arrives → decode token0/1/pair, match against QUOTE_TOKEN whitelist.
  2. $SPCX hit → draft open payload { pair, baseSide, quote, factoryTx, ts }.
  3. min-liq gate → first Mint / add-liq ≥ MIN_LIQ → state becomes ready to push.
  4. Open card outboundPOST webhook / board: anon open · pair=… · quote=$SPCX · liq=… · tx=….
  5. Dedupe + rate limit → same txHash / pair fires once; sliding window (e.g. 3s) merges repeat pushes for one pair.

Disconnects: reconnect → re-subscribe; gap-fill with HTTPS eth_getLogs in block segments, replay the same quote / min-liq / dedupe rules. POST → https://robinhood-mainnet-rpc.blockreq.com/v1/rpc/public.

5. Free 3M rough estimate + summary

ActionRough cost (demo)Notes
One long-lived WSS subscribecounted per push while connectednarrow Factory topic → sparse pushes
Each open-card webhooklocal outbound, zero RPCon-chain spend stays on subscribe / backfill
Gap eth_getLogs backfillsegments × callspersist checkpoints, keep windows tight
Free 3M / 30 dayscovers short anon-launch listenslong boards go keyed
  1. Anon launch listen = Factory PairCreated → quote=$SPCX whitelist → open card.
  2. Recipe: ANONCOIN_FACTORY env + narrow logs + min liq + dedupe/rate-limit.
  3. Public WSS runs as-is; Free 3M covers short launch sessions; long boards go keyed.
  4. Series: open watch · new pairs agent · stock pairs · thin liquidity.

Next: pin ANONCOIN_FACTORY / QUOTE_TOKEN / MIN_LIQ as .env → wire open cards to webhooks → persist backfill checkpoints. Public endpoints · Plans & pricing.