mirror of
https://github.com/lux-apps/papers.git
synced 2026-11-03 05:07:46 +00:00
67 lines
2.0 KiB
TeX
67 lines
2.0 KiB
TeX
\section{Cross-Chain Collateral via M-Chain}
|
|
|
|
|
|
\subsection{Bitcoin as Collateral}
|
|
|
|
Lux Credit's integration with M-Chain enables Bitcoin to be used as collateral without wrapping tokens:
|
|
|
|
\begin{lstlisting}[language=Solidity, basicstyle=\small\ttfamily]
|
|
interface IBitcoinCollateral {
|
|
struct BTCVault {
|
|
bytes32 btcTxHash; // Bitcoin deposit transaction
|
|
bytes btcAddress; // Threshold custody address
|
|
uint256 amount; // BTC amount (satoshis)
|
|
bytes32 luxLoanId; // Associated Lux Credit loan
|
|
uint256 unlockHeight; // Bitcoin block for redemption
|
|
}
|
|
|
|
// Deposit BTC and receive Lux Credit loan
|
|
function depositBTCForLoan(
|
|
bytes calldata btcProof, // SPV proof of deposit
|
|
uint256 luxAmount // Desired loan amount
|
|
) external returns (bytes32 loanId);
|
|
|
|
// MPC threshold signature for BTC redemption
|
|
function redeemBTC(
|
|
bytes32 loanId,
|
|
bytes calldata btcDestAddress
|
|
) external returns (bytes32 redemptionTxHash);
|
|
|
|
// Verify Bitcoin transaction via M-Chain
|
|
function verifyBTCDeposit(
|
|
bytes calldata spvProof,
|
|
bytes32 btcTxHash
|
|
) external view returns (bool);
|
|
}
|
|
\end{lstlisting}
|
|
|
|
\subsection{MPC Threshold Custody}
|
|
|
|
Bitcoin collateral is secured using M-Chain's threshold signatures (from LP-13):
|
|
|
|
\textbf{Key Features:}
|
|
\begin{itemize}
|
|
\item 15-of-21 threshold for BTC custody addresses
|
|
\item CGG21 ECDSA protocol (80ms signing)
|
|
\item Pulsar quantum-safe extension (7ms combining)
|
|
\item \$3.2B volume processed with zero security incidents
|
|
\end{itemize}
|
|
|
|
\subsection{Supported Assets}
|
|
|
|
\begin{table}[h]
|
|
\centering
|
|
\begin{tabular}{@{}llr@{}}
|
|
\toprule
|
|
\textbf{Asset} & \textbf{Bridge} & \textbf{TVL} \\ \midrule
|
|
LUX & Native & \$187M \\
|
|
BTC & M-Chain MPC & \$142M \\
|
|
ETH & Lux Bridge & \$76M \\
|
|
USDC & Multiple & \$18M \\
|
|
USDT & Multiple & \$4M \\ \midrule
|
|
\textbf{Total} & & \textbf{\$427M} \\ \bottomrule
|
|
\end{tabular}
|
|
\caption{Collateral composition by asset (Q3 2024)}
|
|
\end{table}
|
|
|