Inspiration
In college, finance topics can sound as thrilling as a monotone lecture. But, predicting if Jack will stick to his new vegan diet for a week? Or if Jessica would finish her systems project the fastest? Now that’s a bet many would take. What if we turned these daily predictions into an engaging financial lesson, helping both financial literacy and setting incentives for goals? Enter our prediction market.
Introducing: WeXChange
Our platform transforms casual bets among friends into a dynamic financial learning experience. Users create or accept challenges (think "Will Emma finish her project by Friday?") and using smart contracts, we add authenticity and security to these bets. It's the thrill of the stock market, but on personal, relatable terms.
Technology Shoutouts
- Frontend: Tailwind CSS ensures it's not just functional, but sleek.
- Backend: The power and flexibility of Svelte Kit back us up.
- Data Management: Firebase keeps tabs on all those bets and challenges.
- For that dash of crypto zest? We integrated MetaMask, bridging casual bets with modern finance. We also had FLOW token for exchanging/cashing out of our token and used USDC Circle for easier money transfer.
Challenges Faced
Adapting blockchain to this playful yet educational context had its moments. Visualizing live bet stats using d3.js was a puzzle we cracked after a few tries. But each challenge pushed our limits and expanded our toolkit. We also had to write our own orderbook algorithm, creating a market for buys and asks for each contract asset.
Proud Moments
Connecting a user’s digital wallet to our platform seamlessly? Big win for us. Designing an intuitive, engaging interface? Another feather in our cap. But most of all, turning everyday bets into learning moments? That’s our proudest achievement. Additionally, seeing prices move as we sold and buy contracts was extremely rewarding.
Learnings Along the Way
Blockchain isn't just for high-level finance – it can make everyday fun secure and trusted, as our contracts were all permanent and agreed on. Svelte streamlined our web development, making us wonder how we ever lived without it. And merging fun with basic financial concepts? It's not just possible; it's a blast.
What Lies Ahead
While we've started with friendly challenges, there’s room to grow. Imagine integrating real-world events or adding advanced financial instruments to the mix. We're just getting started, and the horizon is filled with possibilities.
Built With
- d3.js
- firebase
- metamask
- svelte
- tailwind
- typescript
Log in or sign up for Devpost to join the conversation.