Skip to content

josecoelho/eth-message-stream

Repository files navigation

Smart Message Stream on Ethereum

Saving messages on Ethereum network with some kind of logic.

This project is part of the Hackdays Sailtrhu.

Objectives

  1. Build our first DApp (Decentralized App) on the blockchain
  2. Learn Solidity programming language
  3. "Replicate" our Message Stream on the blockchain
  4. Make our Messages stateful and ‘smart’
  • Can’t ‘like’ a message you published

Screenshots

screen shot 2017-06-30 at 08 41 59

screen shot 2017-06-30 at 08 47 20

screen shot 2017-06-30 at 08 42 08

screen shot 2017-06-30 at 08 42 16

Setup

  1. yarn install
  2. Setup a virtual machine to run testrpc locally
  • git clone git@github.com:b9lab/truffle-vagrant-env.git
  • cd truffle-vagrant-env
  • vagrant up
  • vagrant ssh
  • vagrant@vagrant-ubuntu-trusty-64:~$ testrpc
  1. Compile the contracts yarn truffle compile
  2. Deploy the contracts yarn truffle migrate

Tests

yarn truffle test

screen shot 2017-06-30 at 08 52 44

Building and the frontend

  1. First run truffle compile, then run truffle migrate to deploy the contracts onto your network of choice (default "development").
  2. Then run npm run dev to build the app and serve it on http://localhost:8080 (use :8081 for live reloading)

About

Message stream test using Ethereum network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published