Have you ever felt like you lack the motivation to complete your school assignments, or wish you could turn your procrastination into something meaningful for society?

Introducing TaskChain:

A platform that combines productivity with stakes at hand. With TaskChain, users can create personal tasks, set deadlines, and stake your own Ethereum as motivation. If you complete the task on time, you get your ETH back. But if you miss the deadline, your ETH is donated to a charity of your choice.

It’s a win-win: stay on track and help others, all while supporting causes that matter to you. TaskChain turns your goals into meaningful actions, incentivizing productivity while making a positive impact on the world.

How we built it

We used a programming language called Solidity that allowed us to create and deploy smart contracts on the Ethereum blockchain. We developed two smart contracts: TaskManager and TaskManagerFactory.

TaskManagerFactory acted as a user database, storing the addresses of all users and their respective TaskManager smart contracts. If users were new to the app, it would create a new TaskManager contract for them.

TaskManager contract held each user's tasks, including the task name, description, due date, and managed the allocation and storage of ETH for task completion.

For our frontend, we used React.js, which provided an interactive and user-friendly interface for users to easily manage their tasks and ETH staking. The backend was implemented using Node.js and Express, which was used to handle the user wallet and address with API endpoints for frontend.

Challenges we ran into

Smart Contract Efficiency: Optimizing our code to reduce gas.

Handling User Data: Securely storing user data and their respective TaskManager contract .

Frontend Integration: Accessing smart contracts with the frontend. Unfortunately, we were not able to achieve this within the time constraints...

Security: Protecting the smart contracts and preventing outside access to smart contracts.

User Experience: Creating an intuitive interface for easy task management and ETH staking.

Accomplishments that we're proud of

We’re proud of creating large-scale smart contracts for the first time and successfully adapting to the challenges of Solidity. While linking the smart contracts to our React.js frontend was a challenge, we still take pride in challenging the unknown.

What's next for TaskChain

We plan to continue developing TaskChain, with a focus on finalizing and publishing the frontend. Our goal is to enhance the user experience, improve scalability, and ensure seamless interaction with the smart contracts. We also aim to add more features, such as the ability of linking your own Canvas to improve user convenance.

Check the Demo Here:

https://drive.google.com/file/d/1uQfUV6IpSXQMSsVB9Ot84972S70ztTuG/view?usp=sharing

Share this project:

Updates