Skip to content

sergioKmoralesV/blockchain-light-twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EPITwitter :

A decentralized version of Twitter based en ethereum smart contracts

Team members:

Summary:

The main goal of the project was to have a twitter clone based on Ethereum's smart contracts architecture.
The creation|modification|deletion of tweets are stored in the blockchain.
The project has been divided in 2 parts:

  • The client, which has been implemented in React.js, is in charge of rendering the UI and querying the API endpoints.
  • The server, which contains the Solidity contract, is based on hardhat. The smart contract is hosted on alchemy as an API.

Prerequisites:

In order to fully run the application, we need the following elements:

Tools used:

  • Hardhat, development environment to compile, deploy and test the smart contracts
  • Chai/Mocha, packages to set unit tests on client and server functionalities
  • Eslint, open source project for linting Javascript code
  • Prettier, to format code
  • Solhint, open source project for linting Solidity code
  • Openzeppelin/contracts, libraries allowing to build ready to use smarts contracts based on Ethereum or other blockchains

Infrastructure:

EPITwitter infrastructure

Configurations and commands to run the client locally and host the server on alchemy

Server part:

  1. To define your alchemy app address that will be hosting the server, create a .env file from .env.example
  2. Command line: npx hardhat run scripts/deploy.js --network rinkeby

Client part:

  1. Command line: npm start
  2. Connect to http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •