Dwitter
Decentralized twitter using Solidity, Ethereum, hardhat, ethers, IPFS, Next.JS, TypeScript, TailwindCSS.
Install / Use
/learn @wajeshubham/DwitterREADME
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
- Language: TypeScript
- Styling: TailwindCSS
- Framework: NextJs
- File storage: IPFS
- Web3 tools: ethers, Ethereum
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
- Language: Solidity (v^0.8.0)
- Dev environment: Hardhat
- Deployed on: Alchemy (Ropsten)
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
Related Skills
node-connect
341.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.4kCommit, push, and open a PR
