❄ Getting Started

Getting Started

Prerequisites

Installation

Nothing to install. The tool is a single script:

cd rime-ledger
python3 tools/ledger.py --help

First Run

Record what happened to one address:

python3 tools/ledger.py observe 203.0.113.7 \
  --project my-project --stage page_load --outcome blocked \
  --reason "challenge never resolved"

Then look at what the house currently believes:

python3 tools/ledger.py views
python3 tools/ledger.py audit

Common Workflows

Check before spending an address

python3 tools/ledger.py views        # derive fresh + reusable
cat views/fresh-ips.json            # read the criteria and generated_at first

Treat an empty view as a photograph: check generated_at, then trust the store, not the file.

Read one address's story

python3 - <<'PY'
import json
row = json.load(open("ledger/ip-ledger.json"))["203.0.113.7"]
for h in row.get("history", []):
    print(h["at"], h["project"], h["stage_reached"], h["outcome"], h["reason"][:60])
PY

Look for drift before trusting the vocabulary

python3 tools/ledger.py audit

Configuration

Where to Go Next