evstack / evstack/atlas

feat: admin API

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Wire up `ADMIN_API_KEY` (currently documented but unused) and add protected endpoints. A single key configured via env var is used for all admin routes — rotated by updating the env and restarting.

- **Auth** — `Authorization: Bearer ` middleware on all `/api/admin/*` routes
- **Contract verification** — `POST /api/admin/contracts/:address/verify` (source + compiler metadata → upsert `contract_abis`)
- **Address labels** — `PUT/DELETE /api/admin/labels/:address` (table already exists, just needs endpoints)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.