XFTMultiAssetSwap

XFTMultiAssetSwap

Atomic swap using Hash Time Locked Contracts (HTLC). Initiator deposits basket of tokens (LNT, UTSGEN, XFTA15), participant deposits USDXT. Both parties commit funds to contract with shared secret hash. Either party reveals secret to claim counterparty funds, or timelock expires for refunds.

FLOW

1 Initiator locks multiple tokens, sets hashlock/timelock 2 Participant locks single whitelisted token (USDXT) 3 Secret reveal triggers simultaneous token exchange 4 Emergency refund after timelock + 1 day

Last updated