Skip to guide

Documentation LiteForge testnet

Lithium documentation.

How to use the markets, how the protocol works, and the security assumptions behind it.

Open the dashboard

Lending guides

Set up LitVM LiteForge for lending
Add LiteForge to your wallet, get zkLTC for network fees, and choose the right test token for your Lithium reserve.
Supply and withdraw test USDC on LitVM
Choose a LiteForge USDC reserve, supply the matching test token, check variable interest, and withdraw when cash is available.
Supply and borrow zkLTC on LiteForge
Choose direct zkLTC supply or the vault, borrow native zkLTC against Lithium USDC, and check what you can withdraw on the LiteForge testnet.
LiteForge lending rates and utilization
Read supply and borrow APR, understand the rate curve, and check available liquidity in Lithium's LiteForge markets.
Borrow test USDC against zkLTC
Choose a Lithium USDC reserve, deposit native zkLTC as collateral, and borrow and repay test USDC on LitVM LiteForge.
Repay a LiteForge loan and withdraw collateral
Repay the borrowed asset in the same Lithium reserve, verify the remaining debt, and check how much collateral you can withdraw.
Lithium borrowing limits and liquidation
Read Position Health on LiteForge, compare the borrowing limit and liquidation threshold, and estimate how a price change would affect a loan.

01 / How it works

Independent lending markets.

Lithium uses a Compound III-based lending model. Lenders supply a market's lending asset to earn variable interest. Borrowers deposit that market's collateral to borrow its lending asset. Balances, debt, collateral, and token approvals stay separate in each market.

USDC market

zkLTC collateral

Supply or borrow USDC. Deposit zkLTC as collateral to support a loan.

Borrowing limit: 60%. Liquidation threshold: 70%.

Open USDC market

USDT market

zkLTC collateral

Supply or borrow USDT. Deposit zkLTC as collateral to support a loan.

Borrowing limit: 60%. Liquidation threshold: 70%.

Open USDT market

zkLTC market

USDC collateral

Supply or borrow zkLTC. Deposit USDC as collateral to support a loan.

Borrowing limit: 60%. Liquidation threshold: 70%.

Open zkLTC market

USDC market

zkLTC collateral

Supply or borrow USDC. Deposit zkLTC as collateral to support a loan.

Borrowing limit: 60%. Liquidation threshold: 70%.

Open USDC market
The lending cycleFollow the assets.Choose a market and an action to see what moves.
Your walletUSDC leaves your wallet
USDC marketUSDC liquidity increases
Your supplied balance earns interest

USDC moves from your wallet into this market. It repays any existing debt first; the remaining supplied balance earns a variable rate.

A wallet has one net lending position in each market: supply or debt. Supplying repays that market's debt first. Any remaining amount earns supply interest. Collateral earns no supply interest.

Native zkLTC is used directly, without wrapping. Keep some in your wallet to pay network fees in each market.

02 / Assets and contracts

Check the asset address.

Lithium USDC (lithUSDC) and Lithium USDT (lithUSDT) appear as USDC and USDT in the app. These six-decimal test tokens are not issued by Circle or Tether and are not dollar-backed. Native zkLTC has 18 decimals and no ERC-20 token address. The USDC.arb reserve accepts USDC.arb bridged from Arbitrum Sepolia. The Lithium USDC reserve accepts lithUSDC. Check the reserve before supplying or repaying because each uses a separate token contract.

Use Lithium USDC to supply or repay the USDC market, or as collateral in the zkLTC market. Use Lithium USDT to supply or repay the USDT market. Deposits in one market cannot secure debt in another.

03 / Wallet and network setup

Connect to LiteForge.

Use a wallet that supports custom EVM networks, such as MetaMask or Rabby.

You can browse market rates and limits without a wallet. To view your position or make a transaction, open the app and choose Connect wallet.

If your wallet is on another network, select Switch to LiteForge and confirm the wallet prompt. Opening the app does not request a network switch.

Manual network settings

In your wallet, open Add network or Custom network and enter the details below. Save, then switch to LiteForge.

Network name
LitVM LiteForge
Chain ID
4441
RPC URL (HTTP)
https://rpc.testnet.liteforge.zeeve.net/
Currency symbol
zkLTC
Testnet assets
LitVM testnet portal

The LitVM portal provides gas and testnet asset tools. zkLTC from a faucet pays network fees and can be deposited as collateral in the stablecoin markets, or supplied and borrowed in the zkLTC market. For test USDC or USDT, open the Faucet, connect on LiteForge, and claim the token you need. Each wallet can claim 100 of each token every 24 hours. The claims have separate cooldowns and need zkLTC for gas but no token approval. The USDC and USDT cards each show the token's contract address and explorer link.

04 / Read the dashboard

Market totals and your position.

Select a market first. The top of the dashboard shows its supplied and borrowed lending asset, available liquidity, and utilization. Asset cards show current rates, the collateral cap, and borrowing limits.

Supply and borrow APR
Annualized interest rates that change with utilization. APR is not a guaranteed compounded return.
Max. borrow LTV
The borrowing limit as a percentage of collateral value. LTV means loan-to-value.
Liquidation LTV
The debt-to-collateral threshold above which a position is eligible for liquidation. It is separate from the limit for new borrowing.
Your position
Your supplied lending asset, debt, and deposited collateral. Wallet balances are separate from funds deposited in the market.
Additional borrowing power
The additional lending asset your collateral can support at current prices. Actual borrowing also depends on available liquidity and minimum borrowing requirements.
Liquidation debt threshold
The debt level above which your current collateral is eligible for liquidation. Prices and interest can change your position's risk.

Review the live values in the dashboard before submitting a transaction. Market parameters can change.

Why collateral deposits have a cap.

A collateral cap limits the total collateral accepted across all wallets in one market. It is not a per-wallet allowance. The USDC and USDT markets each have their own zkLTC cap; they do not share one combined limit.

USDC market cap
1,000 zkLTC across all wallets
USDT market cap
1,000 zkLTC across all wallets
zkLTC market cap
1,000,000 USDC across all wallets
USDC market cap
1,000 zkLTC across all wallets

More collateral can support more debt. If many loans become unsafe together, selling their collateral requires buyers and trading liquidity. A cap limits that exposure. The borrowing limit protects an individual position; the collateral cap limits the market's total exposure. Neither guarantees solvency.

For example, if a market's 1,000 zkLTC cap already holds 990 zkLTC, all wallets together can add only 10 zkLTC. A new wallet gets no separate allowance. Raising a cap creates deposit room but does not add funds for borrowing or liquidation.

When the cap is full, new collateral deposits stop. Existing positions remain, and withdrawals still follow debt, liquidity, and pause checks. A cap increase does not require you to withdraw and deposit again. Check the dashboard for the current cap and total collateral before depositing.

These are LiteForge testnet limits. They do not establish safe mainnet capacity. Mainnet limits depend on liquidation liquidity, reserves, and asset risks.

05 / Supply, borrow, and repay

Choose an action.

The Manage position panel has three groups: Supply, Borrow, and Collateral. Each contains two actions. The asset-card buttons select an action and take you to the amount field.

Percentage buttons use the amount currently available for the selected action. They account for wallet balances, debt, collateral requirements, remaining collateral cap, market liquidity, and minimum loan size. Unavailable shortcuts are disabled. For zkLTC deposits, Max also leaves an estimated network-fee budget in your wallet. Balances, prices, and fees are checked again before submission.

Max is an action limit, not a recommended borrowing amount. Borrowing at the limit leaves no room for further borrowing if prices move against your position or interest accrues. Leave collateral headroom and review your position regularly.

Supply the market's lending asset

  1. Select the USDC, USDT, or zkLTC market. Open Supply, enter an amount of that market's lending asset, and review the supply APR.
  2. For USDC or USDT, approve the entered amount if requested, wait for confirmation, then confirm Supply separately. Native zkLTC needs no token approval; keep some for gas.
  3. Check Your position after confirmation. A supply repays any debt in that market first. Only the remaining supplied balance earns interest.

Withdraw supplied funds

  1. Choose Supply, then Withdraw. Enter an amount within your supplied balance and the selected market's available liquidity.
  2. Select Withdraw and confirm in your wallet. This action redeems your supplied asset; it does not open a loan.

Deposit collateral

  1. Choose Collateral, then Deposit. USDC and USDT markets accept native zkLTC. The zkLTC market accepts Lithium USDC. The amount must fit within the market's remaining collateral cap.
  2. Approve USDC if requested before depositing it in the zkLTC market. Native zkLTC needs no token approval or wrapping. Keep zkLTC in your wallet for fees in every market.
  3. Select Deposit collateral and confirm. Collateral supports borrowing in this market only, earns no supply interest, and does not open a loan.

