/ethereum-todolist

Simple todo list made with React and Ethereum blockchain

Primary LanguageJavaScriptMIT LicenseMIT

Simple Todo List - powered by React and Ethereum smart contracts

truffle is required to compile and deployment the smart contract on blockchain. Download it with:

npm install -g truffle

Compiling contracts

Clone this project, go to root directory and run following command to compile smart contracts:

truffle compile

Download and install Ganache to setup blockchain locally on your system.

Start Ganache, create new workspace and add truffle-config.json to the workspace. At this point, contracts should be visible under Contracts tab as "Not Deployed".

Run:

truffle migrate

to deploy contracts on blockchain. Once it's completed, contracts under Contracts tab in Ganache should be visible as "Deployed". With this, the contracts are up and running.

In order to install client side project, node(>=12.13.1) and npm(>=6.13.1) are required. Please download these before proceeding further.

Go to client/ directory and install client side dependencies with:

npm i

Run npm start to finally run the app in browser.