KuberCoin Docs

Autonomous Submarine Swaps

Cross-chain atomic USDT swaps via Lightning Network and on-chain HTLC contracts.

Instant USDT Cross-Chain Submarine Swaps

KuberCoin supports autonomous, zero-human, non-custodial atomic swaps between native KUBER (via Lightning Network HTLCs) and external USDT tokens across Ethereum (ERC-20), Tron (TRC-20), Solana (SPL), Arbitrum, Polygon, and BSC.

Protocol Architecture

  • Reverse Swap (USDT → Instant KUBER): Trader locks USDT into on-chain ExternalHtlc contract using payment hash H = SHA256(P). The relayer captures on-chain lock and instantly pays KUBER over Lightning. Trader claims KUBER by revealing preimage P, allowing relayer to sweep USDT.
  • Normal Swap (KUBER → USDT): Relayer locks USDT on external chain with (H, timelock). Trader settles Lightning invoice to reveal preimage P and claim external USDT directly into their destination wallet.

Security & Non-Custodial Guarantees

All swaps are trustlessly bound by cryptographic timelocks and SHA-256 hashes. If either party disconnects or fails to fulfill their leg of the swap, funds are automatically refunded to the sender upon timelock expiry.