Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 560 Bytes

README.MD

File metadata and controls

30 lines (26 loc) · 560 Bytes

HELLO WORLD BLOCKCHAIN

Requirements

How to use it?

  • To launch a local blockchain, open a new terminal and run:
ganache-cli
  • In a new terminal run:
truffle console —network development
  • Compile the contracts:
compile
  • Deploy the contracts:
migrate
  • To interact with our contract, create an instance and call it:
const instance = await HelloBlockchain.deployed()
instance.greeting.call()