1 unstable release

0.1.0 Oct 19, 2024

#21 in #rating

Download history 181/week @ 2024-10-18 6/week @ 2024-10-25

187 downloads per month

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
~442K SLoC