Trade
List a lot in one signature. Buy it in one click. Nobody can pay for it twice.
A listing sells one lot, a token and an amount, for one price in QTC, to whoever buys first. There is no order book to manage, no escrow account and no expiry. You list, and the lot is for sale until someone buys it or you take it back.
Trading is where trust usually goes to die: you pay, and you hope. Qlyphs is designed so that hope is never needed. The next sections show why, one moment at a time.
List in one signature
Pick a lot and a price. Your wallet checks your balance against a proof, then you sign one simple transaction. Listing is free on the Qlyphs side. From that block on, the lot is reserved: it stays in your account, but you cannot send it while it is for sale. Nobody else holds it, and nothing leaves your wallet until someone pays you.
Buy in one click
Scroll through a purchase. The most important thing to notice is how little the app is allowed to say: it names a listing, and your wallet works out everything else.
- Proven by two witnesses
- Still open, checked on chain
- Terms built by your wallet
- 01 / 05
You press Trade
You are browsing the market and a lot catches your eye: 1,000 GLYF for 5 QTC. You press Trade. The app does not send your wallet a price, an address or a transaction to sign. It sends a single thing: the ID of the listing. Everything that matters is decided by the wallet from here.
- 02 / 05
The wallet asks for proof
Your wallet fetches the listing together with a proof. Two independent witnesses, each running its own software on its own Quantus node, have signed the state of the market with post-quantum keys. The wallet checks both signatures against keys built into its own code, so nobody can hand it a look-alike.
- 03 / 05
It checks the chain itself
A proof can be a few seconds old, so the wallet does not stop there. It asks its own Quantus node whether the listing is still open. If someone bought it a moment ago, or the seller took it back, you find out here, before anything is signed and before any money moves.
- 04 / 05
It builds the payment
The wallet writes the transaction itself, from the proven terms and nothing else, then shows you every number: what you receive, what the seller is paid, the 1% Qlyphs fee and the small ticket fee. If a listing was faked or a price was changed on the way, the numbers would not match the proof and you would never be asked to sign.
- 05 / 05
One signature, done
You sign once. That single Quantus transaction pays the seller and hands you the lot, together or not at all. There is no escrow account in the middle and no waiting for a counterparty: your QTC went from you to the seller, and the tokens are already yours.
The purchase is one transaction with three actions, executed together or not at all: take the listing's ticket, pay the seller, pay the 1% fee. Because it is one transaction, there is no moment when you have paid and not received, or the other way round.
Nobody pays twice
What if two people press Buy on the same lot at the same time? On most platforms this is a race that a server has to referee. Here the chain referees it.
- Create the ticket
- Pay the seller 5 QTC
- Pay Qlyphs 0.05 QTC
- Create the ticket
- Pay the seller 5 QTC
- Pay Qlyphs 0.05 QTC
- 01 / 05
Two buyers, one lot
Two people press Buy on the same listing at the same moment. Both transactions are sent to the network and both land in the same block, one after the other. The lot can only be sold once, so only one of them can win.
- 02 / 05
The first one runs
The chain runs the first transaction. Its first action is to create the listing’s ticket, a small object that can exist only once. Creating it is what claims the lot.
- 03 / 05
It goes through
With the ticket claimed, the next two actions follow: the seller is paid the price, the 1% fee is paid, and the lot belongs to this buyer. Three actions, one transaction, all or nothing.
- 04 / 05
The second one hits the lock
Now the second transaction runs. Its first action tries to create the same ticket and fails, because it already exists and Quantus allows it once. This is a rule of the chain, not a check made by a Qlyphs server that could be slow or wrong.
- 05 / 05
Cancelled whole
A transaction that fails at its first action is cancelled entirely. The payments never happen, so the second buyer never pays the price. All they lose is the small network fee, and the lot is still safely with the first buyer.
The second buyer is not charged the price and does not need to do anything. This is enforced by Quantus itself, not by a Qlyphs server, so it holds even if every Qlyphs server were offline.
The ticket: a lock that turns once
Behind that guarantee is one small object. Every listing comes with a ticket, a native Quantus multisig that can be created once and never deleted. Its definition includes the hash of the block that holds the listing, so nobody can prepare it in advance.
- Lot
- 1,000 GLYF
- Price
- 5 QTC
- Status
- Signed
- Signer
- you
- Signer
- unknown until the block exists
- Threshold
- 2
- Nonce
- ?
- 01 / 04
You sign the listing
You sign a listing: 1,000 GLYF for 5 QTC. Every listing comes with a ticket, a native Quantus multisig that will decide when the lot is gone. To stop anyone preparing that ticket in advance, part of its definition is something nobody knows yet.
- 02 / 04
The block gives it a signer
Your listing lands in block #184,301. The hash of that block did not exist a moment ago and nobody could guess it. It becomes the ticket’s second signer, so the ticket cannot be named before the listing is on the chain.
- 03 / 04
The position gives it a nonce
Your transaction is the third one in the block, so 3 becomes the ticket’s nonce. Two listings in the same block still get two different tickets, and a ticket belongs to one listing only.
- 04 / 04
The ticket is defined
Now the ticket is fully defined. Quantus lets anyone create it once and never delete it: a buyer who pays, or you if you cancel. Whoever creates it first closes the listing. Until then your lot stays in your account, reserved.
Whoever creates the ticket first ends the listing: a buyer who pays, or the seller who cancels. Creating it costs a small fee set by Quantus (0.003 QTC on mainnet), burned by the chain.
Cancel anytime
To take a lot back, the seller creates the ticket. Any purchase still on its way then fails, and the lot returns to the seller. No proof or witness is needed: the wallet checks it all on its own Quantus node. Your wallet keeps 0.003 QTC aside when you list, so you can always cancel.