Inspiration
A contract that utilizes many areas of the Clarity functions.
What it does
Two players pay into a pot, upon execution a winner can claim the pot
How we built it
iteratively with testing along the way
Challenges we ran into
control flow and learning there is no random function in Clarity
Accomplishments that we're proud of
Writing a working contract that can transact in STX selectively. This will allow sending of STX without an intermediary!
What we learned
Various STX functions. The main goal was Clarity contract which was achieved!
What's next for Lucky_gamble
A few ideas.
- Enhance the NFT portion for actual project
- Make into a sports betting DEX, however this would require Oracles
- Extend to 3 players
- This needs a front end! This would be first step if project were to enhance.
Log in or sign up for Devpost to join the conversation.