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:
defiQUG
2026-04-07 23:22:12 -07:00
parent d931be8e19
commit 6eef6b07f6
224 changed files with 19671 additions and 3291 deletions

View File

@@ -34,7 +34,7 @@
1. **Database Connection**
- Status: ⚠️ Not connected
- Impact: Track 1 endpoints work (use RPC), Track 2-4 require database
- Solution: Set `DB_PASSWORD` environment variable and run migration
- Solution: Set `DB_PASSWORD` environment variable and run `bash scripts/run-migration-0010.sh`
2. **Health Endpoint**
- Status: ⚠️ Returns degraded status (due to database)
@@ -49,7 +49,7 @@
| `/api/v1/features` | ✅ Working | Returns track level and features |
| `/api/v1/track1/blocks/latest` | ✅ Working | HTTP 200 |
| `/api/v1/track1/bridge/status` | ✅ Working | Returns bridge status |
| `/api/v1/auth/nonce` | ⚠️ HTTP 400 | Requires valid address format |
| `/api/v1/auth/nonce` | ⚠️ DB-backed | Requires both a valid address and the `wallet_nonces` table created by `scripts/run-migration-0010.sh` |
| `/api/v1/track2/search` | ✅ Working | Correctly requires auth (401) |
### Environment Configuration
@@ -94,6 +94,7 @@ DB_NAME=explorer
-H 'Content-Type: application/json' \
-d '{"address":"...","signature":"...","nonce":"..."}'
```
If the response mentions `wallet_nonces` or the wallet popup shows `Nonce: undefined`, rerun `bash scripts/run-migration-0010.sh` and restart the backend before retrying.
### Production Deployment
@@ -104,7 +105,7 @@ DB_NAME=explorer
2. **Configure Database**
- Set proper `DB_PASSWORD`
- Run migration: `bash scripts/run-migration-0010.sh`
- Run migration helper: `bash scripts/run-migration-0010.sh`
- Verify connection: `bash scripts/check-database-connection.sh`
3. **Start as Service**
@@ -156,4 +157,3 @@ curl http://localhost:8080/api/v1/features
The tiered architecture has been successfully deployed. The API server is running and responding to requests. Track 1 endpoints (public RPC gateway) are fully functional. Track 2-4 endpoints are configured but require database connectivity for full functionality.
**Deployment Status: ✅ SUCCESSFUL**