Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(program): Implement course and rate limit functionality #17

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Commits on Oct 7, 2024

  1. feat(program): Implement course and rate limit functionality

    • Introduce a new 'Course' struct to represent courses, including course name, NFT mint, capacity, and tuition fee • Update 'School' struct to remove school type enum and replace it with a string • Implement rate limiting on minting operations with a new 'RateLimit' struct • Introduce a new 'SchoolTypeTrait' to verify if a school type is valid • Update 'NFTCreator' trait to enforce rate limits and create NFT metadata accounts • Introduce a new 'NFTAccounts' struct to represent NFT accounts, including mint, associated token account, and metadata account
    olasunkanmiraymond committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    8639a9b View commit details
    Browse the repository at this point in the history