Publish Chain 138 RPC capability metadata

This commit is contained in:
defiQUG
2026-03-28 15:56:42 -07:00
parent ff8d94383c
commit 630021c043
6 changed files with 265 additions and 3 deletions

View File

@@ -41,6 +41,45 @@ BASE_URL=http://127.0.0.1:3000 npm run smoke:routes
- `smoke:routes` performs a lightweight route and content sweep against a running frontend instance.
- `npm run dev` now binds to `127.0.0.1` by default, but still honors `HOST` and `PORT` overrides.
### RPC capability matrix for wallets and explorer services
The explorer now publishes a wallet-facing capability catalog at:
```text
https://explorer.d-bis.org/api/config/capabilities
```
That endpoint is the current source of truth for what the public Chain 138 RPC tier supports for:
- MetaMask and other wallet basics
- fee-estimation compatibility
- explorer tracing compatibility
- known public-RPC omissions
Current public-RPC summary:
| Area | Status | Notes |
|------|--------|-------|
| `eth_chainId` / `eth_blockNumber` / `eth_syncing` | Supported | Core wallet/provider compatibility is present. |
| `eth_gasPrice` | Supported | Basic fee quote path works. |
| `eth_feeHistory` | Supported | Modern wallet fee estimation can use it. |
| `eth_estimateGas` / `eth_getCode` | Supported | Required for normal wallet and app flows. |
| `eth_maxPriorityFeePerGas` | Not supported on public RPC | Wallets may fall back to simpler heuristics. |
| `trace_block` / `trace_replayBlockTransactions` | Supported | Explorer/indexer tracing works on the public tier. |
| `debug_traceBlockByNumber` | Not enabled on public RPC | Intentional for the public tier; do not assume debug tracing is available. |
MetaMask behavior to keep in mind:
- MetaMask primarily depends on JSON-RPC correctness, not explorer richness.
- `wallet_addEthereumChain` and `wallet_watchAsset` help wallet UX, but they do not replace missing RPC methods.
- If `eth_maxPriorityFeePerGas` is unavailable, MetaMask can still work, but fee UX may be less polished than on top-tier public networks.
You can verify the published matrix against live infrastructure with:
```bash
bash scripts/verify/check-chain138-rpc-health.sh
```
---
## CSP blocks eval / “script-src blocked”