How nitasha18/eth-todo-list works
eth-todo-list is a browser-based Ethereum todo app: users view tasks, create tasks, and toggle completion through a web interface backed by a deployed smart contract. The sampled client code shows account setup, contract loading, task reads, and transaction calls. The contract source is present in the tree but was not sampled, so its internal state model and detailed behavior are not expanded here.
Main entry points: app.js Browser app · index.html Todo interface · TodoList.sol Todo contract
Components 6
Browser client
- Todo interface
src/index.html - Browser app
src/app.js
On-chain application
- Todo contract
contracts/TodoList.sol
Other components
- User
- Ethereum wallet
- Ethereum network
Connections 8
- User → Todo interface: uses
- Todo interface → Browser app: triggers actions
- Browser app → Todo interface: updates DOM
- Browser app → Ethereum wallet: requests account
- Ethereum wallet → Browser app: provides provider
- Browser app → Todo contract: reads and transacts
- Todo contract → Ethereum network: executes on
- Ethereum network → Todo contract: stores contract state