feat: explorer API, wallet, CCIP scripts, and config refresh
- Backend REST/gateway/track routes, analytics, Blockscout proxy paths. - Frontend wallet and liquidity surfaces; MetaMask token list alignment. - Deployment docs, verification scripts, address inventory updates. Check: go build ./... under backend/ (pass). Made-with: Cursor
This commit is contained in:
@@ -30,7 +30,7 @@ All components have been implemented according to the plan:
|
||||
### ✅ Phase 4: Track 2 (Full Indexed Explorer)
|
||||
- **Indexers**: Block, transaction, and token indexers (`backend/indexer/track2/`)
|
||||
- **Track 2 API**: All endpoints implemented (`backend/api/track2/endpoints.go`)
|
||||
- **Database Schema**: Complete schema for indexed data (`backend/database/migrations/0010_track_schema.up.sql`)
|
||||
- **Database Schema**: Full Track 2-4 schema plus shared-DB-safe auth/operator subset (`backend/database/migrations/0010_track_schema.up.sql`, `backend/database/migrations/0010_track_schema.auth_only.sql`)
|
||||
|
||||
### ✅ Phase 5: Track 3 (Analytics)
|
||||
- **Analytics Engine**: Flow tracking, bridge analytics, token distribution (`backend/analytics/`)
|
||||
@@ -80,7 +80,8 @@ Backend
|
||||
- `backend/analytics/` - Analytics engine
|
||||
|
||||
### Database
|
||||
- `backend/database/migrations/0010_track_schema.up.sql` - Track 2-4 schema
|
||||
- `backend/database/migrations/0010_track_schema.up.sql` - full Track 2-4 schema
|
||||
- `backend/database/migrations/0010_track_schema.auth_only.sql` - shared Blockscout DB auth/operator subset
|
||||
|
||||
### Frontend
|
||||
- Updated `frontend/public/index.html` with feature gating
|
||||
@@ -89,9 +90,10 @@ Backend
|
||||
|
||||
1. **Run Database Migrations**:
|
||||
```bash
|
||||
cd explorer-monorepo/backend/database/migrations
|
||||
# Run migration 0010_track_schema.up.sql
|
||||
cd explorer-monorepo
|
||||
bash scripts/run-migration-0010.sh
|
||||
```
|
||||
The helper auto-detects standalone explorer DB vs shared Blockscout DB and chooses the safe migration path automatically.
|
||||
|
||||
2. **Configure JWT Secret**:
|
||||
- Update `backend/api/rest/auth.go` to use environment variable for JWT secret
|
||||
@@ -126,4 +128,3 @@ Test each track level:
|
||||
- JWT secret is hardcoded in auth.go - move to environment variable
|
||||
- Track routes are commented in routes.go - uncomment and wire up middleware when ready
|
||||
- Frontend feature gating is implemented but needs testing with actual API responses
|
||||
|
||||
|
||||
Reference in New Issue
Block a user