Tapezero docs
Network

Deployments

Where TAPEZERO is, and the checklist for putting it anywhere.

Local fork (Anvil)chain id 31337from block 25913986
TapeFactory
0x987e855776C03A4682639eEb14e65b3089EE6310
TapeHook
0x5c2D10AD0B1ba5042193d5D9c2b9e7F7BBd6A0cc
TapeQuoteRegistry
0x512F7469BcC83089497506b5df64c6E246B39925
TapeLiquidityLocker
0xb932C8342106776E73E39D695F3FFC3A9624eCE0
TapeFeeVault
0x9fD16eA9E31233279975D99D5e8Fc91dd214c7Da
TapePreviewer
0xe38b6847E611e942E6c80eD89aE867F522402e80
TapeFeeRight
0xE8F7d98bE6722d42F29b50500B0E318EF2be4fc8

Before deploying

  • forge test passes, including the fork tests
  • pnpm -r typecheck and pnpm -r lint pass
  • forge fmt --check is clean
  • a third-party audit has been completed — there is none today
  • the config mirror still matches Limits.sol
  • owner and treasury are multisigs, not EOAs

Deploying

forge script script/Deploy.s.sol \
  --rpc-url $ROBINHOOD_RPC_URL --broadcast --verify

# required env
#   POOL_MANAGER      Uniswap v4 PoolManager for the chain
#   PROTOCOL_OWNER    owner of the registry, vault and factory
#   PROTOCOL_TREASURY where swept protocol fees land
#   PROTOCOL_FEE_BPS  optional, defaults to 30

Ordering matters: the hook is mined and deployed before the factory, because the factory's constructor rejects a hook whose address does not encode the right permission bits. The script asserts the full wiring at the end and aborts the broadcast if any assertion fails — including that both experimental modules ship disabled.

After deploying

  1. 01run pnpm sync:deployments so the app, SDK and indexer pick up the addresses
  2. 02verify on the explorer that the hook address encodes the required permission bits
  3. 03confirm potModuleEnabled() and feeRightEnabled() are both false on-chain
  4. 04register quote assets one at a time, checking both decimals, the staleness bound and the corporate-action buffer for each
  5. 05launch one market at a small opening FDV and confirm both manifest checks pass
  6. 06point the indexer at the deployment and confirm history appears
  7. 07leave the chart provider unset until a real one exists

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