TWIX TDAP DEVICE API v0.2.0 — QUICK START
===========================================

1. Generate an Ed25519 key on the device/gateway:
   php twix-meter-agent.php init --device-id=meter:facility-a:001 --key=/secure/meter.key

2. In validator.twixchain.com/admin.php register ONLY:
   - device id
   - public key
   - adapter type
   - visibility policy

3. Send a reading:
   php twix-meter-agent.php send \
     --endpoint=https://validator.twixchain.com/api/ingest.php \
     --device-id=meter:facility-a:001 \
     --key=/secure/meter.key \
     --state=/secure/meter-state.json \
     --value=14832.771 \
     --unit=kWh

4. API:
   POST /api/ingest.php
   GET  /api/status.php
   GET  /api/metrics.php
   GET  /api/device.php?id=...
   GET  /api/proof.php?hash=...
   GET  /api/batch.php?root=...
   GET  /api/openapi.json

Private device keys must never be pasted into the admin dashboard, API request,
validator configuration, repository, website, logs, or support conversation.
