A simple decentralized SocialFi app built on BNB Chain, combining social posting with tokenized rewards. Users can post tweets, like posts, and earn $GEM tokens for engagement.
This project is a minimal Twitter SocialFi prototype built on the BNB Chain. It allows users to:
- Post short on-chain tweets.
- Like posts and reward creators with $GEM tokens.
- Connect their wallet with MetaMask.
- View all posts in a live feed.
Total setup time: ~90 minutes for full deployment (frontend + contracts).
Frontend React + Vite + TypeScript + Ethers.js | Smart Contracts | Solidity (OpenZeppelin templates) | | Blockchain | BNB Chain Testnet | | Wallets | MetaMask | | Backend / Storage | Moralis (for auth, IPFS uploads, off-chain storage) |
- Stores tweet data on-chain.
- Emits events for each new tweet and like.
- Uses gas-optimized mappings (no loops).
- Integrates with RewardToken for rewarding likes.
- ERC-20 token with initial supply minted to deployer.
- Used to reward users for engagement.
- Built using OpenZeppelin ERC20 template.
This is a prototype. Do NOT use private keys in public repos. Use testnet and audit before mainnet.