Borrow from the selected market

  1. Deposit the market's collateral, then open Borrow. A supplied lending balance is not collateral. Review your borrowing power, minimum borrow, available liquidity, and borrow APR.
  2. Enter the total lending asset you want to receive. Your supplied balance in that market is withdrawn first; only the excess becomes debt. The preview shows both portions, and one transaction completes the withdrawal and loan. The full amount must be available in market liquidity.
  3. Review the withdrawal and new borrowing amounts, then confirm in your wallet. Interest accrues only on the debt. Borrowing near the limit leaves less room for price changes and accrued interest.

Repay debt

  1. Choose Borrow, then Repay. Use the asset you borrowed: USDC, USDT, or native zkLTC. Approve the entered token amount if requested. Native zkLTC repayment needs no token approval.
  2. Select Repay and confirm. Interest continues to accrue until the transaction is processed, so Max may leave a small remaining debt.
  3. Review the remaining debt. A partial repayment leaves debt outstanding. Any amount above the debt becomes supplied funds in that market.

Withdraw collateral

  1. Choose Collateral, then Withdraw. Enter an amount that leaves enough collateral to support any remaining debt under the borrowing limit.
  2. Select Withdraw collateral and confirm in your wallet. Repaying debt can free more collateral for withdrawal.

Token approval and a lending action are separate transactions. Approval gives the market permission to transfer the entered amount. It does not supply funds or repay debt on its own. USDT may require resetting an existing allowance to zero before a larger approval. Confirm each step separately.

Choose your lending market.

Each market has one asset to supply or borrow and one collateral asset. Select a market in Lending or Your account to view its balances, rates, borrowing power, and activity. Positions and approvals are separate in every market. Collateral does not earn supply interest.

In stablecoin markets, native zkLTC secures the loan. In a zkLTC lending market, USDC is the collateral. A rise in the price of borrowed zkLTC or a fall in the value of USDC collateral can increase liquidation risk. Always review the selected market's prices, limits, and available liquidity.

Supplying repays your debt first. Withdrawing uses your supplied balance before creating a loan. Token deposits may require approval; an existing USDT approval may need to be reset before approving a larger amount. Review and confirm each step in your wallet.

Native zkLTC supply and repayment need no token approval. Keep zkLTC for network fees. Interest can accrue before a repayment confirms, and any payment above your debt becomes supplied zkLTC. Check your updated position after confirmation.

06 / Protocol infrastructure

From your wallet to the market.

Lithium's lending state lives in smart contracts on LitVM LiteForge. The website reads that state and prepares actions. Your wallet signs transactions, and the network executes them against the market's rules.

A transaction through LithiumYou sign. The market executes.
InterfacePrepares the request
Your walletReview and sign
RPC providerSubmits to the network
LitVM LiteForgeEVM execution
DIA adaptersValidated prices
Lithium marketProxy and lending implementation
Position balancesCollateral checksAsset transfers
Transaction receiptCheck the outcome in your wallet or explorer
The interface uses RPC to read and simulate transactions. Your wallet holds your keys. The market contract records each position and holds deposited assets. Security and controls
Lending engine
Based on Compound III's Comet model. Each market has one lending asset and one collateral asset. Interest accrues on supplied lending balances and outstanding debt over time. Collateral balances are separate and earn no supply interest.
Market proxy
The market address is an upgradeable proxy. It holds the position state and delegates lending operations to an implementation. An extension supplies additional account and permission functions. An authorized upgrade can change the implementation while retaining the market address.
RPC and data
The app reads balances, rates, and transaction status from LiteForge. Network connection outages or delayed responses can temporarily interrupt the interface without changing your onchain position.
Wallet connection
Connect through Reown and approve transactions in your wallet. Connecting does not move funds or authorize lending actions. Lithium does not receive your wallet's private keys.
Network execution
LiteForge is the LitVM testnet, chain 4441. LitVM documents Arbitrum Orbit and Nitro for EVM execution. Zeeve provides the testnet RPC and explorer. Network availability and transaction ordering affect the lending markets.
Explorer and history
The LiteForge explorer provides an external view of contracts and transactions. The dashboard reads positions from the chain; its Activity panel shows transactions for the selected market.

