---
# System prepended metadata

title: Untitled

---

Presenting decentfans. Hosted on the Cartesi Machine, Decentfan is a decentralized mechanism for creating content. 

It acts as a creative hub for people from all professions, enabling producers to create content that is completely decentralized, reliable, and scalable.

Decentfan offers countless opportunities for content creation, ranging from comedy, health, and culinary to fitness and music.

Decentfan provides a platform for development and lets contributors benefit from the network's success. Its core values includes features like reward systems and decentralized staking to make sure that as the platform grows, so do the chances for all users.


## 💬 Problem
The tools creators use to engage with fans force them to be tied to certain platforms. Centralized membership platforms like Patreon and Onlyfans have too much power over content creators. Risks include:
* Legacy payment methods with little flexibility
* Being censored or de-platformed
* User data is not portable(secured or ). Migrating content and fan base to different platforms is difficult.

## Solution
![Screenshot from 2024-03-11 13-18-00](https://hackmd.io/_uploads/rJsQgKCTa.png)

Introducing the cartesi app-specific rollup with the Cartesi Virtual Machine, dApp developers move beyond the EVM and gain access to the full suite of code libraries, programming languages, and open-source tooling they're accustomed to.

Build tools for creators to connect and engage with their fan base directly. While users will have to stake some tokens to have access to decentralized contents.

We help creators access Web3 technology to better connect with fans.Content creators bypass the middleman, keep 100% ownership of their content, and earn staked rewards for their contents.


1. Efficiency and high power computation
Utilizing the power of the cartesi machine, content creators can create and upload contents on the blockchain  at the touch of a button. Minimum knowledge of development is required to use Web3 technologies.

2. Decentralization and data integrity
user data as well as creators rights are highly secured and protected utilizing cryptographic hash algorithms.

## Technological Implementation
Tech Stack
* Front-End: React, Typescript, ethersjs,
* Back-End: Javascript, IPFS
* Blockchain: We deployed to the cartesi rollup machine


## Potential Impact of Decentfan
1. It will be a direct relationship between creators and fans. No platform to determine what content will or will not be allowed, no opaque algorithm to determine what content will rise or fall, and no inter-party payment platform that can withhold payments as the finance is fully decentralized and deployed onchain.
2. Creators will be able to focus more on their creative activities.

Creators have the ability to earn staked rewards from users hence the need for more time to focus on creativity. Decentfan architecture is based on two core areas which includes;
1. Staking
1. Content creation

# The goal of Decentfan
The end goal of the project is to utilized the high power complexity of the cartesi machine to provide users and content creators to stake and create content in a safe and decentralized manner. The requirements are pretty simple:

* Allow anyone to stake tokens on a particular content and claim right to the content.
* If a user defaults the terms of use on the content then decentfan don’t allow users to withdraw their fund (those found are used for a future project, like the Ethereum PoS)


# Setup the project
First of all, we need to set up it. Clone the scaffold repository, ensure the latest version of node is installed.

```
git clone https://github.com/zarah-s/decentfans.git
cd decentfans
git checkout decentfans
npm install
```
Build Decentfans dApp by running the following command:
`docker decentfans bake --load`


# Architecture of Decentfan
<iframe src='https://www.xmind.app/embed/a4ZTaj/' width='750' height='422' frameborder='0' scrolling='no' allowfullscreen="true"></iframe>

 
## How it works
The architecture of decentfan is based on two core areas, which are stakes and content creation.
Decentfans works to help reward content creators with available token rewards from user's staked tokens.

The stake contract handles all the necessary staking carried out by users When a user takes a token, the token gets mapped and stored in an array of user balances and this gives rights and privileges to users to have access to the content. 

The content creation contract is responsible for allowing anyone on decentfans platform to create a unique piece of contents, which may include data like images, NFts, etc.

# Team Members：
Web3Bridge corhot X team

# Resourses
[Twitter](https://twitter.com/cartesiproject)
[Youtube](https://www.youtube.com/channel/UCJ2As__5GSeP6yPBGPbzSOw)

Happy Hacking!😊