Skip to content

Majority-Protocol/majority-protocol

Repository files navigation

Majority Protocol

Overview

Majority Protocol implements a way for creators to host onchain engagement sessions, in a form of a series of prompts, where the participants react to them. After the session ended, the results are evaluated and potential rewards are distributed. The protocol implements a modular architecture with 4 key parts:

  • SessionManager: the core protocol
  • SessionStrategies: manages the evaluation of the sessions
  • RewardStrategies: manages how many points are given for answering a prompt
  • PromptStrategies: a prompt strategy implements a certain prompt type which can be used in a session

Architecture

Session Sequence Diagram

SVG Image

Development

Development and deployment is done using (foundry)[https://getfoundry.sh/introduction/overview].

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors