ExamResult is a decentralized smart contract built on the Stellar blockchain using the Soroban smart contract platform.
The project provides a transparent and tamper-proof way to store and retrieve student examination results.
Traditional result storage systems rely on centralized databases, which may be vulnerable to manipulation, loss, or unauthorized modification. This smart contract demonstrates how academic results can be stored securely on a blockchain where records are immutable and verifiable.
The smart contract allows authorized users to:
- Add a student's exam result
- Retrieve stored exam results
- Store results permanently on the blockchain
Each record contains:
- Student ID
- Subject
- Marks obtained
Once stored, the results can be retrieved by querying the contract with the student ID and subject.
- Decentralized result storage
- Immutable academic records
- Transparent verification of results
- Simple API functions for storing and retrieving results
- Built using Rust and Soroban SDK
- Runs on the Stellar blockchain network
Stores a student's exam result on the blockchain.
Parameters:
student_id– Unique ID of the studentsubject– Subject namemarks– Marks obtained in the exam
Retrieves the stored exam result.
Parameters:
student_id– Student identifiersubject– Subject name
Returns:
- ResultRecord containing student ID, subject, and marks.
- Rust
- Soroban SDK
- Stellar Blockchain
https://lab.stellar.org/r/testnet/contract/CDM3MJS6PXQGSZ2GM65O6PNELBIZSZMWWZOPPBVKS7RV7RIXJRM5JCOG
