Smart Contract Code Challenges?
summary
Live, browser-based coding using the ChainShot web IDE walks through four progressive stages that implement averages then move to mapping lookups and an ether split. Exercises use Solidity primitives: uints, arrays, mappings, msg.sender/msg.value and payable transfer, and test-driven feedback via a Run Tests button. Participants complete the tasks during the session; one attendee finishes all four first. The examples demonstrate gas-relevant distinctions like view vs pure and show working code that passes the provided unit tests.
AI-written summary · about
chapters (6)
- 0:00Smart contract challenges
- 3:09Average of three numbers
- 7:38Average of an array
- 18:22Averaging mapping balances
- 25:56Splitting DAO payments
- 27:59Summary
related talks
47mSolidity for Beginners
50mBlockchain and Smart contracts
19mTop 5 Tricks for Smart Contract Productivity
25mSmart Contract Developer Speedrun
20mLearning How to Build Secure Smart Contracts
01h 03mBeginners Track Welcome & Speedrun Ethereum Introduction
21mScaffold-Eth, OpenZeppelin, and EVM Optimization
24mAn Introduction to Smart Contracts
