- Institutional / JVMTM / reserve-provenance / GRU transport + standards JSON - Validation and verify scripts (Blockscout labels, x402, GRU preflight, P1 local path) - Wormhole wiring in AGENTS, MCP_SETUP, MASTER_INDEX, 04-configuration README - Meta docs, integration gaps, live verification log, architecture updates - CI validate-config workflow updates Operator/LAN items, submodule working trees, and public token-aggregation edge routes remain follow-up (see TODOS_CONSOLIDATED P1). Made-with: Cursor
5.0 KiB
Truth Network — bridge integration and execution plan
Last updated: 2026-03-30
Purpose: Replace the previously missing spec referenced from scripts/truth-network/README.md. Describes what exists on Chain 138, what is not implemented yet, and ordered work for WETH liquidity on Truth, optional cW* extension, and peg/stability.
1. Scope and facts
- Truth Network (Substrate) ↔ Ethereum is the primary public bridge summarized in GALATIC_SUMMARY.md (section 5.1: TRUU lift/burn; Ethereum Truth Bridge).
- Chain 138 today exposes only a registry adapter, not a CCIP lane to Truth:
| Component | Role | Status |
|---|---|---|
TruthNetworkAdapter |
Holds Ethereum Truth Bridge address for ChainRegistry |
Deployed (see CONTRACT_ADDRESSES_REFERENCE / ADDRESS_MATRIX_AND_STATUS) |
ChainRegistry |
EVM + non-EVM chain metadata | Deployed |
| Scripts | Deploy adapter, register Truth | scripts/truth-network/*.sh |
The adapter contract is intentionally minimal (immutable Ethereum bridge pointer only):
smom-dbis-138/contracts/registry/TruthNetworkAdapter.sol
2. What this spec does not claim
- There is no documented or scripted Chain 138 WETH9 → Truth CCIP path in this repo (CCIP docs cover EVM destinations; see CCIP_138_DESTINATION_RECEIVER_BY_CHAIN_AND_TOKEN).
cross-chain-pmm-lpshas no Truth chain entries today; Phase C pool-matrix work is EVM-scoped.
3. Execution plan (ordered)
Phase A — Registry and Ethereum bridge truth (done / maintain)
- Keep
TruthNetworkAdapterconstructor arg aligned with the live Ethereum Truth Bridge address. - Re-run registration only if registry or bridge address changes:
./scripts/truth-network/deploy-and-register-truth-on-chain138.sh --register-only
Phase B — WETH representation and route to Truth (design + ops)
Pick and document one primary path (engineering decision):
| Option | Idea | Repo touchpoints |
|---|---|---|
| B1 | User/assets: Ethereum WETH ↔ Truth via native Truth↔Ethereum bridge; Chain 138 is metadata/registry only | Adapter + off-chain docs |
| B2 | 138 WETH9 → Ethereum (existing CCIP / relay / hub patterns) → Truth via Ethereum bridge | CCIP_BRIDGE_MAINNET_CONNECTION.md, DEPLOYER_TO_PUBLIC_STABLECOIN_ROUTES |
| B3 | Future direct 138↔Truth mechanism (custom bridge, wrapped asset on Truth, etc.) | Not designed in repo; requires new contracts + security review |
Deliverables: sequence diagram, responsible bridge contracts per hop, fee asset (LINK, ETH, TRUU), and Blockscout / Truth explorer links for each leg.
Phase C — “Stable WETH9 price” on Truth (after route exists)
Treat as operational, not automatic:
- Reference price: ETH/USD (or WETH/USD) from agreed oracles on Truth + Ethereum.
- Liquidity: AMM or PMM pools that trade wrapped WETH vs a USD stable on Truth (if EVM-compatible substrate or via gateway).
- Monitoring: deviation alerts vs reference; optional bot (same idea as PHASE_C_CW_AND_EDGE_POOLS_RUNBOOK.md section C.3 peg bands).
Phase D — cW* on Truth + PMM / edge pools (extension)
If Truth exposes EVM-compatible assets (or a clear wrapped-token standard):
- Mirror the Phase C pattern: PHASE_C_CW_AND_EDGE_POOLS_RUNBOOK.md,
cross-chain-pmm-lps/config/pool-matrix.json,deployment-status.json. - Add a Truth chain id (or sibling “network” row) to config; record cW* addresses and pool addresses when deployed.
- Extend indexer / MCP allowlist generation per SINGLE_SIDED_LPS_PUBLIC_NETWORKS_RUNBOOK.md once pools exist.
If Truth remains non-EVM only, Phase D becomes “bridge cW* to Ethereum (or 138) only” — same as public EVM Phase C, not on-chain on Substrate.
4. E2E verification checklist (when implemented)
- Single documented path from source (138 WETH9 and/or Ethereum WETH) to Truth asset, with tx examples on both explorers.
- Price / peg: documented oracle(s) and pool addresses; alert thresholds.
- Optional: cW* addresses on target network + funded pools in
deployment-status.json. - Market data: update CW_STAR_CMC_COINGECKO_LISTING_STATUS if tokens or pools become listable.
5. References
scripts/truth-network/README.md- GALATIC_SUMMARY.md section 5.1 bridges table
- CW_BRIDGE_APPROACH.md
- REMAINING_DEPLOYMENTS_FOR_FULL_NETWORK_COVERAGE.md (Phases A–D)