Smart Contract essentials Syllabus

Class 1

ERC/EIP landscape

  • EIP Rationale

  • EIP type

  • EIP workflow

  • EIP Process

  • EIP Artefacts

  • EIP classification

  • EIP header preamble

Popular

  • EIP-155

  • EIP-20

  • EIP-721

Introduction to Smart Contract SDK

  • Truffle

  • OpenZeppelin

Class 2

Contract to Contract Interaction

  • Application Binary Interface (ABI)

  • Common use cases

  • External function calls

  • Creating contract from a contract

  • Common security bugs

  • Low-level calls

Class 3

Introduction to tokens

  • Fungible and Non-fungible tokens

  • Methods, Implementation of interface, decimals, token naming, approvals, allowances, return values.

  • Dealing with exceptions

  • Events

  • Minting and Burning tokens

  • Implementing ERC20 interface token contract

  • Metamask repository of token names

  • Etherscan to check balances

  • Meta transactions with tokens

Class 4

Token economics

  • Market Design, Mechanism Designs and token design

  • Crowd Sales : Air Drops, ICO, IEO

  • Centralized versus Decentralized exchanges

  • Time locks

  • Applying Mechanism design to incentivization schemes

Class 5

Ethereum Development Environment

  • Introduction to Truffle

  • Introduction to Embark

  • Introduction to OpenZeppelin

  • Testnets and faucets

  • Manual testing of Smart contract using

  • Remix

Class 6

Smart contract testing

  • Justify smart contract testing

  • Writing smart contract test cases using Javascript and Solidity

  • Solidity code coverage

Class 7

Standard Compliant Smart Contracts

  • Review of ERC20

  • The new Permit Method

  • Introduction to EIP-721

  • Implementation of ERC721 interface

Class 8

Overview of Smart Contract Security

  • Token contract attack vectors

  • Proxy contracts

  • Introduction to common smart contract vulnerability

Class 9

Smart contract analysis

  • Static analysis

  • Dynamic analysis

  • Fuzz testing

  • Symbolic evaluation

Class 10

Formal verification of smart contracts

Review and feedback