RohitGupta027 / eth-todo-list

Ethereum based ToDo List

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blockchain Based ToDo Application

1. Create project

Initialize the project with truffle using

truffle init

To compile the smart contracts

truffle compile

To deploy/migrate the smart contracts

truffle migrate

If ganache is already running then to replace the contract

truffle migrate --reset

To play with ToDo List in Blockchain

truffle console todoList = await TodoList.deployed()

To retrieve the contract address

todoList.address

To retrieve the tasks from the contract

task = await todoList.tasks(<id>)
task
task.id
task.id.toNumber()

2. Configure Lite server using Browser Sync

bs-config.json

3. Start the server

npm run dev

About

Ethereum based ToDo List


Languages

Language:JavaScript 70.1%Language:HTML 29.9%