Smart contract for users to register for events. It will be used to keep a track of user's that want to participate in the $DIBS airdrop. User's will be able to register and also add a referrer.
I've decided not to store personal details about the user in this registration as that would be bad for privacy. I did consider encrypting first, but there's still a risk there that seems wrong and unnecessary.
cargo checkmate
cargo sort
cargo test
- Build contract:
cargo contract build --release
- If setting up locally, start a local development chain.
substrate-contracts-node --dev
- Upload, initialise and interact with contract at Contracts UI.