Provenance registry for fine art trading card BTC ordinals.
npm install
cp .env.local.example .env.local
# Edit .env.local and set ADMIN_SECRET to something strong
npm run dev/— Public vault checker (paste address or NFC auto-populates?vault=ADDRESS)/admin— Admin-only registration form (password gated)
- Push this repo to GitHub
- Import in Vercel
- Add environment variable:
ADMIN_SECRET= your secret password - Deploy
Program each NFC tag to open:
https://yoursite.com/?vault=WALLET_ADDRESS
The checker page reads the vault query param and auto-runs the lookup.
Vault records live in data/vaults.json. On Vercel this file is read-only after deploy — each deploy snapshot the data.
- Use the admin form locally (
npm run dev) to register all vaults - The
data/vaults.jsonfile grows with each entry - Commit and push
data/vaults.jsonto GitHub - Vercel redeploys with all records baked in
- For future additions: add locally, push, redeploy (takes ~30 seconds)
This keeps it simple with zero database costs.