Skip to main content

Exercise Contracts

Many of the sections in Base Learn contain an exercise to test your knowledge on the material you have just completed. We tell you what to do, but not how to do it. You have to apply your knowledge and demonstrate the new abilities you have earned.

Upon success, you'll be granted a non-transferable, or soulbound, NFT as a memento of your learning. You can track your progress on the progress page.

Below is a list of the exercises, with links to view their code. The unit tests are written in a bespoke framework in Solidity, but the patterns should be recognizable to most engineers.

ExerciseCode
Deploying to a Testnet0x075eB9Dc52177Aa3492E1D26f0fDE3d729625d2F
Control Structures0xF4D953A3976F392aA5509612DEfF395983f22a84
Storage0x567452C6638c0D2D9778C20a3D59749FDCaa7aB3
Arrays0x5B0F80cA6f5bD60Cc3b64F0377f336B2B2A56CdF
Mappings0xD32E3ACe3272e2037003Ca54CA7E5676f9b8D06C
Structs0x9eB1Fa4cD9bd29ca2C8e72217a642811c1F6176d
Inheritance0xF90dA05e77a33Fe6D64bc2Df84e7dd0069A2111C
Imports0x8dD188Ec36084D59948F90213AFCd04429E33c0c
Errors0xC1BD0d9A8863f2318001BC5024c7f5F58a2236F7
The "new" Keyword0x4f21e69d0CDE8C21cF82a6b37Dda5444716AFA46
Minimal Tokens0x10Ce928030E136EcC74d4a4416Db9b533e3c694D
ERC-20 Tokens0x4F333c49B820013e5E6Fe86634DC4Da88039CE50
ERC-721 Tokens0x15534ED3d1dBA55148695B2Ba4164F147E47a10c
We use cookies and similar technologies on our websites to enhance and tailor your experience, analyze our traffic, and for security and marketing. You can choose not to allow some type of cookies by clicking . For more information see our Cookie Policy.