The market and token addresses are listed under Assets and contracts. These contracts provide the implementation, extension, and upgrade control for each testnet market.

Contracts behind each market

07 / Oracles and pricing

How collateral and debt are valued.

The markets use DIA's LTC/USD, USDC/USD, and USDT/USD feeds. Lithium's adapters validate each source response and normalize it to eight decimals before the lending engine uses the price.

The current adapters accept prices up to one hour old. They reject non-positive prices, missing or future timestamps, stale updates, incomplete rounds, and values that become zero during decimal normalization.

The price pathHow the protocol values a position
DIA feedsLTC/USD, USDC/USD, USDT/USD
Lithium adaptersCheck price, round, and ageNormalize to 8 decimals
Lending engineValue collateral and debt
An invalid price stops the callPrice-dependent actions revert when a required feed fails validation.
Borrowing power
Collateral value is multiplied by the borrowing factor and converted into the lending asset using its USD price. Stablecoin loans use LTC/USD for collateral and USDC/USD or USDT/USD for debt. zkLTC loans use USDC/USD for collateral and LTC/USD for debt. No stablecoin price is assumed to be fixed at one dollar.
Feed updates
DIA documents a one-hour heartbeat, with price-deviation triggers of 0.5% for stablecoins and 1% for other assets. Those triggers control feed updates; they are not limits on how far prices may move.
Stale or unavailable data
Price-dependent contract operations revert when a required price fails validation. This can affect borrowing, collateral withdrawals against debt, liquidation, and collateral sales. Supplying, repaying, and adding collateral do not require fresh prices, but still depend on pause status and the other action checks.
Availability tradeoff
The one-hour age limit is Lithium's acceptance rule. A late oracle update can temporarily stop price-dependent actions. Freshness checks do not prove that a reported price is economically correct.
Test-token valuation
Lithium values lithUSDC using USDC/USD and lithUSDT using USDT/USD. Each is a mintable test token, not a dollar-backed stablecoin. Displayed prices give neither a dollar redemption right.

Price adapter addresses

USDC (Lending asset price adapter)
0x46F32802cEeB8509CEBEB065E391CBe8D2648e62
USDC (Collateral price adapter)
0x970fB75b1F2767cA2F95A6F1a42fb9aCd7309653
USDT (Lending asset price adapter)
0x6F6770558A874bD53fdBd16899d0DC518003b8ED
USDT (Collateral price adapter)
0x9Dbe30a3b125A2336C62Dd7F484C6CeBCC45170b
zkLTC (Lending asset price adapter)
0x9F93D4747063bEA81986B57b7F5ef65Cd7AF7036
zkLTC (Collateral price adapter)
0xd1813223c7a84C1bA6bB7aCEDA5fa9004e5ecaCd
USDC.arb (Lending asset price adapter)
0xc35F376B1C75728a782cd01be1150dC6b1F154a3
USDC.arb (Collateral price adapter)
0x52E9DcbdF99F4a91b8263F44089281Eb99F11B0F

08 / Security and controls

Protections and trust assumptions.

Lithium has not received an independent security audit. Audits of Compound III do not cover these markets.

Contract protections

  • Position permissions. Withdrawals and transfers from another account require that account's authorization. Borrowing and collateral withdrawals must satisfy the market's collateral checks.
  • Collateral requirements. Your borrowing power depends on the collateral deposited in your position and its current oracle value. Withdrawals must leave enough collateral to support any remaining debt.
  • Limits and prices. Each market's collateral cap, minimum borrowing amount, collateral factors, and oracle checks constrain operations. The current testnet markets have no aggregate lending-asset supply or borrow cap. Collateral caps apply across all wallets within each market.

Wallet and interface checks

Review the account, network, asset, and amount in your wallet before confirming. Token approval requests are limited to the entered amount. Approval and the lending action require separate confirmations.

Prices, liquidity, and your position can change before a transaction is confirmed. A token approval gives the approved contract spending permission until that allowance is spent or revoked.

Who can change the market

The current testnet governor, pause guardian, proxy upgrade owner, and test-token owner are assigned to the same externally owned wallet. That wallet can exercise each role directly.

