The Lounge (/lounge) is ZKDepth's community view: who is active, what they just did and how the points stand. Everything it shows is on chain, signed by a wallet or read from the points ledger, and every address links to its profile.
Live activity
GET /lounge/feed merges the newest 40 rows of each source and keeps the newest 120 lines. The page asks every 15 seconds while the tab is open, and one build answers every request for 10 seconds. Amounts are priced as the points ledger prices them, and a token nothing prices shows its amount alone. ZKDepth's own contracts are never named as the one who acted.
Everyone / Following narrows the feed to the addresses you follow, and the kind pills (Ideas, Vaults, Launches, Limit orders) narrow it further. If one source does not answer, the others are still listed and the page says so.
Points
Volume counts double for 7 days after you post an idea. Each ledger row comes from one on-chain event, priced in USD when it is booked:
- Volume: a swap through the ZKDepth Router, a pre-market perp open or voluntary close, and a Lighter fill that paid ZKDepth's fee.
- Fees earned: keeper harvests, range order fills, ZKDepth vault harvests (split across holders), and the referral share a referrer earns.
A job books new events every 5 minutes. GET /points/leaderboard ranks every address with points, and addresses on equal points share a rank. The ranking is rebuilt at most once a minute.
Ideas
An idea publishes a position with its argument and running result. POST /theses verifies an EIP-712 signature over Thesis { positionRef, side, text, ts }, where positionRef names a v3 position, a perp or a vault, side is long, short or LP, and text is at most 500 characters. ts must be within 300 s of the server clock, so one signature makes one post.
Top ideas this week are those posted in the last 7 days with the best result so far. The Ideas leaderboard ranks authors by realised fees plus realised PnL across their indexed positions.
Mirroring
POST /theses/:id/mirror opens the same kind of position at your size, and executes nothing itself. It returns one of:
zapMintcalldata for a v3 position, with the author's pair, fee and ticks, 100 bps of slippage and a 20-minute deadline;- a
depositfor a vault, which the web hands to Earn to size; - given a size and a live Lighter mark, a sized market order for a perp, which goes through the signer under your own signature.
Your wallet signs and sends it.
Follows and profiles
A follow is a public edge from one address to another. Every change is one POST /follows carrying an EIP-712 signature over FollowUpdate { account, follow, unfollow, nonce, ts }, so your wallet shows exactly whom you follow. It costs no gas and moves no funds.
| Name | Allowed | Default | Effect |
|---|---|---|---|
follow + unfollow | 1 to 100 addresses | None | Per update. One address cannot be in both. |
following | up to 500 addresses | None | Per address, after the update. |
ts | ±300 s | None | From the API clock. |
nonce | 16 to 64 bytes | None | Random, used once per address. |
/lounge/u/<address> shows one address: its ideas with their results, its track record, its points and rank, how many addresses follow it and how many it has referred, and its recent lines in the feed. Profiles are kept out of search engines.
apps/api/src/lounge/feed.tsthe feed sources, prices and the 10-second buildapps/api/src/points.tsthe ledger and what earns pointsapps/api/src/theses/service.tsposting an idea and building a mirror