The Attendance Tracker contract provides a simple and efficient way to track attendance on the Stellar blockchain. It allows addresses to mark their attendance and verify if they have attended, creating an immutable record of participation. This contract is ideal for events, meetings, classes, or any scenario where attendance tracking is needed. The blockchain-based approach ensures that attendance records cannot be tampered with and provides a transparent, verifiable history of participation.
The contract is designed with simplicity and efficiency in mind, making it easy to integrate into various applications. Whether you're managing a conference, tracking student attendance, or monitoring employee participation in meetings, this contract provides a reliable and tamper-proof solution. The decentralized nature of the blockchain means that attendance data is stored securely and can be accessed from anywhere, without relying on a central authority.
Key Benefits:
- Immutable Records: Once attendance is marked, it cannot be altered or deleted, ensuring data integrity
- Transparency: All attendance records are publicly verifiable on the blockchain
- Decentralized: No single point of failure or central authority required
- Cost-Effective: Minimal gas costs for operations, making it affordable for regular use
- Easy Integration: Simple API makes it easy to integrate with existing systems
Contract Address: CCCB4CLTQUKWAR6VMW2ZWHUTVM74Q7HQINE347Z2S2IZ32XKIMW677BP
View on Stellar Expert: https://stellar.expert/explorer/testnet/contract/CCCB4CLTQUKWAR6VMW2ZWHUTVM74Q7HQINE347Z2S2IZ32XKIMW677BP
- Simple getter function to check attendance status
- Simple setter function to mark attendance
- Basic storage model using address-to-attendance mapping
- Minimal, gas-efficient logic
mark_attendance(address)- Marks attendance for a given addresscheck_attendance(address)- Returns true if the address has marked attendance, false otherwise
To build use:
stellar contract buildRun:
stellar contract deploy \
--wasm target/wasm32v1-none/release/project-1.wasm \
--source-account alice \
--network testnet \
--alias project-1