Skip to content

Overview

angela edited this page Jul 28, 2020 · 1 revision

So first of all there has to be an understanding of the concept of community points. Basically a particular subreddit is called a community and users who contribute to these subreddits by posts and comments get rewarded with community points. These community points actually refer to the ERC20 token contract that will be deployed on Matic. The contract is called the SubredditPoints contract.

So community points earned by the users can be used by them to purchase special memberships in the subreddit. These memberships give them access to special premium features on the subreddit community. Also they can award these points to users who contribute good posts and comments.

So, in the interval of every month, reddit evaluates the karma points earned by each user in the subreddit and submits the list to the community. The subreddit community can either accept the list or vote to make a change in the list. Once the list is finalised, the users can start claiming their community points which are actually tokens.

So this is done by submitting a signature from reddit to the distribution contract. The distribution contract verifies the signature and mints the tokens. Only the distribution contract can call the mint function of the subreddit token contract.

Users can then subscribe to special memberships by interacting with the Subscription contract that burns the tokens in return of giving a special membership to the user.

Users can also choose the enable a renewable option which ensures that the memberships are automatically renewed at the end of each membership period. These community points can also be transferred to other users in the subreddit community. And also these points have a major role in deciding the votes submitted by the users. Voting is done to finalise the community points token distribution list.

Clone this wiki locally