Skip to content

A simple smart contract that mints a non-fungible token (NFT, but a very simplified version) or a standard ERC-20 token with a supply of "1" to an address that provides a specific "secret code" provided at the event.

License

Notifications You must be signed in to change notification settings

chinguyen1010/Proof-of-Attendance-Token-POAT-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proof-of-Attendance-Token-POAT-Generator (accredited to BUBlockchain Hackathon)

A simple smart contract that mints a non-fungible token (NFT, but a very simplified version) or a standard ERC-20 token with a supply of "1" to an address that provides a specific "secret code" provided at the event.

Blockchain-based attendance verification using a secret event code and one-per-wallet on-chain claims.

Problem Statement: Event organizers need a simple, immutable way to verify and reward attendance at a specific physical or virtual event.

● Proposed Solution: A simple smart contract that mints a non-fungible token (NFT, but a very simplified version) or a standard ERC-20 token with a supply of "1" to an address that provides a specific "secret code" provided at the event.

● Core Smart Contract Logic:

○ A state variable for a secret code/password.

○ A function claimAttendance(string memory secret) that verifies the code.

○ If correct, call a minimal_mint function (or just record the address in a mapping). Focus on the logic, not complex NFT standards.

About

A simple smart contract that mints a non-fungible token (NFT, but a very simplified version) or a standard ERC-20 token with a supply of "1" to an address that provides a specific "secret code" provided at the event.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published