Blocks is a decentralized social media platform built on Polygon and Lens Protocol, merging the familiarity of Web2 (Reddit/Twitter-like features) with the advantages of Web3 ownership. Users own their content, earn tokens for engagement, and govern communities via smart contracts.
| Feature | Lens Protocol Usage | Custom Development |
|---|---|---|
| Token Rewards | – | ERC-20 $BLKS token, reward distribution |
| Content Ownership | Profiles/Posts as NFTs (IPFS metadata) | – |
| Communities | Lens Groups = subBlocks | Community-specific governance rules |
| Voting System | Base "likes" via Reactions | Dislikes, Kill Zone logic |
| Reputation (UCR) | – | On-chain penalties + off-chain scoring |
- Framework: Vite
- Language: TypeScript
- Styling: Tailwind CSS
- Blockchain: Polygon, Lens Protocol
- Smart Contracts: Solidity, ERC-20, ERC-721
- Storage: IPFS
Clone the repository and install dependencies:
git clone link
cd blocks
npm installStart the development server:
npm run devTo create an optimized production build:
npm run buildTo preview the production build:
npm run previewThis project is licensed under the MIT License.