SiltDocumentation Litepaper
Appearance
Docs/The Alpha Market

The Alpha Market

The Alpha Market is Silt's on-chain exchange. Each subnet token has one trading pair against SILT. For example, GAMMA/SILT and VECTOR/SILT each have their own order book within the same market. A bid on GAMMA/SILT offers SILT to buy GAMMA. An ask offers GAMMA for sale. The chain reserves the offered funds when an order is placed, and a match transfers them between the buyer and seller.

Participants supply the bids and asks. There are no liquidity pools or protocol deposits. New SILT pays for chain security. When a pair has no funded orders on the opposite side, a trader can post an offer and wait for a counterparty.

Each subnet has a permanent number (its netuid) and an alpha ticker. In the Stocktensor local pilot, SN1 · STOCK meant subnet 1 on that Silt network, and its trading pair was STOCK/SILT. If someone gives you a subnet number, run ./siltcli subnets list on the same network to find the ticker, then select that ticker in Markets. Worked subnet migration

Subnet registration opens after the chain finalizes its first nominated proof-of-stake (NPoS) block. Each registration creates an empty alpha/SILT order book. The first trade can take place when a buyer and seller agree on a price and quantity. Network launch

Make your first trade

  1. Open Markets in the Silt extension. Choose a signing account, then select a subnet ticker to open its alpha/SILT pair. Both sides quote prices in SILT per whole token.
  2. Choose Buy now and enter how much alpha you want. The wallet checks funded asks from other accounts, starting with the cheapest. Review the estimated cost, maximum price and network fee. This action requires enough depth for the entire quantity.
  3. To name your own price, choose Place bid or Place ask. Enter the alpha quantity and the price per whole alpha. The wallet accepts a bid at or below the current best ask and an ask at or above the current best bid. An equal-priced passive order can wait on the book.
  4. Review the fee source, sign and check the finalized receipt. An open order reserves the unfilled quantity or its SILT value. Use Cancel order to release the remaining funds. A signed cancellation can race another person's fill.

A quote describes the book at a particular block. Others can trade before the chain includes the transaction. If the full quantity is no longer available within the signed price limit, the purchase fails. An included transaction can still incur its network fee. Browser wallet guide

Read prices, quantities and depth

One SILT and one whole alpha each contain 1,000,000,000 grains of their respective asset. At registration the subnet owner chooses the pair's lot size, the smallest quantity its order book trades. A lot must divide one whole alpha evenly. A transfer or service invoice can still use a single grain.

For example, suppose GAMMA has a lot size of 1,000 GAMMA grains. A lot is 0.000001 GAMMA. Raw exchange calls sign the price as an integer number of SILT grains per lot. Divide that number by the lot size in alpha grains to get the displayed price in SILT per whole alpha. A raw price of 100 means 0.10 SILT per GAMMA. One price tick is 0.001 SILT per GAMMA for this pair.

Suppose these asks are open when you buy 1 GAMMA.

Ask price in SILT per GAMMA GAMMA available GAMMA bought SILT spent
0.10 0.75 0.75 0.0750
0.11 1.00 0.25 0.0275
Total 1.00 0.1025

The highest price you accept is 0.11, so the buy requires up to 0.11 SILT plus its fee. Matching at the makers' prices returns the unused 0.0075 SILT. If you cap the price at 0.10, only 0.75 GAMMA is within reach. A full-fill order at that price fails. A normal limit bid can take the available 0.75 and leave a bid for 0.25.

Depth is the quantity available at each price. The last trade can be old. To estimate what you can sell now, add the funded bids from the highest price down to the lowest price you accept. A last trade at 0.10 offers no exit at 0.10 once those bids are gone. Silt skips or removes crossing orders from the same account to prevent trading with yourself. Trades between different addresses can still share an owner, so volume alone cannot establish independent demand.

Pay network fees with alpha

In the wallet review, open Network fee and choose Subnet token as the fee source, then select GAMMA. Automatic can also use alpha when the available SILT cannot cover the fee and the action's native spend. The fee sale sells the minimum whole lots needed into funded bids from other accounts. Your signed limits protect the amount of alpha sold and the price you accept. The wallet shows the quote before signing.

Suppose the network quotes a 0.001 SILT fee, and a funded bid offers 90 SILT grains per 1,000-grain GAMMA lot. You need 1,000,000 SILT grains. Selling 11,111 lots would raise 999,990 grains. Selling 11,112 lots spends 0.011112 GAMMA and raises 1,000,080 SILT grains. The fee uses 1,000,000 grains and your wallet keeps the 80-grain SILT change. A different bid price, lot size or fee changes the calculation.

With no bids, a book full of your own bids, or insufficient depth above your minimum price, that fee sale cannot fund the transaction. Resting asks cannot fund it either. You can wait for a buyer, pay the fee in SILT, or use an existing sponsor grant through the CLI. If you are selling GAMMA as the main action too, leave enough alpha to cover both. Alpha-funded fees cover the network fee only. A bid to purchase GAMMA still needs SILT to fund the bid.

Orders and payments available to applications

Operation What you authorize
Limit offer Trades now at the best available prices within your limit and rests the remainder. Orders at the same price fill oldest first.
Passive offer Trades only against a strictly better price. A matching price on the other side can remain open.
Immediate order Trades now within the price limit and returns the remainder. Set the minimum fill to zero to allow no fill, or to the full quantity to require all of it.
Cancel or replace The offer owner can cancel the remainder or replace the offer in one transaction. A successful replacement that rests gets new time priority. A failed replacement keeps the original order.
Exact-receive path payment The payer sells source alpha for SILT and buys another subnet's alpha for the recipient. The payer caps the source amount. The recipient gets the exact destination amount, down to a grain. Destination lot change goes to the payer.
Exact-send path payment The payer specifies a whole-lot source quantity and a minimum destination amount. Both legs must have sufficient funded depth. The recipient gets whole destination lots and the payer keeps SILT change too small for the next lot.

A buy on GAMMA/SILT uses one book. A path payment from GAMMA to VECTOR uses two books in the same Alpha Market. It sells GAMMA into bids on GAMMA/SILT, uses the proceeds to buy VECTOR from asks on VECTOR/SILT, then delivers VECTOR to the recipient. If either leg cannot meet the signed conditions, neither leg trades. Stellar's SDEX and its strict-send and strict-receive payments informed this design. Stellar order books · Stellar path payments

How many orders fit in a pair?

A better bid can enter even when 1,024 bids are already open. The new buyer gets the place its price deserves. Every earlier trader keeps their funded order and its original time priority. The same rule applies to asks. At an equal price the oldest order fills first. Prices and order IDs determine placement across the entire book. Rehearsal and measurements

Orders are stored in small pages as each pair grows. Adding another page preserves the existing quotes and their escrow. The chain can stop reading once it has found enough liquidity to satisfy a trade. The wallet shows the first page, offers navigation to deeper prices and lists the account's own orders separately. All pages in one view refer to the same finalized block.

A single trade can settle up to 256 standing orders per leg and examine up to 1,024. One large ask can fill a purchase in one match. Buying the same quantity from 300 small asks would take at least two executions. Each receives its own price protection. Own quotes can use the inspection budget without providing liquidity. An immediate order can take the available prefix if it meets the signed minimum. Exact payments need both legs to succeed together. A signed call that fails after inclusion can still pay a fee. Matching rules · Wallet order types

The book can grow beyond 1,024 orders per side. Each new offer occupies chain storage. Its owner funds the order and pays a transaction fee.

To measure a pair, count individual orders at a finalized block. The displayed depth chart groups orders at the same price, so its row count can be much smaller. The following example reads VECTOR/SILT using the Python client. Connect to a finalized snapshot

height, block = chain.head()
for side in ("Buy", "Sell"):
    page = chain.query({"BookPage": {"asset": list(b"VECTOR"), "side": side,
                        "after": None, "limit": 16}}, block)
    print(height, side, page["total"], page["next"])

Operators can track the number of resting orders, the disk space their node uses and how often trades reach the per-execution limit. Several orders can share a price. Trade volume and the number of visible price levels each describe a different part of market activity.

Use staking income for recurring buys

A chain staker can sign a plan once to spend a share of future SILT staking income on alpha. For the 1,000-grain GAMMA lot above, this plan reserves 10%, caps the price at 0.10 SILT per GAMMA and caps each purchase at 0.25 SILT. Set up the RPC, genesis and wallet first. CLI guide

./siltcli subnet set-buy-plan GAMMA 10 --max-price 100 --max-spend 0.25
./siltcli subnet buy-plan

The standard interval is 28,800 produced blocks from the first reserved grain. The wallet can stay offline. One due plan executes per block. If another plan has already consumed the affordable asks, the unspent SILT returns to you. The bought alpha becomes spendable. Run ./siltcli --json subnet buy-plan for the latest fill and refund, or ./siltcli subnet cancel-buy-plan to cancel and release pending SILT. Selling alpha requires a separate signed trade.

Pay for a subnet service

A provider can price a service in the subnet's own alpha. For a one-grain GAMMA invoice, the buyer escrows one GAMMA grain. After checking the delivered result, the buyer signs an acceptance and the provider submits it to release payment. If the deadline passes without settlement, the buyer can claim a refund. The invoice amount and the chain fee are separate. A funded service sponsorship can cover the purchase and reserve the refund fee, so a buyer with only that one grain can use the service even on an empty book. The SDK walkthrough includes the provider and buyer commands. One-grain invoice and refund

Inspect the implementation

The SDK guide includes signed order formats and the fields for fees and path payments. The saved depth rehearsal shows funded orders at several prices and finalized trades. For work payments and staking redeemed in the original alpha, see the subnet guide. Exchange call formats · Recorded depth rehearsal · Matching and fee-sale code · Subnet guide