metadata: {"signature": "0xc3fb9efbdc91a6c049428a633e8b83ed75c0ace642559c375f53f665ad71b96e016c58c491fa7a1fcae6c4763bf888ffbb18467eced0d290b5f9324cd7e3d12801", "application": {"round": "0x9c3b81967eafba0a451e324417dd4f3f353b997b", "answers": [{"type": "email", "hidden": true, "question": "Email Address", "questionId": 0, "encryptedAnswer": {"ciphertext": "MyvmDOuiphapxei3k9MnKADVoh3LL+UkquAQR8BjhycU+nys9uuB9u6ASr5ZnT5h", "encryptedSymmetricKey": "9218b0e6edb1f000bf7c269270ccccf3787ea947c6588ffbd036b8f60585d31dbf0c64b63938a763f4307af33ae30b073f1c4f5bbedd55c2310223725f307130292ec0a0452f72e12c8cc9da7a71bcf774bdb70a4133542dbc3f57a09a8204b3b4f7f957e4477c875a9aaa92e95a0671bb58b11bb30ddf5c415acce6b898a4160000000000000020485818f9f724b203d6c8d207a239a561bce8182d28214721a1bfc7cd504acbeb78bdff7cc164709a54dfa5a7fb4631a1"}}, {"type": "short-answer", "answer": "donations", "hidden": false, "question": "Project Funding Sources(VC, Token Sales, etc)", "questionId": 1}, {"type": "number", "answer": "4", "hidden": false, "question": "Team Size", "questionId": 2}, {"type": "short-answer", "hidden": true, "question": "Applied Gitcoin Grant before? (If the answer is Yes, leave related Information here)", "questionId": 3, "encryptedAnswer": {"ciphertext": "O795sBcCK8hb4XFLGIpywSszEWzbUpIaNEZEKRy2eSY=", "encryptedSymmetricKey": "2707d4e94d452f6127a79f8f870a734f327f8b7687e10bbe5616a9debf49ec2ccbe3221f7b52b2f8755213556f61ad1346c7f2d7e132cfd90ce1ade44a7fa03434f5fcd0fba1535031c02b7a1749eda2f7933f55dfdb38a1e6933d917847c2aa1260319398f80c8c489b0e5b790e054139c1fbe85014e8985b0da8501510808600000000000000202fb037089c307c233b518029f35c5d23f8bade9abc2fd9c64c0b5146f2aa0b527c150751d6f3046abe53d5e5745c2da2"}}], "project": {"id": "1:0x03506eD3f57892C85DB20C36846e9c808aFe9ef4:435", "title": "Plebbit", "logoImg": "bafkreicesrpau7ejdvtwtrdriydgmzemjiwxqw5kvmruz2a2jckmh4cdgq", "metaPtr": {"pointer": "bafkreibfreynl56z7btxuqpzwh6obcwbzka3f2tcqhaukaex6ik7mzlpv4", "protocol": "1"}, "website": "https://plebbit.com", "createdAt": 1681671272943, "userGithub": "plebbit", "credentials": {}, "description": "Plebbit is a protocol and tooling for creating decentralized forum applications like Reddit, Facebook groups, Discourse, etc. It's a pure P2P protocol, it doesn't use any central server, databases, public HTTP end point, DNS, etc. It uses parts of the IPFS and Ethereum stack to create everything it needs:\n\n- IPFS for immutable data, like a published comment or a recent subplebbit page.\n\n- IPNS for mutable data, like replies to a comment, upvote counts, new posts/comments published on a subplebbit, etc.\n\n- IPFS pubsub for authors publishing comments/votes to a subplebbit and for the captcha challenge exchange between authors and subplebbits.\n\n- ENS for usernames, community names, and serving the client in browsers.\n\nScalability and fees\n\nA decentralized social media/forum has 2 problems: How to store the entire world's data on a blockchain, and how to prevent spam while being feeless. We propose solving the data problem by not using a blockchain for content, but rather IPNS and IPFS pubsub. Unlike cryptocurrencies that must know the order of each transaction to prevent double spends, social media does not care about the order of posts, nor about the availability of old posts.\n\nNote that we must still use a blockchain (ENS) for usernames and community names because those do care about doublespends and ledger history availability.\n\nIPNS\n\nThe IPNS name (also ENS name) is the name and address of the subplebbit, e.g. \"memes.eth\".\n\nPubsub\n\nTo publish a post to a subplebbit, a user would publish a pubsub message with a \"topic\" equal to the subplebbit's ENS name. This allows the subplebbit owner to reply with \"challenge\" and \"challengeverification\" messages signed with his ENS' public key that all pubsub peers can verify.\n\nCaptcha service over pubsub\n\nNondeterministic pubsub (like user generated comments) is susceptible to spam attacks that would DDOS it, as well as makes it impossible for moderators to manually moderate an infinite amount of bot spam. We solve this problem by requiring publishers to first request a captcha challenge from the subplebbit owner's peer. If a peer or IP address relays too many captcha challenge requests without providing enough correct captcha challenge answers, it gets blocked from the pubsub. This requires the subplebbit owner's peer to broadcast the result of all captcha challenge answers, and for each peer to keep this information for some time.\n\nNote: The challenge implementation is completely up to the subplebbit owner. He can decide to prompt all users, first time users only, or no users at all. He can proxy 3rd party services like Google captchas. He can use other challenge types, like a proof of stake/holding/payment of a certain token, a whitelist, invite list, etc.\n\nLifecycle of creating a subplebbit\n\n- Subplebbit owner starts a Plebbit client \"node\" on his desktop or server. It must be always online to serve content to his users.\n\n- He generates an IPNS public key, and adds it as a TXT record to his ENS name, which will be the \"address\" of his subplebbit.\n\n- He configures captcha options, like how often and what kind of captchas to show.\n\n- He publishes the metadata of his subplebbit to his IPNS record. This includes subpebblit title, description, rules, list of public keys of moderators, etc.\n\nLifecycle of reading the latest posts on a subplebbit\n\n- User opens the Plebbit app in a browser or desktop client, and sees an interface similar to Reddit.\n\n- His client joins the public key addressing network as a peer and makes a DHT query for each address of each subplebbit he is a member of. The queries each take several seconds but can be performed concurrently.\n\n- The query returns the latest posts of each subplebbit, as well as their metadata such as title, description, moderator list and captcha server URL.\n\n- His client arranges the content received in an interface similar to Reddit.\n\nLifecycle of publishing a post on a subplebbit\n\n- User opens the Plebbit app in a browser or desktop client, and sees an interface similar to Reddit.\n\n- The app automatically generates a public key pair if the user doesn't already have one.\n\n- He publishes a cat post for a subplebbit called \"cats.eth\"\n\n- His client joins the pubsub network for \"cats.eth\"\n\n- His client makes a request for a captcha challenge over pubsub.\n\n- His client receives a captcha challenge over pubsub (relayed from the subplebbit owner's peer).\n\n- The app displays the captcha challenge to the user in an iframe.\n\n- The user completes the captcha challenge and publishes his post and captcha challenge answer over pubsub.\n\n- The subplebbit owner's client gets notified that the user published to his pubsub, the post is not ignored because it contains a correct captcha challenge answer.\n\n- The subplebbit owner's client publishes a message over pubsub indicating that the captcha answer is correct or incorrect. Peers relaying too many messages with incorrect or no captcha answers get blocked to avoid DDOS of the pubsub.\n\n- The subplebbit owner's client updates the content of his subplebbit's public key based addressing automatically.\n\n- A few minutes later, each user reading the subplebbit receives the update in their app.\n\n- If the user's post violates the subplebbit's rules, a moderator can delete it, using a similar process the user used to publish.\n\nWhat is a \"post\"\n\nA post is an IPFS file for its immutable content, like timestamp, title, author signature, etc. Each post's IPFS file also contains its own IPNS name which links to its mutable content, like its upvote count, replies, etc. Each post is part of a linked list, i.e. it points to the previous post's IPFS CID.\n\nWhat is a \"subplebbit\"\n\nA subplebbit is an IPNS record updated every 5 minutes, it contains the latest post's CID, the title, description, the CIDs of the latest post pages sorted by new, hot, top, etc. It also contains the pubsub \"topic\" address to publish to it. Full schema available at https://github.com/plebbit/plebbit-js#schema\n\nUsing anti-spam strategies other than the captcha service\n\nThe captcha service can be replaced by other \"anti-spam strategies\", such proof of balance of a certain cryptocurrency. For example, a subplebbit owner might require that posts be signed by users holding at least 1 ETH, or at least 1 token of his choice. Another strategy could be a proof of payment, each post must be accompanied by a minimum payment to the owner of the subplebbit. This might be fitting for celebrities wanting to use their subplebbit as a form of \"onlyfan\", where fans pay to interact with them. Both these scenarios would not eliminate spam, but they would bring them down from an infinite amount of spam, to an amount that does not overwhelm the pubsub, and that a group of human moderators can manage. Proof of balance/payment are deterministic so the pubsub can block spam attacks deterministically. Even more strategies can be added to fit the need of different communities if found, but at this time the captcha service remains the most versatile strategy.\n\nConclusion\n\nWe believe that the design above would solve the problems of a serverless, adminless decentralized Reddit alternative. It would allow unlimited amounts of subplebbits, users, posts, comments and votes. This is achieved by not caring about the order or availability of old data. It would allow users to post for free using an identical Reddit interface. It would allow subplebbit owners to moderate spam semi-automatically using their own captcha service over peer-to-peer pubsub. It would allow for all features that make Reddit addictive: upvotes, replies, notifications, awards, and a chance to make the \"front page\". Finally, it would allow the Plebbit client developers to serve an unlimited amount of users, without any server, legal, advertising or moderation infrastructure.", "lastUpdated": 0, "projectGithub": "plebbit", "projectTwitter": "getplebbit"}, "recipient": "0x5Bc4FF33f86E0272be53Fa25861294489AB2FE2a"}}