Skip to main content
This page documents exactly what a user sees and signs. Reviewers can use it to reproduce the flow and confirm there are no hidden steps.

Wallet connection & sign-in flow

Microset uses Privy configured Solana-only (walletChainType: 'solana-only') with external wallets (Phantom, Solflare, Backpack, and other Wallet-Standard wallets). Embedded-wallet creation is disabled.
1

User opens the app

The user opens the official app at https://app.microset.io.
2

User connects a Solana wallet

Privy prompts the user to connect an existing Solana wallet. No funds move at this step.
3

User signs a sign-in message

To authenticate with the backend, the wallet is asked to sign a human-readable message prefixed Microsets:wallet-auth:. This is an off-chain signMessage request — it authorizes nothing on-chain and moves no funds. The backend verifies the signature and issues a session JWT.
4

(Optional) Quick-prediction session

To avoid re-prompting on every prediction, the user can sign once to create an on-chain quick-prediction session funded with a spend cap they choose. Predictions are then placed from that capped escrow. The user can withdraw unused funds or revoke the session at any time.

Getting test SOL

While Microset runs on Solana devnet, you can fund your wallet with free devnet SOL to make predictions and pay transaction fees.

Solana Faucet

Request devnet SOL at faucet.solana.com — paste your wallet address and choose the devnet network.

Prediction / claim transaction flow

1

User selects a market and outcome

The user chooses a market and an outcome in the UI and enters a stake amount.
2

App builds a Solana transaction

The app constructs the place_bet instruction (or place_bet_with_delegate for a quick-prediction session) using the program IDL. Parameters match the displayed action.
3

Wallet shows the transaction

The Solana wallet displays the instruction and accounts for review.
4

User signs and the app submits

After the user signs, the app broadcasts the transaction to the configured RPC. Nothing executes without the signature.
5

Settlement

The expected state change occurs on-chain and is visible on a Solana explorer. See Transaction Safety.

What the user sees and signs

StageWhat the user seesWhat the user signs
ConnectPrivy wallet-connect promptNothing
Sign-inMicrosets:wallet-auth: messageOne off-chain message (no fund movement)
PredictionMarket + outcome + stakeOne on-chain transaction (place_bet)
ClaimResolved market + payoutOne on-chain transaction (claim)

Expected result after signing

After a prediction, the user’s SOL moves into the market vault and their stake on the chosen outcome is recorded. After claim on a resolved market, the winner’s proportional share of the pool (minus the protocol fee) is transferred from the vault to their wallet; a voided market refunds the full stake.