Skip to content

jesinnott/hello-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

Quick example using smart contracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published