# HabitProofX protocol metadata (IPFS)

This directory is the content-addressed protocol pack.

**Pinned here**
- `protocol.json` — chain IDs, token, fees, immutability, decentralization
- `HabitRegistry.sol` — registry source (no admin, no proxy)
- `HabitRegistry.abi.json` — ABI
- `legal-hashes.json` — SHA-256 of the live Terms, Privacy, Security, and white paper source

**Not pinned here**
- User habits, wallet keys, or streaks (those stay on-chain / in the browser)

After testing, contracts are deployed **immutable**. Re-run `npm run ipfs:pack` whenever this pack changes; the root CID will change. Pin the directory with Kubo:

```
ipfs add -r --cid-version=1 --raw-leaves ipfs/bundle
ipfs pin add <root-cid>
```

A static copy is also served by this interface at `/ipfs/bundle/` so you can verify hashes before the CID is on the public DHT.
