Blockchain Teaching Resources

Smart Contract Rule Lab

Three quick challenges. Turn Solidity into EVM code, make a voting contract enforce its rules, then unlock a time-locked vault.

Challenge 1 of 3 Step 1 of 3 Score 0 / 7

Challenge 1

Solidity to EVM

Compile, deploy and execute

Step 1

Your turn: interact with the scene first. Read the feedback, then use Next when you are ready.

Carry these ideas into the Week 6 primer

⚙️Execution path

Solidity is compiled to bytecode, deployed as a contract account, then executed by the EVM.

🗳️Rules before state

Read the caller and stored state, validate with require, then update state and emit evidence.

⏱️Blockchain time

A contract can compare block.timestamp with a stored deadline before allowing an action.