└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Lesson 1 - Introduction 2 | ## Wallets and transactions 3 | * What is a wallet 4 | * What wallets are out there 5 | * Using metamasks 6 | * Creating a public-private key pair 7 | * Connecting to Goerli testnet 8 | * Funding via a Faucet 9 | * Sending a ETH transaction 10 | ## How ethereum works 11 | * Explaining Etherscan 12 | * Transactions 13 | * Gas 14 | * Blocks 15 | * Consensus and finality 16 | * State changes 17 | * The EVM 18 | * Accounts 19 | ## Trying it out 20 | * How uniswap works (briefly) 21 | * See contract on etherscan (briefly) 22 | * Make a swap 23 | ## Contract interaction: Token Swap 24 | * What is a state change inside a smart contract operation 25 | ## Hands on - Remix 26 | * Remix interface (overview) 27 | ### References 28 | https://remix-ide.readthedocs.io/en/latest/ 29 | ## Coding HelloWorld.sol 30 | * Solidity philosophy 31 | * OOP basics of Solidity 32 | * Contract Structure 33 | * SPDX License Identifier 34 | * Pragmas 35 | * Imports 36 | * Comments 37 | * Contract definition 38 | * Variables 39 | * Storage areas 40 | * Account storage 41 | * Memory 42 | * Stack 43 | * Constructor function 44 | * Functions 45 | * Visibility 46 | * Typing 47 | * Return values 48 | ### Code Reference 49 |
// SPDX-License-Identifier: GPL-3.0
50 | pragma solidity >=0.7.0 <0.9.0;
51 | contract HelloWorld {
52 | 
53 |     constructor() {}
54 | 
55 |     function helloWorld() public view returns (string memory) {}
56 |    
57 | }
58 | 
59 | ### References 60 | https://docs.soliditylang.org/en/latest/ 61 | 62 | ## Compiling and deploying 63 | * Compilation parameters 64 | * Compiler version 65 | * EVM Version 66 | * Optimization 67 | * Bytecode 68 | * ABI 69 | * Deployment parameters 70 | * Environment 71 | * Account 72 | * Gas 73 | * Contract 74 | * Attaching 75 | * Deploying 76 | 77 | # Homework 78 | * Create Github Issues with your questions about this lesson 79 | * Read introduction and topics table from references 80 | --------------------------------------------------------------------------------