Skip to content

singatoshi/gemtracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

77 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BNB SocialFi dApp β€” Twitter Socialfi with $GEM Rewards

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.


🌐 Overview

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).


🧰 Tech Stack

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) |


πŸ’Ž Smart Contracts

Tweets.sol

  • 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.

RewardToken.sol ($GEM)

  • ERC-20 token with initial supply minted to deployer.
  • Used to reward users for engagement.
  • Built using OpenZeppelin ERC20 template.

Security

This is a prototype. Do NOT use private keys in public repos. Use testnet and audit before mainnet.

About

GemTracker - Twitter SocialFi on BNB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •