Files
papers/lux-teleport-protocol/sections/03-intra-ecosystem-transfers.tex
zeekay abf99d05fc papers: reorganize into per-paper dirs, add Antje Worring as co-author
Restructured from flat .tex/.pdf files into per-paper subdirectories.
Added Antje Worring as co-author on all papers.
Synced PDFs to pdfs/ for download site.
2026-04-18 21:50:07 -07:00

45 lines
1.5 KiB
TeX

\section{Intra-Ecosystem Transfers}
\label{sec:intra}
\subsection{Warp-Based Transfer}
Between Lux appchains, transfers use the Warp Messaging protocol for proof generation and verification:
\begin{algorithm}[H]
\caption{Intra-Lux Token Transfer}
\label{alg:intra}
\begin{algorithmic}[1]
\Require User wants to transfer $n$ LUX from appchain $A$ to appchain $B$
\State \textbf{Source (Appchain $A$):}
\State User calls $\mathsf{BridgeA.lock}(n, B)$
\State Contract burns/locks $n$ LUX, emits warp message $\mathcal{M}$
\State Appchain $A$ validators sign $\mathcal{M}$
\State Relayer aggregates $\geq 2/3$ stake-weighted signatures
\State $\Pi \gets (\sigma_{\text{agg}}, \mathsf{bitmap})$
\State \textbf{Destination (Appchain $B$):}
\State Relayer submits $(\mathcal{M}, \Pi)$ to $\mathsf{BridgeB}$
\State $\mathsf{BridgeB}$ calls Warp precompile to verify $\Pi$ (50,000 gas)
\State If valid: mint $n$ LUX to user on appchain $B$
\end{algorithmic}
\end{algorithm}
\subsection{Latency and Cost}
\begin{table}[H]
\centering
\caption{Intra-Lux transfer performance.}
\label{tab:intra_perf}
\begin{tabular}{lrr}
\toprule
\textbf{Metric} & \textbf{Standard Mode} & \textbf{Optimistic Mode} \\
\midrule
End-to-end latency & 2--4 seconds & 0.3--0.5 seconds \\
Source gas cost & 50,000 (lock) & 50,000 (lock) \\
Destination gas cost & 100,000 (verify + mint) & 150,000 (verify + mint + bond) \\
Relay fee & 0.001 LUX & 0.005 LUX \\
Total user cost & $\sim$0.005 LUX & $\sim$0.01 LUX \\
\bottomrule
\end{tabular}
\end{table}