Requirements- Use any modern frontend framework (React, Vue, Svelte, etc.).
- Your app should allow:
Choosing number of outcomes (2–5)
Setting liquidity params b0 and α
Viewing current outcome quantities and prices
Simulating buying X shares of a selected outcome and showing trade cost + updated prices
Your implementation should support:
✅ Creating a binary or multi-outcome market
✅ Buying and selling outcome shares
✅ Proper LS-LMSR price calculation and cost function behavior
✅ Proper accounting of pool liquidity and share balances
✅ A clean, minimal interface to interact with the contract
Bonus points for:
🚀 Deploying a simple frontend simulator to visualize trades and price movement
🚀 Gas-efficient implementation
🚀 Well-structured repo and readable code
🚀 Clear README explaining how to run and test
📤 Submission
Please submit a GitHub repo link with:
Contract code
frontend / simulator
README with basic instructions
You can deploy on any testnet you like. No need for a backend.