Ekiden uses a smart contract-based margin bank to custody collateral for trading. Users can deposit multiple supported tokens to the margin bank and withdraw available (free) collateral at any time. All deposits and withdrawals are on-chain but occur on the same network as the Ekiden protocol—no cross-chain bridging is required.