🌟 Inspiration

We're all about horses and NFTs here at SmartWager. Our big idea? Blend Australia's love for a good bet with the practical use of NFTs, going beyond just digital art. We saw the awesome tools Chainlink offers and thought, "Why not give it a whirl?"

Our main goals were:

  • Utilize NFTs 🎨: Making NFTs more than just pretty digital things, but really useful in the real world.
  • Easy to Use ✅: We support a bunch of wallets, making it super easy for users to bring their favorite NFTs into Smart Wager.
  • Make it Fun 🎉: Betting on real events with digital assets? Yes, please! We make it thrilling to use your NFTs in new ways.
  • A Perfect Blend 🔄: Mixing the best of NFTs, blockchain, and real-world betting into one exciting package.

🛠 What it does

SmartWager harnesses Chainlink's cutting-edge tech to revolutionise betting with NFTs. Picture this: you've got a digital token, like art or a collectible. With SmartWager, you can 'bridge' this token to the Polygon network, making it way more useful and tradeable. Your NFTs not only remain on their original network but also get a new life on Smart Wager. 🌉

It's simple: two players bet their NFTs on a real-world event, and the winner scores both.

🏗 How we built it

We dove into Chainlink's CCIP to bridge tokens across chains, allowing real-world assets to become part of exciting wagers. Our Claim Notes work as stand-ins for the actual NFT.

We're using Automation for keeping things up-to-date, and Chainlink Functions to simulate results. Our smart contracts are all about flexibility, ready to plug in new event sources anytime.

Our NFTs aren't just static; they represent real-world events and change as things unfold. When an outcome is decided, Chainlink Automation helps the winner claim their prize. 🏆

😅 Challenges we ran into

Getting our heads around Chainlink CCIP was a brain-bender, especially figuring out source and destination chains. We had to temporarily sidestep permissions for our demo, but we'll definitely revisit this pre-launch.

Speed and efficiency were also hurdles. We're thinking about how platform operators can take calculated risks to speed things up.

We'd love to see Automation and Functions come together for faster, more efficient data processing. Also, we're exploring ways to use CCIP more smartly, especially when many users are bridging tokens.

🎉 Accomplishments that we're proud of

  • CCIP Mastery 🌐: We've created a Chainlink Token Escrow Service that works across chains. Claim Notes make it a breeze to retrieve your NFTs.
  • Dynamic NFTs 🔄: Our wagers evolve with the events, and Chainlink helps us automatically hand out the winnings.
  • Fully Automated 🤖: From creating events to rewarding winners, our platform does it all autonomously. Just keep the LINK or native token stocked, and it runs non-stop.
  • Efficient Results ⚡: Lots of wagers, one event result pull. It's up to the players to claim their NFTs, and we handle the rest.

🧠 What we learned

  • Test Early, Test Often 🔍: Don't leave testing for the last minute. Embrace test-driven design.
  • Security is Tough 🔐: With so many moving parts, it's more than just unit tests. Integration testing and mocks are crucial.
  • Big Up to Chainlink 🌍: The level of trust and maturity in Chainlink's products is unmatched. Stay Focused 🎯: Define your vision early, figure out what's now and what's later, and build a solid proof of concept.

🔮 What's next for SmartWager - Bet with Assets, Win with Asssurance

We're on the lookout for partners in Australia to take this to market. With some betting agencies already in mind, we're tapping into a huge potential. 🚀

Next steps:

  • Build Out the Tech 🛠: Ironing out the kinks.
  • Market Fit 🎲: Experiment with different chains and find the sweet spot for our product.
  • Tokenomics 💰: If we can nail the tokenomics and product market fit then the platform can run automatically forever (Chainlink products can be automatically funded)
  • *Join Us! * 👋: Keen to learn more or help speed things up? Reach out here or find me on LinkedIn (search for Victa Phu).

Built With

Share this project:

Updates

posted an update

I built an escrow service that sits between all the chains and allows anyone to transfer NFTs between chains for the stakewise bets. Bridge any NFT from any chain onto the main chain and wager between mates! CCIP is freaking awesome and made it really straight forward to do this. Architecturally brilliant and elegant solution!

Also added a dNFT and working on integration with automation and VRF to simulate game results on real-world events (couldn't find an API I could use)

Automation should combine with chainlink functions so we can get results of API calls and pass it in as an automation update step.

Log in or sign up for Devpost to join the conversation.