Skip to content

EmCeeEs/solidity-guestbook-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solidity-guestbook-example

A simple decentralized guestbook in solidity.

This repo contains two packages:

  • dapp (the guestbook contract)
    • uses truffle, typechain, docker-compose
  • webapp (a frontend for the guestbook)
    • uses create-react-app, web3, metamask, redux-saga

Installation

  • Install dependencies: yarn
  • Build artifacts: yarn build

Development

In one terminal start dev blockchain:

  • cd packages/dapp
  • truffle develop --log

In another terminal deploy guestbook to dev blockchain:

  • cd packages/dapp
  • truffle migrate --network develop

Connect metamask to the development blockchain:

  • http://localhost:9545 (network_id: 1111)

Start webapp:

  • cd packages/webapp
  • yarn start

About

A decentralized guestbook app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published