Liquidity Docs

LQDTY Blockchain

Sovereign EVM L1 chain — node, CLI, SDK, genesis, precompiles, Substrate migration

LQDTY is a sovereign EVM L1 with Quasar consensus and 1ms deterministic finality. It hosts the on-chain components of the exchange: token contracts, loan registries, DEX precompiles, custody wallets, and Substrate migration.

Chain Details

ParameterMainnetTestnet
Chain nameLQDTYLQDTY Testnet
Chain ID86753098675310
CurrencyLQDTY (18 decimals)LQDTY
Block time1ms (DEX VM)1ms
ConsensusQuasar (DAG + FPC)Quasar
Finality1ms deterministic1ms
Total supply10,000,000,000 LQDTY
RPChttps://rpc.liquidity.iohttps://testnet-rpc.liquidity.io
Explorerhttps://explorer.liquidity.iohttps://testnet-explorer.liquidity.io

Node

The LQDTY node (liquidityio/node) is a single embedded binary that runs as either a full node or an EVM plugin subprocess.

# Build
cd node && make build

# Run as full node
./liquidity-node --network-id=lqdty

# Auto-detected as plugin mode via env var
LIQUID_VM_TRANSPORT=grpc ./liquidity-node

EVM Precompiles

The LQDTY EVM includes 14 native precompile modules:

CategoryPrecompilePurpose
Post-QuantumML-DSAFIPS 204 digital signatures
ML-KEMFIPS 203 key encapsulation
SLH-DSAFIPS 205 hash-based signatures
PQCryptoUnified PQ interface
ThresholdCGGMP21Threshold ECDSA (secp256k1)
FROSTThreshold EdDSA (Ed25519)
RingtailHybrid BLS+lattice threshold
CurvesEd25519EdDSA verification
secp256r1NIST P-256 (WebAuthn)
SR25519Substrate Ristretto255 (migration)
HashingBlake33x faster than Keccak
DEXLiquidPoolAMM concentrated liquidity
LiquidBookCLOB orderbook
LiquidVaultMargin, clearinghouse, liquidation

CLI

The LQDTY CLI (liquidityio/cli) provides 30+ commands for chain management:

# Install
cd cli && make install

# Key commands
liquidity chain create       # Create new L1/subnet
liquidity chain deploy       # Deploy to testnet/mainnet
liquidity node create        # Spin up validator nodes (AWS EC2)
liquidity node validate      # Start validating
liquidity key create         # Generate keys (Ledger support)
liquidity mpc                # Threshold signing operations
liquidity dex                # DEX trading commands
liquidity contract           # Smart contract interaction
liquidity network            # Local network management

TypeScript SDK

The @liquidityio/sdk package provides client libraries for all LQDTY contracts and precompiles.

npm install @liquidityio/sdk

Contract Wrappers

ExportPurpose
LiquidityClientMain client (connects to RPC, auto-detects chain)
LoanRegistryLoan origination, lifecycle, servicing
SecurityTokenWhitelisted ERC20 with document management
LQDTYTokenNative LQDTY ERC20
TokenSwapAtomic token-for-token exchange
SubstrateMigrationSubstrate → EVM balance claims (SR25519 verification)

DEX Interfaces

ExportPurpose
LiquidPoolAMM concentrated liquidity (Uniswap V3 style)
LiquidBookCLOB orderbook
LiquidVaultMargin trading, liquidations, ADL

Precompile Clients

ExportPurpose
Blake3Fast hashing precompile
SR25519Substrate signature verification
FROSTThreshold EdDSA verification
CGGMP21Threshold ECDSA verification
Ed25519EdDSA verification
secp256r1WebAuthn / NIST P-256

Usage

import { LiquidityClient } from '@liquidityio/sdk'

const client = new LiquidityClient({
    chainId: 8675309,
    rpcUrl: 'https://rpc.liquidity.io',
    signer: wallet,
})

// DEX: Trade on AMM
const pool = client.liquidPool('0x...')
await pool.swap(tokenIn, tokenOut, amountIn)

// DEX: Place limit order on CLOB
const book = client.liquidBook()
await book.placeOrder({ marketId: 1, side: 'buy', price: 50000, size: 1 })

// Verify threshold signature on-chain
const frost = client.frost()
const valid = await frost.verify(publicKey, message, signature)

// Claim Substrate balance
const migration = client.substrateMigration('0x...')
await migration.claim(sr25519Signature, substrateAddress)

Genesis & Substrate Migration

The LQDTY chain migrated from a Substrate-based chain to an EVM L1:

MetricValue
Accounts migrated1,727
Loans migrated8
Redenomination12 decimals → 18 decimals (1:1,000,000)
Import batches35 (via SubstrateImporter.sol)
Treasury8,499,999,953 LQDTY (85%)
Distribution999,992,794 LQDTY (10%)
Reserve500,000,000 LQDTY (5%)

Migration flow: Export Substrate state → Redenominate → Deploy L1 → Deploy SubstrateImporter → importBalances (35 batches) → importLoans → finalizeMigration (permanent lock) → Users claim via SR25519 precompile.


Wallet Configuration

Add LQDTY to MetaMask or any EVM wallet:

FieldMainnetTestnet
Network NameLQDTY MainnetLQDTY Testnet
RPC URLhttps://rpc.liquidity.iohttps://testnet-rpc.liquidity.io
Chain ID86753098675310
Currency SymbolLQDTYLQDTY
Block Explorerhttps://explorer.liquidity.iohttps://testnet-explorer.liquidity.io

On this page