project screenshot 1
project screenshot 2
project screenshot 3

KOSMA

Kosma is a decentralized social media platform that empowers content creators with true ownership through NFTs, ad-free privacy, and innovative monetization using background soft mining—all built on blockchain to ensure user data remains private and secure.

Project Description

Kosma is a decentralized social media platform designed to solve the problems of traditional social networks like privacy invasions, addictive algorithms, and ad-driven revenue models. With Kosma, users can take full ownership of their content through NFTs, which provide transparency and control over how content is shared and monetized.

The platform features an innovative revenue model that leverages "background soft mining" to generate cryptocurrency as users engage with content, providing creators with a steady income stream without ads. Privacy is paramount—Kosma encrypts all messages and allows users to control their data, while ensuring that all shared content is securely stored on the blockchain. The platform's blockchain-based architecture means that even the platform itself cannot access users' data without their consent.

Kosma also focuses on mental health by integrating features like content filtering, screen time limitations, and preventing addictive design patterns. It is built to be an empowering and privacy-first alternative to current centralized social media platforms.

How it's Made

Kosma is built with a focus on decentralized technologies and blockchain for privacy and transparency. We utilized the following technologies and techniques to build the platform:

Frontend: Built using React.js to provide a responsive and user-friendly experience, with MobX for state management to keep things efficient and straightforward. Blockchain Integration: Smart contracts were written in Solidity and deployed on the Polygon network for scalable and cost-efficient transactions. Content ownership is managed using ERC-721 (NFTs) to assign unique tokens for every post. Backend: The backend infrastructure is powered by Node.js for seamless API integration. We also used IPFS to store user-generated content in a decentralized manner, ensuring privacy and data ownership. Cryptocurrency Mining: Kosma integrates a soft mining algorithm that runs in the background during user engagement, using AI-based selection to optimize the cryptocurrency mined. The mined cryptocurrency is then converted into USDC using Circle's API to ensure stability for creators. Privacy and Security: We implemented end-to-end encryption using Signal Protocol for all communications on the platform. Additionally, a screenshot prevention feature was added to ensure that sensitive content cannot be captured without the consent of the owner. Partner Technologies: Circle API: For seamless conversion of mined cryptocurrencies into USDC. Chainlink Oracles: Used to fetch real-time cryptocurrency prices to optimize mining strategies. Superfluid: For streaming payments directly to creators in real-time as they accumulate mining rewards. Notable Hacky Aspects: To achieve privacy in real-time transactions, we integrated the Superfluid streaming payments with soft mining such that users see earnings accumulate as they engage with the platform. This required a custom modification to the backend logic to accommodate real-time accounting for user engagement.

background image mobile

Join the mailing list

Get the latest news and updates