A layer 2 review primer: what layer 1 and layer 2 blockchains are, how rollups inherit security, where sidechains differ, and the risks and trade-offs to check.