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.

  1. Enhance the NFT portion for actual project
  2. Make into a sports betting DEX, however this would require Oracles
  3. Extend to 3 players
  4. This needs a front end! This would be first step if project were to enhance.

Built With

Share this project:

Updates