Inspiration 💫
Ever since I started learning about web3, I've always wondered why didn't anyone try adding smart contract compatibility to the existing blockchain network rather than going all out and creating an entirely new network called Ethereum. Agreed that the PoW consensus used in the blockchain is slow and might have negative effects on the environment due to its high energy consumption, but it also boasts the biggest network. When I first came across Clarity and Stacks, to say the least, I was immediately hooked going on to spend an entire weekend vacation of 3 days from my university spending over 40 hours learning, building, testing, and deploying any idea I could come up with. I was very much impressed by the techniques that were used by Stacks and its PoX consensus in making the blockchain network powerful and versatile enough to handle loads that come with smart contract compatibility. I built, tested, and deployed over 10 different clarity projects in this span of 40 hours of which 5 were for practice, built following the book and the docs. The remaining 5 were built on my own ideas and are submitted for this hackathon.
Contracts 🛠
Every single one of the following contracts has been tested throughly and deployed to the testnet. Their error codes and function descriptions can be found on the separate repository links provided under their sections.
Accomplishments that I'm proud of
- We are very proud of the UI and design. We had a team of users testing for us and the result was amazing. All responded by giving top ratings to the design. We believe we have an app that can be extended with even more integration points and we look forward to incorporating AI into our Personal Assistance.
- This contract enables anyone to fund a clarity contract and the received funds can later be transferred to a beneficiary.
Challenges we ran into 🗻
We had a few struggles using the Sequence types and I'd suggest adding a bit more examples around it to make it easier to understand. Sequences are crucial for building complex and powerful contracts and having more documentation, We believe would bring down the learning curve a lot, increasing the number of users thereby.
Conclusion 🎬
We were introduced to the Clarity language in this hackathon and I am confident that I'd choose Clarity over Solidity whenever there is a choice We look forward to building dApps and not just contracts involving stacks and clarity in the near future. Thank you for your time and have a great day!
Auction 📇
- This contract enables a single item auction where a minimum bid can be set by the contract deployer and the product details can be provided via an URL (preferably via IPFS). Anyone can then bid on it and get the latest maximum bid. The contract deployer can then close the auction anytime they want after which the highest bidder can transfer the tokens for payment.
- This contract enables the real-time tracking of a delivery where the sender, middlemen, and receiver are all Principals and the sender alone can set the receiver address and the receiver can track who currently owns the package. Once the delivery is complete no more transfer of package can happen.
What's next for 5 x Clarity
- We want to also incorporate other cryptocurrency donation options, and integrate their APIs properly within our web application. We also wish to improve our user interface/design so that it's more user-friendly.
- Making the app run in the background as a service so it can collect data and provide useful insights about the app
- For the future, we envision our web application to serve as a crowdfunding resource that expands to people worldwide. We wish to scale our web application so that it can extend to many users that wish to use our platform.
Built With
- clarinet
- clarity
- javascript
- react
- redux
- stacks
- typescript

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