Skip to content

Decentralized twitter using Solidity, Ethereum, hardhat, ethers, IPFS, Next.JS, TypeScript, TailwindCSS.

Notifications You must be signed in to change notification settings

wajeshubham/dwitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

DWITTER: Decentralized Twitter

Check out the deployed version of this app at https://dwtr.wajeshubham.in

Transactions on Ethereum are slow. Therefore, whenever you sign up or post/like dweets, it might take some time to complete the transaction. So please be patient.

Usage

All the data is stored on the Ethereum blockchain, which means that signing up and posting dweets costs a small amount of ether (on Ropsten network). This is probably not something that people would be willing to pay for in the near future, but serves as a PoC (Proof of concept).

Add ether to your wallet

You can add ether in your wallet fro free. To add ether to your wallet on the Ropsten network, you can use the following link:

https://faucet.egorfine.com/

DWITTER FRONTEND

Setup


First, make sure that you have Node installed on your computer.

install all the required packages:

npm install

start the server:

npm run dev

DWITTER SMART CONTRACT

Setup


Create .env file with the following content in root folder:

PRIVATE_KEY=<PRIVATE_KEY_OF_ETHEREUM_ACCOUNT>

Compilation

npm start

Test

npm test

Start local node

npm run node

Deploy locally

npm run deploy-dev

Deploy in production

npm run deploy-prod

About

Decentralized twitter using Solidity, Ethereum, hardhat, ethers, IPFS, Next.JS, TypeScript, TailwindCSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published