deviant/contracts/tron
walerikus 56d1181594 feat(build-b): native-coin lock-and-mint (tTRX) validated — List B2
Option 2: the native-coin sibling of the tUSDt rail. TronTRXVault locks NATIVE
TRX via a payable lock() (no transferFrom); DeviantWrapMintIOU mints a floating
1:1 IOU tTRX on BCH (= 1 TRX, pegged to the native unit, NOT a dollar). All 6
checks PASS on real coins: lock 10 TRX -> mint 10,000,000 tTRX -> reconcile
(==) -> replay rejected -> redeem releases the TRX -> reconcile (0:0). Proves
the hub holds volatile L1 coins, not just stablecoins. Trust = oracle/operator
(B6 M-of-N applies identically).

  contracts/tron/TronTRXVault.sol
  scripts/tron-bch-lock-mint-trx.mjs

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 16:04:18 +02:00
..
MockUsdt.sol feat(crosschain): SafeERC20 refund fix + robustness suite + naming model 2026-06-23 23:05:48 +02:00
TestTRC20.sol feat(build-b): B1 TronHTLC primitive validated on Nile + DGB in landscape 2026-06-27 20:28:07 +02:00
TronHTLC.sol feat(build-b): B2 trustless USDT(Tron)<->BCH atomic swap validated on real coins 2026-06-28 01:24:55 +02:00
TronTRXVault.sol feat(build-b): native-coin lock-and-mint (tTRX) validated — List B2 2026-06-28 16:04:18 +02:00
TronUSDTVault.sol feat(build-b): B3/B4/B5 lock-and-mint tUSDt validated (real Tron lock + reconciliation) 2026-06-28 12:25:34 +02:00
TronUSDTVaultMofN.sol feat(build-b): B6 bonded M-of-N trust floor (Tron side) — Build B complete 2026-06-28 14:49:18 +02:00
UsdtLockNile.sol feat(crosschain): SafeERC20 refund fix + robustness suite + naming model 2026-06-23 23:05:48 +02:00