Skip to Content
Quickstart

Quickstart

Go from zero → first build in minutes.

Integration rules (must follow)

  1. Never hardcode addresses. Load from deployments/<network>.json.
  2. Never invent event signatures. Use src/lib/Events.sol + ABIs in abis/.
  3. Use correct UI verbs. ETH payouts = “Collect” | CLAIM rewards = “Harvest”

Prereqs

  • Foundry 1.5.1
  • Node.js (use repo .nvmrc)
  • Python 3

Repo setup

make deps && make build && make test

Run local stack

npm run local

Does: starts Anvil → deploys contracts → writes manifests → starts frontend dev server.

Variants:

CommandWhat it does
npm run local:deployDeploy + write manifests only
npm run local:frontendFrontend only (manifests must exist)

CI-parity gates

make gates

Run this before shipping changes. Checks docs, manifests, ABIs, analytics sync.

Deployed addresses

TypePath
Canonicaldeployments/<network>.json
Human-readabledeployments/<network>.md

Rule: Filter logs by evt_block_number >= startBlock from manifest.

Key params (v1.0.0)

Crown pricing (MineCore)

ParamValue
Floor0.001 ETH
Decay1 hour
Reference updatereferencePrice = pricePaid * 2

Emissions

Linear decay over 2 years.

StreamStartFloor
Crown (King)50 CLAIM/s~5.56 CLAIM/s
Furnace reserve5 CLAIM/s~0.56 CLAIM/s

Locks (VeClaimNFT)

ParamValue
Min amount1,000 CLAIM
Duration7–365 days
Max per wallet32

Barons activation (ShareholderRoyalties)

MIN_VE_FLUSH = 100e18 — ETH stays pending until threshold met.

Next reads

GoalPage
Big pictureProtocol overview
Building an appCore mechanics, Furnace
Analytics/indexingEvents and indexing
Building agentsAgents and automation
Building keepersMaintenance and bots