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

Conversation

olasunkanmi-SE
Copy link
Owner

  • 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

• 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants