Writing Smart contracts in pyTEAL
summary
Shows how PyTeal generates TEAL from Python ASTs, compiles to bytecode and deploys via the SDK, and demonstrates concrete primitives: 64 global keys and per-app local state, 256 scratch slots for temporaries, 64-bit unsigned integers, logging as the only direct return channel, and no reentrancy across contract calls. Covers inner transactions (up to 256 in a group), the need to predeclare resources and accounts, the subroutine decorator to avoid code bloat, and cautions about weak timestamp guarantees and atomic group ordering.
AI-written summary · about
chapters (4)
- 0:00Start
- 25:24yTEAL Basics - Control Flow (5/5)
- 31:50YTEAL Basics - Subroutines (1/2)
- 35:24yTEAL Basics - Inner Transactions (2/3)
related talks
59mLightning Talks
32mCode as Data_ A Practical Introduction to Python’s Abstract Syntax Tree
50mPerformance tricks learned from low level developers
24mSaturday Lightning Talks
42mRun your ICO using Python
29mUncovering the magic of implementing a new Python syntax feature
01h 07mWhat Does It All Really Mean
56mLightning Talks
