Home/Docs/Recipe Book/Recipe Book Overview

The on-chain deploy ledger for Cookie Chain.

Recipe Book Overview

What is the Recipe Book?

The Recipe Book is a small Anchor program deployed on Cookie Chain that records every bake deploy. It's a permanent, public, on-chain ledger of deploy history.

Program ID: 56Vj61zFW4hHV6wdjnisrHtVwWDqyjixjpBgnoRJvzxL

Why it exists

Cookie Chain's economics make permanent on-chain history practical:

  • Deploy history costs almost nothing to store
  • Rollbacks cost cents
  • Verification is instant

The Recipe Book turns "what did I deploy and when?" from a database question into a blockchain query.

What it records

Every entry includes:

  • Repository โ€” git remote URL or short name
  • Commit โ€” git commit SHA
  • Build hash โ€” SHA-256 of the compiled binary
  • Buffer โ€” the buffer account used during deploy
  • Deployer โ€” wallet address that deployed
  • Timestamp โ€” unix timestamp of the deploy

How it works

bake deploy
    โ†“
anchor build --arch v0 --tools-version v1.57
    โ†“
solana deploy
    โ†“
SHA-256(compiled.so)
    โ†“
Recipe Book: register_deploy(repo, commit, buildHash, buffer)

Dashboard

The bakeacookie dashboard visualizes Recipe Book data:

  • /program/<address> โ€” timeline of deploy entries

Program details

See:

Sourced from local MDX in docs/content/docs