XContext

PDA Registry Sprint

Register PDAs with canonical bumps, resolve by program + seeds, and expose a read-only JSON API.

PDA Registry Sprint

PDA Registry (Medium)

Implement a service that registers PDAs for a fixed program id. Store program id, seeds (as byte arrays or base64), bump, and derived address.

Endpoints

POST /api/pdas — Register a PDA (must verify bump is canonical)

GET /api/pdas?program= — List PDAs for a program

GET /api/pdas/:address — Lookup by derived address

Requirements

  • Canonical bump check on every registration.
  • Return 404 when no record exists.
Starting environment…

Preparing WebContainer…

Terminal is available when the environment is ready.