Try it yourself · QoreChain testnet · about 5 minutes
Run a round of Rosca yourself.
Make a wallet with a post-quantum key, open a circle with two bots, pay in, try to steal the pot, then sign the payout with ML-DSA-87 and watch the chain check it.
Everything is signed in this browser. Keys are kept in this browser's storage and never sent anywhere. Testnet only.
- 1
Make your wallet
A fresh test wallet is made in this browser: a secp256k1 key for ordinary transactions and an ML-DSA-87 post-quantum key for payouts. Both stay in this browser only.
- 2
Get test money
Rosca's faucet sends 1.2 test QOR for gas and 30 fUSD, the fest's test dollar. Neither has any value.
- 3
Register your post-quantum key
Your ML-DSA-87 public key goes on chain with a proof that you hold the secret key. Circles only accept members who did this.
- 4
Open your circle
A circle for three: you and two bots run by Rosca. You open a window scoped to the factory, create the circle, then a window scoped to only your circle and fUSD, and join first.
- 5
Pay round 1, and bid if you like
Everyone pays $10. Members who need the money now bid the discount they accept. The bots don't bid, and you joined first, so the pot is yours either way. A discount you bid is shared out to everyone.
- 6
Close the auction and approve
Bidding lasts two minutes. Then anyone can close the auction, and a majority (2 of 3) must approve the payout. One bot approves at once; the second vote can be yours.
- 7
Be the thief
Try to send the pot to a stranger instead of yourself, reusing your own real signature. The signature names the recipient, so the contract refuses it on chain.
- 8
Sign the payout and take the pot
Your browser signs the payout (circle, round, recipient, amount, deadline) with your ML-DSA-87 key. The contract checks it with
pqcVerifyand pays you. - 9
Finish the circle
The bots win rounds 2 and 3. Pay them if you like; if you don't, the security held back from your payout covers you. When the circle is complete, take back what is yours.