Hanzo DeFi
Production-Ready DeFi Contracts
The complete DeFi stack: tokens, AMMs, lending, perps, governance, and post-quantum security. Built on OpenZeppelin, hardened for production.
Tokens
Standard token implementations with Lux-native naming
LRC20
ERC20 base implementation with extensions
LRC20B
Bridgeable tokens (mint/burn by bridge)
LRC721B
Bridgeable NFT standard
LRC1155B
Bridgeable multi-token standard
WLUX
Wrapped LUX for DeFi composability
Liquid Protocol
Unified yield vault and liquid staking with xLUX
Liquid
Master yield vault - receives ALL protocol fees
xLUX
Liquid staking token with auto-compounding
L* Tokens
LETH, LBTC, LUSD, LUSDC, LUSDT, LDAI, LSOL...
Vault
Cross-chain teleport vault
Exchange
AMM infrastructure and order books
AMM V2
Classic constant product pools (x*y=k)
AMM V3
Concentrated liquidity positions
LSSVM
NFT AMM with bonding curves
Router
Swap router with multi-hop paths
Perpetuals
Leveraged perpetual futures with up to 50x leverage
Vault
Central liquidity pool for perps
Router
Position management and execution
LLP
Liquidity provider token
Position
Keeper-executed limit orders
Lending
Morpho-style isolated lending markets
Markets
Core lending market protocol
Allocator
Capital allocation optimizer
Oracle
Price feeds and liquidation oracles
Governance
On-chain governance with vote-escrowed tokens
DAO
Complete DAO implementation
vLUX
Vote-escrowed LUX for governance
Gauge
Gauge weight voting system
Timelock
Timelock controller for proposals
Safe
Multi-sig wallets with post-quantum signer support
Safe
Core multi-sig wallet
FROST
Schnorr threshold signatures
ML-DSA
Post-quantum (Dilithium) signer
Quantum
Full quantum-resistant safe
Bridge
Cross-chain asset transfers via Warp messaging
Bridge
Core bridge with Warp verification
Teleport
Token teleportation interface
Omnichain
Cross-chain liquidity pools
Quantum-Resistant Cryptography
EVM precompiles for next-generation signature schemes
FROST
Schnorr threshold signatures (IETF RFC 9591)
ML-DSA
FIPS 204 / Dilithium lattice signatures
ML-KEM
FIPS 203 key encapsulation mechanism
SLH-DSA
SPHINCS+ stateless hash signatures
Corona
Lattice-based threshold signatures
CGGMP21
ECDSA threshold (MPC) for compatibility
BLS
BLS aggregate signatures
Lamport
One-time quantum-safe signatures
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import "@luxfi/contracts/tokens/LRC20.sol";
import "@luxfi/contracts/liquid/LiquidLUX.sol";
import "@luxfi/contracts/safe/Safe.sol";
import "@luxfi/contracts/safe/SafeFROSTSigner.sol";
import "@luxfi/contracts/crypto/precompiles/IMLDSA.sol";
// Create your token
contract MyToken is LRC20 {
constructor() LRC20("My Token", "MTK") {
_mint(msg.sender, 1_000_000 * 10**18);
}
}
// Deposit into yield vault
contract YieldStrategy {
LiquidLUX public liquidLux;
function deposit(uint256 amount) external {
IERC20(WLUX).approve(address(liquidLux), amount);
liquidLux.deposit(amount, msg.sender);
}
}
// Post-quantum signature verification
contract QuantumSafe {
function verifyQuantumSig(
bytes memory publicKey,
bytes memory message,
bytes memory signature
) external view returns (bool) {
return IMLDSA.verify(publicKey, message, signature);
}
}Build DeFi with Confidence
Production-ready contracts. Comprehensive tests. Post-quantum security.