ToDo List Ethereum Dapp (Intro)


Last updated: November 2018.

This tutorial series will teach you how to build a ToDo List Dapp on Ethereum. It is regularly UPDATED with the latest development of Solidity, Truffle & Web3. Already published:

Each tutorial has:

You will learn how to:

  • Develop Solidity smart contracts: data structures, functions, modifier, mapping, arrays, and more.
  • Use the Truffle framework to build Ethereum Dapps: compilation, migration, configuration of Truffle project
  • Use Web3 and TruffleContract to communicate between the frontend and the smart contract
  • Configure Webpack for Ethereum Dapp development (with truffle-solidity-loader)

This will cover every part of the Dapp:

  • Smart contract (Solidity)
  • Backend (Nodejs server to serve the frontend)
  • Frontend (Javascript and jQuery)

The dapp will be able to:

  • create new tasks
  • list existing tasks
  • toggle a done/not done status for each task.

Once finished it will look like this (click to enlarge):

Ethereum ToDo List Application Build With Solidity, Truffle, Javascript, Nodejs and Jquery


Before starting, make sure to have installed:

  • Nodejs (v8.9.0 / npm v4, or a later version of the nodejs v8 branch). Nodejs v6 will probably also work.
  • Truffle framework (v4). This is the most popular framework used for developing Solidity smart contracts. It can be installed with npm:
    npm install -g truffle
  • The Ethereumjs-testrpc v4 (v6). This is a developer version of the Ethereum daemon that can run a local Ethereum blockchain. Very useful for developers. It is also sometime called “testrpc” and “local testnet”. It can be installed with npm:
    npm install -g ethereumjs-testrpc
  • UPDATE January 2018: ethereumjs-testrpc has been renamed to ganache-cli. Using the package mentioned before will also work, but it is better to use “ganache-cli” for your future projects.

More great articles

DAO – Part IV

In this video, we are going to allow investors of the DAO to: create investment proposals vote on each investment…

Read Story

Basic testing workflow with Truffle – Part 2

In this video, we will go through the whole process of test-driven-development (TDD) for Solidity smart contracts: writing the tests…

Read Story

Fomo3D Tutorial

Have you heard of Fomo3D? This is a famous lottery Dapp on Ethereum where the last player to invest in…

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.

    Only great content, we don’t share your email with third parties.