Trustful is an innovative and flexible reputation aggregation system designed for the Stellar blockchain. It allows communities and projects to issue digital badges to recognize and reward user contributions.
The Trustful Stellar project consists of two main parts:
- Scorer Factory
- Scorer
Together, these components form an ecosystem that enables the creation, management, and utilization of customized scoring systems on the Stellar network.
The Scorer Factory is a contract that facilitates the creation and management of multiple Scorer contracts. Its main functions are:
- Allow the creation of new Scorers in a standardized way by anyway
- Maintain a record of all created Scorers
createScorer
: Creates a new Scorer contract with specific parametersgetScorers
: Returns the list of all created Scorers
The Scorer is an individual smart contract that represents a specific scoring system for a community or project.
- Issuance of digital badges as NFTs
- Customizable comparison rules
- Calculation and storage of reputation scores
- Permission management (creator and managers)
badges
: ScorerBadge[] - List of badges available in the ScoreruserScores
: mapping(address => uint256) - Mapping of user scores
calculateScore
: Calculates a user's scoregetUserScore
: Returns a user's current scoreaddManager
: Adds a new manager to the Scorer
- Customizable comparison rules to adapt to the needs of each community
- Digital badges issued to recognize user contributions
- Reputation scores generated transparently and verifiably on the blockchain
- Flexible system adaptable to various communities and projects on the Stellar network
- Deploy the Scorer Factory contract on the desired Stellar network.
- Use the Scorer Factory to create new Scorers as needed.
- Interact with individual Scorer contracts to manage scores.
- Use the Scorer Factory to obtain the list of all created Scorers, if necessary.
Contributions are welcome! Please open an issue or pull request for suggestions for improvements or corrections.