Piglet - Decentralized Piggy Bank

Contract

The smart contract for Piglet is deployed on the Lisk Sepolia blockchain at the following address: 0xD76F5A47212327aa4887f3B4fF3F4F98adDd96e6. link: https://sepolia-blockscout.lisk.com/address/0xD76F5A47212327aa4887f3B4fF3F4F98adDd96e6

Inspiration

The inspiration for Piglet came from the need for a secure, transparent, and accessible financial application. We wanted to leverage the power of blockchain technology to create a decentralized piggy bank that anyone with a cryptocurrency wallet can use.

What it does

Piglet is a decentralized piggy bank application built on the Lisk Sepolia blockchain. It allows users to deposit, withdraw, transfer, and nominate beneficiaries for their funds. The application is secure, transparent, and accessible to anyone with a cryptocurrency wallet.

How we built it

Piglet was built using a variety of technologies. The frontend was built using React, and the backend is a smart contract deployed on the Lisk Sepolia blockchain. We used Ethers.js for interacting with the Ethereum blockchain, Tailwind CSS for styling, SweetAlert2 for alerts, and Lottie for animations. The smart contract was written in Solidity.

Challenges we ran into

One of the main challenges we faced was ensuring the security of the smart contract. We had to make sure that only the owner of a piggy bank could withdraw funds, and that the nominee could only withdraw funds in case of an emergency.

Accomplishments that we're proud of

We're proud of creating a fully functional decentralized application that can be used by anyone with a cryptocurrency wallet. We're also proud of the user-friendly interface and the smooth user experience we were able to achieve.

What we learned

We learned a lot about blockchain technology and smart contracts. We also learned how to use various libraries and frameworks such as React, Ethers.js, and Tailwind CSS.

What's next for Piglet

In the future, we plan to add more features to Piglet, such as the ability to set a savings goal and receive notifications when the goal is reached. We also plan to improve the user interface and make it even more user-friendly.

Built With

Share this project:

Updates