QuickPoll

Decentralized prediction markets powered by Linera's multi-chain architecture

Visit

About

## Wave 1 submission

**Smart Contract Architecture:** Built a three-chain microchain architecture on Linera blockchain: User Chain (wallets, balances, voting history), Poll Chain (market creation, voting, status tracking), and Oracle Chain (data verification, result consensus). Defined comprehensive ABI with Operation enum (CreatePoll, Vote, ResolvePoll) and Response enum. Implemented state management using Linera's view system with QuickPollState struct. Built contract logic with validation and error handling. Created GraphQL service exposing queries for polls, votes, and statistics. Compiled contracts to WASM and deployed to Conway Testnet (Chain ID: d1e24f0f84eb7b5a5b788f45b40d70e083488411eece8adfa811fe50998bdc7d, Application ID: 5088003121860631e0b4162399b1ca680eac820ce28b904e942dccf61f9e1aec).

**Frontend Application:**

Built Polymarket-inspired UI using React 18, TypeScript, and Tailwind CSS. Created responsive design for mobile and desktop. Implemented market cards showing probability percentages, volume statistics, and time remaining. Developed market detail modal with voting interface and probability charts. Added category filtering (Politics, Sports, Finance, Crypto, Tech) and search functionality. Integrated MetaMask wallet for Web3 connectivity. Deployed frontend to Vercel for public access.

**Admin Management System:**

Designed two-tier user system (regular users and administrators). Built admin panel with Stats, Markets, and Users tabs. Implemented market approval workflow - user-submitted markets require admin review, while admin-created markets publish immediately. Added user management features (view, suspend, activate). Created analytics dashboard showing total markets, volume, and active users.

**User Experience:**

Implemented optimistic UI updates for instant feedback. Added localStorage fallback for smooth UX when blockchain sync is delayed. Created non-blocking toast notification system (success, error, info, warning). Designed intuitive market creation modal with date/time picker. Built real-time probability calculation based on YES/NO share amounts. Added voting history tracking and position management.

**Technical Achievements:**

Resolved Rust module import issues when compiling separate WASM binaries. Updated from Linera SDK v0.15.3 to v0.15.4 to match Conway Testnet. Fixed API breaking changes (load() → pre_load()). Solved Conway Testnet faucet owner assignment issue. Implemented cross-chain messaging for poll creation and resolution. Created efficient state management with Linera's view system. Wrote integration tests and validated end-to-end user flows across multiple browsers and devices.

Prizes

  • Wave 1 grant · 62.43 USDC

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.