A decentralized application (DApp) that provides a simple TODO list, backed by Ethereum smart contracts. This DApp communicates with a smart contract deployed on a local blockchain managed by Ganache.
Ganache - Personal blockchain for Ethereum development Metamask - Crypto wallet & gateway to blockchain apps Node.js - JavaScript runtime
-
Setup Ganache Launch Ganache and initiate a local blockchain. Remember your RPC server details.
-
Deploy the Smart Contract Navigate to the repo's root:
bash
truffle migrate --reset
This deploys the smart contract to the local Ganache blockchain.
-
Update ABI and Contract Address Post-deployment, make sure to update TODO_LIST_ABI and TODO_LIST_ADDRESS with the new contract's ABI and address respectively.
-
Setup Metamask Install and launch MetaMask. Connect it to your local Ganache blockchain using Ganache's RPC URL. Import a Ganache account into MetaMask with the account's private key.
-
Running the DApp bash
cd todo
npm install
npm start
Open a browser, access the application, connect via MetaMask, and manage your TODOs!
Add TODOs: Use the input field. Mark TODOs: Check as completed. Remove TODOs: Delete as required. Filter TODOs: Filter by A-Z.
Contributions are welcome! Please see our contributing guidelines for more details.