Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.24 KB

README.md

File metadata and controls

26 lines (16 loc) · 1.24 KB

ETH-Comments

A recursive Reddit-like comment container using React. With Upvote/Downvote feature, allowing the user to only vote once per comment.

Additional Feature: Give ETH

Allows user to tip the commenter Comment Gold(.001 ETH). An Ethereum icon will render next to the commenter username if the user is logged into MetaMask & the commenter has an Ethereum address in the USERS data set. The user can click this icon to open MetaMask to generate and send a tx to the commenters address. Also works on mobile wallet providers, such as Cipher Browser for iPhone.

ETH-Comments demo

Data and Users in demo are currently being passed in from src/demo_data.

Run Project:

In the project directory, run:

npm / yarn install

Start:

npm / yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

This project was bootstrapped with Web3, Create React App, styled-components, and react-icons.