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:

  1. Implement an event for updating registration fee. Add the new values to the event
  2. Implement an event for user registration. Add user address and registration fee to the event
  3. Perform at least one update registration fees transaction and at least one register transaction. Identify the event from transaction
  4. Bonus: optimise smart contract storage for participants. Add a view function to get a specific category

Useful links:

fob/laboratoare/09.txt · Last modified: 2023/01/12 16:27 by costin.carabas
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0