Inspiration
Living in LATAM I experienced a lot of people trying to "raise money" for certain events, trips and personal goals. As such many of my friends organized raffles where they would have a pricey or sought out item and they would sell tickets for this to achieve their financial goal. Many of these were done on a very traditional way by making pieces of paper where they would randomly draw the winner. Being an avid crypto enthusiast I felt a modern solution to this would be great and would give a very unique way of achieving this same purpose in a provably fair and transparent environment.
Why the name?
Cadwyn is a welsh word, it means chained or chains , the last syllable is a homophone for the English word win so this encompasses both the blockchain spirit of this project and winnability of it.
What it does
Cadwyn is a Web3 platform to create or participate in raffles. Once a raffle is created by a user and the user deposits the prize money, participants can buy any amount tickets to that raffle and the value payed for those tickets will be accumulated until all the tickets are sold.
It then uses SmartContracts and Blockchain technologies to ensure it is both transparent and fair. We use Chainlink's VRF 2.5 platform to select a winning ticket and it will transfer both the accumulated tokens of the tickets payed by the participants to the raffle creator and the prize money to the winner. Using a safe random number is quite important as it ensures that this game is fair and it would be difficult for attackers to benefit from this randomness.
How we built it
Using hardhat starter kit for Chainlink and Chainlink's VRF 2 using subscriptions. Improvements such as migrating to VRF 2.5 and using NFTs for tickets are on the roadmap.
Challenges we ran into
Solidity can be a challenging programming language and some intrecacies of web3 technologies are complex. Also sometimes some solidity versions clashed and were unable to compile correctly in some mock depenedencies.
Accomplishments that we're proud of
Some of the UX and UI elements are very modern and stylish. The video explainer looks professional and will be used on the landing page once it is launched on a mainnet.
What we learned
Web3 and blockchain technologies are a new and complex world it can be daunting to approach it however there are many tools and resources that can make things easier to achieve. I think this hackathon had quite a lot of resources to learn new things from industry experts and succesful entrepreneurs.
What's next for Cadwyn
Launching the platform to mainnet and having feedback from our first users. The UI and front-end is currently quite basic however there will be an amazing revamp in the coming weeks.
Reach out to admin@cadwyn.io if you want to be the first to try out this platform.
Built With
- solidity
- vrf
Log in or sign up for Devpost to join the conversation.