/Ethereum-ToDoList

a ToDo app with Ethereum smart contracts

Primary LanguageJavaScript

Ethereum-ToDoList

a ToDo app with Ethereum smart contracts

Ethereum Solidity

Commands

  • compiling
truffle compile
  • deploying smart contract to blockchain
truffle migrate
  • console
truffle console
  • ToDoList is the name of the smart contract that is created in migrations folder. We retrive deployed copy of smart contract and assign it to the variable todoList
todoList = await ToDoList.deployed()
  • We can access smart contract properties
todoList.address
  • deploying new copy to the blockchain (if we added some new code)
truffle migrate --reset