Building Scaling dApps
In this lab you will learn how to implement and trigger events from smart contracts level. We will use a predefined smart contract template as starting point.
Please clone the git repo from here.
Tasks for this practical session:
Implement an event for updating registration fee. Add the new values to the event
Implement an event for user registration. Add user address and registration fee to the event
Perform at least one update registration fees transaction and at least one register transaction. Identify the event from transaction
Bonus: optimise smart contract storage for participants. Add a view function to get a specific category
Useful links: