cxmza / windle
git clone https://github.com/cxmza/windle.git
v0.1.0 · 9d ago
Ship or slash — onchain promises with collateral on Solana. Teams back promises, markets price them, the chain decides.
—
stars, 24h
—
stars, 7 days
+182
stars, 30 days · #1,384
182
★ total
1
forks · 9 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageTypeScript
License—
Created2026-10-11 (9d ago)
Last push1d ago
Watchers0
OwnerUser
GitHub topics
Links
- GitHub: github.com/cxmza/windle
- Homepage: https://www.windle.fun
- Releases · Issues · Hacker News mentions
README excerpt
**Website** · **App** · **Docs** · **API** · **How it works** --- ## What is windle **windle puts promises on the line.** A team states something a program can check on Solana — *"our program is deployed and executable at this address before Dec 1"* — and locks collateral behind it. A YES/NO market prices the odds. At the deadline nobody votes: the program reads the chain and pays out. **Ship**, and the team gets its collateral back while YES is paid. **Slash**, and the collateral goes to NO holders. [code] | | | |---|---| | **Promise** | A condition over onchain accounts plus a deadline. A tweet saying "mainnet soon" is not a promise; a condition a program can evaluate is. | | **Collateral** | Locked in a program-controlled account. Neither the team nor windle can withdraw it before resolution. The amount is public. | | **Market** | Buy YES if you believe the team ships, NO if you don't. The YES price, between 0 and 1, reads as the probability. | | **Verdict** | After the deadline anyone can trigger resolution; the program checks the condition against chain state. No vote, no dispute window. | Read the full design in the docs: How it works · Collateral · Market · Resolution · Payouts. > [!IMPORTANT] > windle is **pre-launch**. The protocol programs are not deployed; markets, prices and positions on the website are > illustrative demo data, and no real funds are involved anywhere. What is live today: the website, sign-in with a > Solana wallet, the account API and the docs. ## Screenshots Landing — www.windle.fun The market prices the truth — demo market, no real funds Sign in with Solana — oauth.windle.fun API portal — api.windle.fun Docs — docs.windle.fun ## Live | Surface | URL | What runs there | |---|---|---| | Website | www.windle.fun | Landing — Vite + React 19 + React Three Fiber, GSAP and Motion | | App | app.windle.fun | Product app — React 19, React Router 7, TanStack Query | | Sign-in | oauth.windle.fun | Sign-In With Solana via Wallet Standard | | Docs | docs.windle.fun | Astro Starlight — concepts, guides, API, legal | | API | api.windle.fun | Fastify 5 — sessions and accounts; reference · OpenAPI 3.1 | | CDN | cdn.windle.fun | Brand assets, fonts, image resizing (imgproxy) | ## Architecture npm-workspaces monorepo: every surface, the API, the shared packages and the server setup live and ship together. [code] | Path | Deploys to | Notes | |---|---|---| | `apps/web` | www.windle.fun | static, immutable releases with atomic switch | | `apps/app` | app.windle.fun | static SPA | | `apps/auth` | oauth.windle.fun | static SPA | | `apps/docs` | docs.windle.fun | static | | `apps/api` | api.windle.fun | container on loopback behind nginx, health-gated switch | | `packages/*` | — | source-only TypeScript (`exports` → `src/*.ts`); Vite, Vitest and tsx compile them in place, esbuild inlines them into the API | | `infra` | the server | see `infra/README.md` and `DEPLOY.md` | [code] Sign-In With Solana — how a session is create