Skip to content

Student registry system#26

Open
salimkarbm wants to merge 3 commits intoBlockheaderWeb3-Community:mainfrom
salimkarbm:studentregistry
Open

Student registry system#26
salimkarbm wants to merge 3 commits intoBlockheaderWeb3-Community:mainfrom
salimkarbm:studentregistry

Conversation

@salimkarbm
Copy link

@salimkarbm salimkarbm commented Aug 9, 2024

Student Registry System Contract

Description

This PR introduces new features to the Student Registry system The following implementations are included:

  • StudentStruct.sol: Defines the Student structure.
  • Ownable.sol: Provides ownership management functionality.
  • StudentRegistry.sol: contains functionalities for paying fees, admin withdrawal, and managing students.
  • student.sol: this contract is an abstraction for interacting with the StudentRegistry contract.
  • IStudentRegistry.sol: Interface for the StudentRegistry contract.

New Changes:

  • Implemented student payment.
  • Ensures the student payment is made before adding to the registry.
  • Get a single student.
  • Add a student to the student Registry.
  • Delete a student from the student Registry.
  • Update a student record in the student Registry.

Tests

  • Manual Testing:
    • Compiled the contract locally and manually tested the functionalities.
    • Deployed the contract locally and tested the functions.

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.

1 participant