LithosDocs
ProtocolPayoutsTokenStatsDocs
Start mining
Documentation home
Protocol
  • Lithos Protocol
  • LFSM
    • Rollups
    • NISPs
    • Emissions
    • Mining on Lithos
    • Candidate building
    • Ergo Voting
  • LithosDex
    • Choosing a pool
    • Trading with orders
    • Providing liquidity
    • Creating a pool
  • SigmaFi
    • Borrowing
    • Lending
    • Trading bonds and shares
    • The Lithos client and panel
      • Contracts
      • zcs1 off-chain standard
      • Pricing
      • Building on the Lithos API
    • Difficulty forwards
Run Lithos
  • Startup guide
    • Setting up an Ergo node
  • Configuration
    • Node connection and security
    • Stratum and difficulty
    • Block packages
    • Batching and orders
    • Collateral and emission
    • Wallet and consolidation
    • Statistics and web panels
    • Synchronization and storage
    • Tasks and dispatchers
    • Failure modes
    • Reporting issues
    • Renting hashrate into Lithos
    • Checking your wallet
Client API
  • Overview
    • getLithos client information
    • getList UTXO ids for blocks
    • getUTXO ids by block height
    • getBlock info by UTXO id
    • postBlock info for multiple UTXO ids
    • getGet a block's miner set
    • getList all pool blocks
    • getGet Lithos payouts
    • getStatistics overview
    • getMining and payment totals
    • getMining statistics by hour or day
    • getEstimate Lithos hashrate
    • getNetwork difficulty by epoch
    • getThis client's own hashrate
    • getThis client's hashrate over time
    • getThis client's payouts and claims
    • getCollateral inventory
    • getThis wallet's lending earnings
    • getLocal mining activity
    • getCollateral market snapshot
    • getList queue boxes
    • getList the active set
    • getPermit price history
    • getYour lending status
    • postQuote joining the queue
    • postJoin the collateral queue
    • getLithosDex pool state
    • getEvery LithosDex pool
    • getOne LithosDex pool and its vault
    • getList your outstanding orders on any pool
    • postQuote a direct swap on any pool
    • postSwap directly on any pool
    • postQuote a direct deposit on any pool
    • postDeposit directly on any pool
    • postQuote a direct redemption on any pool
    • postRedeem a provision directly on any pool
    • getList your provisions on any pool
    • postClaim a provision's fees on any pool
    • postCheck a flush on any pool
    • postFlush any pool
    • getA verified pool's price history
    • getA verified pool's fee history
    • getA verified pool's recent activity
    • getA provision's fee history on a verified pool
    • postQuote a new LithosDex pool
    • postCreate a LithosDex pool
    • postQuote a swap order on any pool
    • postPlace a swap order on any pool
    • postQuote a deposit order on any pool
    • postPlace a deposit order on any pool
    • postQuote a redeem order on any pool
    • postPlace a redeem order on any pool
    • getLithosDex fee vault state
    • getList your outstanding orders
    • postQuote a swap order
    • postPlace a swap order
    • postQuote a deposit order
    • postPlace a deposit order
    • postQuote a redeem order
    • postPlace a redeem order
    • postCancel an order
    • postQuote a swap
    • postQuote a swap by desired output
    • postExecute a swap
    • postQuote a liquidity deposit
    • postDeposit liquidity
    • postQuote a liquidity redemption
    • postRedeem liquidity
    • getList liquidity provisions
    • postLook up provision NFTs
    • postClaim settled fees for a provision
    • postQuote a provision resize
    • postResize a provision
    • postCheck a pending fee flush
    • postFlush pending fees to the vault
    • getPool-wide fee history
    • getPool price history
    • getRecent pool activity
    • getFee history for one provision
    • getDifficulty accumulator and the next epoch's difficulty
    • getList open offers
    • postCreate an offer
    • postQuote an offer
    • postQuote filling an offer
    • postFill an offer
    • postQuote cancelling an offer
    • postCancel an offer
    • getThe whole market
    • getYour settled positions and closed offers
    • getList your positions and offers
    • postQuote settling a position
    • postSettle a position
    • getList open orders
    • postCreate an order
    • postQuote an order
    • postQuote cancelling an order
    • postCancel an order
    • postQuote filling an order
    • postFill an order
    • getList live bonds
    • postQuote repaying a bond
    • postRepay a bond
    • postQuote liquidating a bond
    • postLiquidate a bond
    • postQuote a claim
    • postClaim a settled bond
    • postLook up bond assets
    • getThis wallet in SigmaFi
    • getZC market info
    • getList asks
    • getList lend offers
    • getBid and ask curves
    • getOrder book
    • getFill history
    • getWhat a box would match
    • postSimulate a draft
    • getOpen auctions
    • getLook up an id
    • getSearch by id prefix
    • postDescribe tokens
    • getThis wallet in ZC
    • getThis wallet's ZC activity
    • postCreate an order (quote)
    • postCreate an order
    • postCreate a lend offer (quote)
    • postCreate a lend offer
    • postCreate an ask (quote)
    • postCreate an ask
    • postCreate a lot auction (quote)
    • postCreate a lot auction
    • postFill an order (quote)
    • postFill an order
    • postBuy from an ask (quote)
    • postBuy from an ask
    • postBuy a lot (quote)
    • postBuy a lot
    • postBuy a vault auction (quote)
    • postBuy a vault auction
    • postPull a settled bond (quote)
    • postPull a settled bond
    • postFractionalize a bond unit (quote)
    • postFractionalize a bond unit
    • postRepay a bond (quote)
    • postRepay a bond
    • postAdd collateral (quote)
    • postAdd collateral
    • postLiquidate a bond (quote)
    • postLiquidate a bond
    • postExtinguish a bond (quote)
    • postExtinguish a bond
    • postClaim a settled bond (quote)
    • postClaim a settled bond
    • postWrap a token (quote)
    • postWrap a token
    • postUnwrap (quote)
    • postUnwrap
    • postRun a mint (quote)
    • postRun a mint
    • postCancel a box (quote)
    • postCancel a box
    • getList configured oracle feeds
    • getCurrent oracle state and recent confirmed history
    • getWallet balances
    • getYour block rewards
    • postClaim unlocked block rewards
    • getVerified tokens
    • getArb stake
    • postReclaim the arb stake
    • postResume arb after a reclaim
    • getGet Stratum information
    • getGet candidate settings
    • getGet difficulty commitment
    • postCommit a difficulty
    • getGet best NISP at height
Lithos

A decentralized mining pool protocol on Ergo. Miners build their own blocks; contracts pay them for proven work.

Live on Ergo mainnet
Protocol
  • How Lithos works
  • Mining on Lithos
  • NISPs
  • Emissions
  • LFSM contracts
Run Lithos
  • Startup guide
  • Configuration
  • LithosDex
  • Difficulty forwards
  • Client API
  • Failure modes
Network
  • Live stats
  • Public stats API
  • Ergo Platform↗
  • SOAT Miner↗
Community
  • Telegram↗
  • X / Twitter↗
  • GitHub↗
Lithos
© 2026 Lithos Protocol. The Lithos client, its contracts and Lithos Launcher are open source under CC0.λίθος — stone
Docs/Protocol

SigmaFi

What SigmaFi bonds are, who does what in a loan, and where to read next as a borrower, lender, trader or developer.

Standard5 min readFor anyone who wants to borrow, lend or trade on SigmaFi. No Ergo experience needed for this page.

SigmaFi is a set of peer-to-peer lending contracts on Ergo. A borrower locks collateral and asks for a loan, a lender funds it, and the loan becomes a bond: a token the lender holds, can sell, or can split into shares. No company stands between the two sides. The contracts hold the collateral and decide who gets paid.

This page explains the idea and the words used everywhere else. It does not cover how to take each action, which is on the pages under Next steps. The contracts behind SigmaFi are called the ZC Standard, and the rules clients follow on top of them are called zcs1.

What a SigmaFi loan is#

Every SigmaFi loan is a zero-coupon bond. The borrower receives the principal now and pays back one fixed repayment by the maturity, a block height. Nothing is paid in between. The lender earns the difference between the two amounts.

A loan is lent and repaid in one currency, its market. Two markets exist:

MarketYou borrow and repay inExample
ERGERGBorrow 100 ERG now, repay 105 ERG in about 60 days
SigUSDSigUSD, the SigmaUSD stablecoinBorrow 500 SigUSD now, repay 520 SigUSD in about 90 days

Collateral can be ERG and up to 30 kinds of token. The collateral stays locked until the loan is repaid or liquidated. A liquidation sends the collateral to whoever holds the bond.

Who does what#

The following roles appear in every SigmaFi page:

RoleWhat they do
BorrowerPosts an order with collateral and terms. Repays, adds collateral, or closes the loan early
LenderFunds an order directly, or posts a lend offer that buys loans automatically at the yields it names
HolderWhoever holds the bond token or its shares now. Claims the money when the loan ends
Seller and buyerTrade bonds and shares through asks before the loan ends
BatcherAnyone running software that performs work the contracts leave open, such as matching offers, liquidating due loans and returning expired orders. A batcher earns the fee the user committed for that work

Every Lithos client is a batcher by default. You never need to stay online after posting: a batcher finishes every step for the fee you set when you posted.

The life of a loan#

A loan moves through the following steps:

  1. Order. The borrower locks collateral and names the principal, repayment, maturity and liquidation rule. The order waits until a lender fills it or it expires.
  2. Fill. A lender pays the principal to the borrower. The fill creates the bond and three units of a new bond token. Two units stay locked with the bond. The lender receives the third, the circulating unit.
  3. Live bond. Until maturity the borrower can repay, add collateral, or close the loan early by holding the circulating unit. The holder can sell the unit or split it into 100 shares.
  4. Settlement. The bond ends one of two ways. It is repaid: the repayment goes to a vault and the collateral back to the borrower. Or it is liquidated: the collateral goes to the vault.
  5. Claim. Whoever holds the circulating unit, or its shares, claims the vault.

The circulating unit is the claim itself. Whoever holds it at settlement is paid, so selling the unit sells the loan.

How liquidation works#

A loan has one of two liquidation rules, chosen by the borrower:

RuleWhen anyone may liquidate
MaturityFrom maturity on, if the loan has not been repaid
OracleFrom maturity on, and also before it whenever the collateral's value falls below the borrower's chosen collateral ratio of the repayment, measured with the ERG/USD oracle

A liquidation always sends all the collateral to the holder, however much it is worth. As a borrower, choose a ratio and collateral that leave room for the price to move, and repay before maturity.

Reading a yield#

SigmaFi quotes every rate as a simple yield per 262,800 blocks, which is about one year at Ergo's 2-minute block time. A bond paying 105 for 100 with half a year left is a 10% yield: (105 / 100 - 1) × 262,800 / 131,400.

A yield is a return over blocks, not over calendar days, and it is never compounded. It assumes the loan is repaid in full. It is not a guarantee: a liquidated loan pays the collateral instead.

Where you can use SigmaFi#

SigmaFi runs on Ergo mainnet. You can reach it in the following ways:

  • The Lithos web panel. Every Lithos client serves a SigmaFi panel under Extensions > SigmaFi, signing with the client's own wallet. See The Lithos client and panel.
  • The Lithos API. Every action in the panel is an API call you can script. See Building on the Lithos API.
  • Other clients. The contracts are open, so any client that follows the zcs1 off-chain standard works with the same orders, offers and bonds.

Safety in brief#

The following facts matter more than any other on these pages:

  • Check the token, not its name. Anyone can mint a token named like a bond. A genuine bond token is proven by the chain, and the Lithos panel shows that proof for every listing.
  • A liquidation takes all the collateral. Over-collateralize, and watch an oracle loan's cover.
  • Repay before maturity. From the maturity height on, anyone may liquidate an unpaid loan.
  • Fees are committed up front. Each order, offer and ask carries the fees that pay batchers to finish it. Your client shows every fee before you sign.

Next steps#

  • Borrowing: posting an order, repaying, adding collateral and closing a loan early.
  • Lending: filling an order, standing lend offers, and claiming when a loan ends.
  • Trading bonds and shares: asks, shares, auctions and wraps.
  • The Lithos client and panel: the SigmaFi panel, batching and arbitrage on your client.
  • Contracts, the zcs1 off-chain standard and pricing: the reference for developers.
Edit this page on GitHubsynced from 8d4d4d8
← PreviousCreating a poolNext →Borrowing
On this page
  • What a SigmaFi loan is
  • Who does what
  • The life of a loan
  • How liquidation works
  • Reading a yield
  • Where you can use SigmaFi
  • Safety in brief
  • Next steps