Tapezero docs
Developers

SDK

Typed reads, ABIs and the shared math.

What it contains

  • ABIs for every contract, as const for viem type inference
  • quote-health evaluation matching OracleGuard's predicate
  • formatting helpers for prices, tokens, bps and ages
  • config-hash and pool-id recomputation, used by the manifest checks
  • tick and sqrtPriceX96 helpers
import { TapeFactoryAbi, TapePreviewerAbi, evaluateQuoteHealth, formatUsd } from "@tapezero/sdk";
import { DEPLOYMENTS, robinhoodChain } from "@tapezero/config";

const deployment = DEPLOYMENTS[robinhoodChain.id];

const preview = await client.readContract({
  abi: TapePreviewerAbi,
  address: deployment.previewer,
  functionName: "previewLaunch",
  args: [params],
});

TAPEZERO is an independent protocol and is not affiliated with Robinhood, Uniswap or Chainlink. The contracts are unaudited. Nothing here is investment advice.