Skip to content

A social media platform which works on the Ethereum Blockchain (Rinkeby test network). You get paid with ether whenever someone likes your post and tips it.

Notifications You must be signed in to change notification settings

HrushikeshAgrawal/blockchain-social-media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Social Media

A social media platform which works on the Ethereum Blockchain (Rinkeby test network). You get paid with ether whenever someone likes your post and tips it.

App Demo -

Gif not supported...

Getting Started

To run the app on your local machine, clone the repository by typing following commands in your terminal.

git clone https://github.com/HrushikeshAgrawal/blockchain-social-media.git
cd blockchain-social-media
npm install OR yarn install

Prerequisites

Following accounts and links will be needed for you to run the app locally.

Initial Setup

After getting the renkeby link from infura and metamask secret, update the following lines in your code:

  1. /src/ethereum/web3.js line 11 const provider = new Web3.providers.HttpProvider("rinkeby link from infura");
  2. /src/ethereum/deploy.js line 5 "metamask secret",
  3. /src/ethereum/deploy.js line 6 "rinkeby link from infura"

Open the terminal and run npm run compile and then npm run deploy After successfull deployment, copy the address of deployed contract and do the final change:

  1. /src/ethereum/socialMedia.js line 6 "Address of deployed contract"

Running the app

Run npm start in your terminal and wait for the app to start. If the app dosent open up on its own, browse to http://localhost:3000/ in your chrome browser.

Make sure you are on Rinkeby Test Network on your metamask account and enjoy the app!

About

A social media platform which works on the Ethereum Blockchain (Rinkeby test network). You get paid with ether whenever someone likes your post and tips it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published