This project is a decentralized To-Do List application built on the Ethereum blockchain. It allows users to create tasks and mark them as done. The tasks are stored on the blockchain, ensuring immutability and transparency.
ETH-TODO.-.Made.with.Clipchamp.mp4
This is a simple DApp (Decentralized Application) that lets you manage a to-do list on the Ethereum blockchain. It demonstrates basic blockchain and smart contract principles using Solidity, with a web interface for interaction.
- Create new tasks
- list tasks
- Mark tasks as done
- Solidity
- Ethereum Blockchain
- Web3.js
- Truffle
- Metamask
- nodejs
- Ganache (for local development)
- javascript
- HTML
- CSS
Before you begin, ensure you have the following installed:
- Node.js and npm
- Truffle (
npm install -g truffle
) - Ganache (for local blockchain development)
- MetaMask extension for your web browser
-
Clone the repository
git clone https://github.com/chiragmalik2612/ethereum-todo-list.git cd eth-todo-list
-
Install dependencies
npm install
-
Compile the smart contract
truffle compile
-
Migrate the smart contract to the blockchain Make sure Ganache is running, then:
truffle migrate --reset
-
Start the development server
npm run dev
-
Connect to MetaMask: Open your web browser and connect MetaMask to the local blockchain provided by Ganache.
-
Interact with the To-Do List: Open
http://localhost:3000
in your browser. You can now add tasks and mark them as done. All changes will be recorded on the Ethereum blockchain.
Contributions are welcome! Please follow these steps to contribute:
-
Fork the repository
git fork https://github.com/chiragmalik2612/Ethereum-TODO.git
-
Clone your fork
git clone https://github.com/chiragmalik2612/Ethereum-TODO.git cd eth-todo-list
-
Create a new branch for your feature
git checkout -b <branchname>
-
Make your changes and commit them
git add . git commit -m 'Add some AmazingFeature'
-
Push to your forked repository
git push origin <branchname>
-
Open a pull request Go to the original repository on GitHub and open a pull request with a description of your changes.