1 unstable release

0.1.0 Oct 19, 2024

#23 in #rating

MIT license

5KB

SBT Ratings

DESCRIPTION:

SBT Ratings is a decentralized rating system built on Solana using Anchor framework. It allows users to rate others in a non-transferable, immutable manner, resembling Soulbound Tokens (SBTs).

FEATURES:

  • Rate Users: Allows one user to rate another user and store this rating on-chain.
  • Cumulative Ratings: Updates a user’s rating cumulatively with each new rating provided.
  • Fetch Ratings: Retrieve the current rating for any user.
  • Account Initialization: Automatically initializes rating accounts for users when they are rated for the first time.

REQUIREMENTS:


  • Rust & Cargo (for Solana program development)
  • Solana CLI tools
  • Anchor framework

SETUP:


  1. Install Solana CLI: Solana CLI Installation Guide
  2. Install Anchor: Anchor Installation Guide
  3. Configure Solana for Devnet:
    solana config set --url https://api.devnet.solana.com
    

Dependencies

~17–26MB
~444K SLoC