fabianschu / hello-world-dApp

The all time classic as a smart contract.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HOW TO RUN

Go into the onchain directory

  1. Fire up a local Ganache blockchain
  2. Run: truffle migrate
  3. Note the contract address
  4. Go to build/contracts and copy the content of HelloWorld.json (=the contract ABI)

Go into the client directory

  1. Copy the contract ABI into client/src/abi.js
  2. Copy the contract address in App.js in the address variable
  3. Run: npm start

About

The all time classic as a smart contract.


Languages

Language:JavaScript 97.5%Language:HTML 1.6%Language:CSS 0.8%