USDC, USDT, zkLTC, USDC.arb (Market governor)
0x4f8705F8fb406FA933433EFE409bba16BE5c069B
Governor and guardian
Either can set or clear pauses for supply, transfer, withdrawal, absorption, and collateral purchases. Supply pauses also prevent repayment and collateral deposits. Withdrawal pauses affect both borrowing and withdrawals.
Proxy owner
Can replace the market implementation through the ProxyAdmin contract. The proxy address can stay the same while its behavior changes. Non-custodial wallet signing does not remove upgrade risk.
Reserve withdrawals
The governor can withdraw base-token reserves within the contract's reserve checks. Reserves are distinct from the amount of the lending asset immediately available for withdrawal or borrowing.
Test-token owner
Can mint additional lithUSDC and lithUSDT for testing. The public faucet shows the claim amount for each token. The tokens have separate 24-hour cooldowns.

Infrastructure and wallet risks

Contract checks depend on the surrounding system: oracle data, RPC responses, wallet software, frontend delivery, network execution, and any bridge used to obtain assets. A compromised website can display a misleading transaction request. Review the network, recipient contract, asset, and amount in your wallet before signing.

Connecting services may process wallet addresses, network requests, and connection metadata. Onchain transactions are public. See the privacy policy for the interface's data practices.

Reporting a concern

Use Lithium's official Discord or X account to request a private reporting channel. Keep exploit details out of public posts. Never share a seed phrase or private key.

09 / Risk and liquidation

Liquidation and other risks.

In the USDC and USDT markets, falling zkLTC collateral value can increase risk. In the zkLTC market, a rising zkLTC debt price or falling USDC collateral value can increase risk. Accrued interest raises debt in every market. Debt above the liquidation threshold makes a position eligible for liquidation.

Liquidation
The protocol can absorb an eligible position's collateral and debt. Any remaining credit in the lending asset is calculated using the collateral's liquidation factor. A borrower can lose collateral.
Collateral sales and reserves
Absorption and collateral sales are separate operations. Absorbed collateral becomes protocol inventory. When reserves are below the target, buyers can exchange the market's lending asset for that inventory at the contract's quoted discount. Sales replenish reserves, but do not guarantee that liquidation losses will be recovered.
Collateral withdrawals
Remaining collateral must support outstanding debt under the borrowing limit. Being below the liquidation threshold alone does not make a withdrawal available.
Liquidity and interest
Lending-asset withdrawals and new loans require available liquidity. Rates vary with utilization. Interest can continue to accrue when new borrowing or withdrawals are unavailable.
Collateral price exposure
The LTC/USD feed values zkLTC as LTC. It does not independently measure zkLTC's market value or verify any bridge backing. A fresh price cannot protect against a failure elsewhere in that relationship.
Testnet assets
Lithium uses mintable lithUSDC and lithUSDT on LiteForge. Testnet balances and displayed dollar values do not establish redeemable dollar claims or predict returns in a live market.

Collateral, price checks, and a borrowing buffer do not eliminate risk. See Oracles and pricing for price failures and Security and controls for pause powers, upgrades, and infrastructure dependencies.

10 / Transactions and help

Check the transaction status.

Activity loads your connected wallet's confirmed Lithium activity from the blockchain, including transactions made in another browser. Use Load earlier activity for older records. Pending requests submitted here are also tracked locally. Explorer links show each transaction in detail.

Network fees and native value
USDC and USDT actions can show zero zkLTC sent in your wallet because they do not transfer native tokens with the contract call. Network fees are separate and still paid in zkLTC. A native collateral deposit, supply, or repayment sends the entered zkLTC amount, with network fees charged in addition.
Pending
The transaction was submitted and is waiting for confirmation. A pending transaction is not a completed lending action.
Confirmed or failed
A confirmed approval still requires a separate lending transaction. If a lending transaction fails, review the current balances and limits before trying again.
Check explorer
Open the transaction link to verify its outcome before submitting another transaction. A delayed or replaced transaction may need further review.
Market or position unavailable
Use Retry when market data or your position cannot be loaded. Transactions require both to be available.
Prices unavailable
Borrowing and collateral withdrawals against debt require valid prices. Supplying, repaying, and adding collateral may still be available when they are not paused.
No lending liquidity
Borrowing and supplied-fund withdrawals require the selected market's lending asset. Adding collateral does not add lending liquidity. For example, USDC collateral in the zkLTC market cannot fund a zkLTC loan.
Action paused
The selected action is temporarily unavailable. Refreshing the page or changing wallets does not remove a market pause.
Wallet request declined
The app did not submit a new action. Review the amount and action before trying again.
Return to the dashboard