Skip to content

Smart contract that enables users to register for $DIBS airdrop.

Notifications You must be signed in to change notification settings

btn-group/az_event_registration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aleph Zero Event Registration Smart Contract

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.

Design Notes

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.

Getting Started

Prerequisites

Checking code

cargo checkmate
cargo sort

Testing

Run unit tests

cargo test

Deployment

  1. Build contract:
cargo contract build --release
  1. If setting up locally, start a local development chain.
substrate-contracts-node --dev
  1. Upload, initialise and interact with contract at Contracts UI.

References

About

Smart contract that enables users to register for $DIBS airdrop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages