13 / 27Module 1: A Rell backend with FT accountsBeginner
Part 4: Validating and verifying input
This lesson covers input verification in Chromia with the "require" function as a way to secure your dapp. You will check that the user who signs an operation is valid, limit the length of content, and confirm that referenced users exist.
You will finish by writing tests that block impersonation and confirm your input validation behaves as expected.
Written for this site from Chromia’s public course. Code samples are the course’s own.