Desk (OTC)
The desk is where credits change hands between wallets. Credits you hold are yours to sell: you bought too many, or someone wants them under their face value. The seller names a price in USDG, the buyer pays it on Robinhood Chain, and the credits move from the seller to the buyer. Open it in the app at /app/desk.
What the desk is
| Part | What it does |
|---|---|
| The board | Lists every public offer: credits, price in USDG, price per 1 USD of credits, seller. Read live from the ledger |
| The ledger | Locks the credits behind an offer the moment it is posted, and moves them to the buyer when the trade is confirmed |
| The desk signer | Signs the terms of an offer for a buyer who asks for them. Without that signature the contract refuses the fill |
| SibylOTC | The contract that takes the buyer's USDG, pays the seller and emits the event the ledger settles on |
Sell credits
- In the app, open Desk and sign in with your wallet.
- Enter the credits to sell (in USD of credits) and your price in USDG. The form shows the price per 1 USD of credits and what you receive after the 2% fee.
- Choose the public board or a private deal link, then post. The credits leave your balance and are locked in the offer. Posting costs nothing and sends no transaction.
- When a buyer fills the offer, the USDG arrives in your wallet in the buyer's transaction.
Only paid credits can be sold: credits from a deposit or from a desk purchase. Free daily messages are not credits, and a credit line balance cannot be sold. A wallet with a drawn credit line has to clear it before selling.
Buy credits
- Pick an offer on the board, or open a deal link, and click Buy. You need to be signed in, so the desk knows which wallet the terms are for.
- The desk signs the terms for your wallet. They stay valid 10 minutes.
- Your wallet asks for a USDG approval of the price if it has none, then for the purchase itself: one call to
SibylOTC.fill. - After 40 blocks, about five seconds, the credits are on your balance. If you had drawn on a credit line, the purchase clears it first.
You pay exactly the listed price in USDG plus the network fee of your transactions. A wallet cannot buy its own offer.
Private deals
A private deal is an offer that is not on the board. Posting it gives you a link, /app/desk?deal=…, to send to your counterparty. You can name the one wallet allowed to buy: the desk then signs terms for that wallet only, and the contract refuses anyone else. Without a named wallet, whoever holds the link can buy.
Cancel an offer
Cancelling returns the locked credits to your balance. If no buyer asked for terms, it is immediate. If a buyer holds signed terms, the offer stops taking new buyers at once and unlocks when those terms have expired unused, 10 minutes at most after they were signed. This is what keeps an offer from being both cancelled and filled: the desk unlocks only after it has read, in a block later than the last signed deadline, that the contract holds no fill for that offer.
How a trade settles
- The signed terms are an EIP-712 message bound to chain 4663 and to the SibylOTC contract: offer id, seller, buyer, USDG amount, credits, deadline.
fillchecks the signature, the deadline and that the offer id was never filled, then moves the USDG: the price minus 2% to the seller, 2% toward the $SIBYL stake contract.- It emits
Filled(offerId, seller, buyer, usdgAmount, credits). The server reads that event and, after 40 blocks, removes the seller's lock and credits the buyer. Each offer settles once. - An event that does not match a stored offer (unknown id, other seller, other amounts) moves no credits.
Fee and limits
| Rule | Value |
|---|---|
| Desk fee | 2% of the price, taken from what the seller receives, streamed to $SIBYL stakers. Held in the contract until the stake contract exists |
| Smallest price | 1 USDG |
| Smallest offer | 0.1 USD of credits |
| Open offers per wallet | 20 |
| Signed terms stay valid | 10 minutes |
| Partial fills | None. An offer is bought whole |
The desk sets no price. Sibyl Credits is not a party to a trade and does not guarantee that an offer finds a buyer. Agents can use the desk through the API.