Rule Craft

Update · 2026-10-02

On-chain v1: hook, launcher, blueprint registry

Three contracts written and tested (unit, fuzz, mainnet fork). Unaudited.

Shipped

The write side is built. Three contracts sit next to the Uniswap v4 PoolManager on Robinhood Chain:

  • RuleCraftHook: one hook (mask 0x20C4) for every Rule Craft pool, applying each pool's frozen rules. Snipe Guard, Size-Scaled Fee, Buy Burn, LP Stream; royalties and protocol share accrue for claiming.
  • RuleCraftLauncher: one transaction mints a fixed-supply token, opens its pool with the rules and seeds the whole supply as liquidity. Holds the founding position for its creator (with Liquidity Timelock) and routes exact-input swaps.
  • BlueprintRegistry: anyone publishes a rule set with a royalty of up to 25%; launches that use it pay its author.

Tested

  • 23 unit and fuzz tests on a local PoolManager.
  • A fork test against the real PoolManager and v4 Quoter on Robinhood Chain: quotes match execution.
  • A browser run on a mainnet fork: deploy, launch, swap, guard cap, burn, royalty claim.

What the site does with them

  • Publish blueprints from the composer.
  • Launch from the launch form.
  • Trade on a pool page, with quotes from Uniswap's v4 Quoter.
  • Claim royalties and collect LP fees from the portfolio.
Unaudited. No owner, no upgrade path, no admin function after the one-time wiring. Milestone Pot, Arb Recapture and existing-token pools are not part of v1.

All updates