A decentralized social platform built on Solana where users can share posts and tip each other with SOL.
- Wallet Integration: Connect with Phantom, Solflare, or other Solana wallets
- Social Posts: Share thoughts with a 280-character limit (like Twitter)
- SOL Tipping: Send tips directly to content creators on Solana devnet
- Reputation System: Earn reputation through posts and received tips
- Leaderboard: See the top contributors in the community
- User Profiles: View post history and reputation for any wallet
- Python 3
- Flask (REST API)
- solanapy (Solana Python SDK)
- React 18
- Vite (build tool)
- Tailwind CSS (styling)
- @solana/wallet-adapter (wallet connection)
- @solana/web3.js (Solana interactions)
- Python 3.x
- Node.js 18+
- A Solana wallet (Phantom or Solflare recommended)
- Devnet SOL for tipping (free from Solana Faucet)
- Clone the repository
git clone <repository-url>
cd postits- Install backend dependencies
cd server
pip install flask flask-cors solana requests- Install frontend dependencies
cd client
npm install- Start the backend server (port 8000):
cd server
python app.py- Start the frontend dev server (port 5000):
cd client
npm run dev- Open your browser and navigate to the app URL
- Connect your Solana wallet
- Write your post (max 280 characters)
- Click "Post" to share with the community
- Find a post you appreciate
- Click "Tip" and enter the amount (in SOL)
- Approve the transaction in your wallet
- The SOL is sent directly to the post author's wallet
Your reputation score is calculated as:
- +10 points for each 0.001 SOL received in tips
- +2 points for each post created
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ React │────▶│ Flask │────▶│ Solana │
│ Frontend │◀────│ Backend │◀────│ Devnet │
└─────────────┘ └─────────────┘ └─────────────┘
:5000 :8000
- Frontend handles wallet connections and transaction signing
- Backend stores posts/tips and calculates reputation
- Solana devnet processes SOL transfers for tipping
This application runs on Solana devnet. No real SOL is required - get free devnet SOL from the Solana Faucet.
- Persistent database storage (PostgreSQL)
- On-chain post storage
- Signature verification for posts
- Following/followers system
- Post comments and reactions
- NFT profile pictures
MIT License
Built for demonstrating social interactions on Solana blockchain with real token transfers for creator monetization.