Git Product home page Git Product logo

lesson-01's Introduction

Lesson 1 - Introduction

Wallets and transactions

  • What is a wallet
  • What wallets are out there
  • Using metamasks
  • Creating a public-private key pair
  • Connecting to Goerli testnet
  • Funding via a Faucet
  • Sending a ETH transaction

How ethereum works

  • Explaining Etherscan
  • Transactions
  • Gas
  • Blocks
  • Consensus and finality
  • State changes
  • The EVM
  • Accounts

Trying it out

  • How uniswap works (briefly)
  • See contract on etherscan (briefly)
  • Make a swap

Contract interaction: Token Swap

  • What is a state change inside a smart contract operation

Hands on - Remix

  • Remix interface (overview)

References

https://remix-ide.readthedocs.io/en/latest/

Coding HelloWorld.sol

  • Solidity philosophy
  • OOP basics of Solidity
  • Contract Structure
    • SPDX License Identifier
    • Pragmas
    • Imports
    • Comments
    • Contract definition
  • Variables
  • Storage areas
    • Account storage
    • Memory
    • Stack
  • Constructor function
  • Functions
  • Visibility
  • Typing
  • Return values

Code Reference

// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
contract HelloWorld {

    constructor() {}

    function helloWorld() public view returns (string memory) {}
   
}

References

https://docs.soliditylang.org/en/latest/

Compiling and deploying

  • Compilation parameters
    • Compiler version
    • EVM Version
    • Optimization
  • Bytecode
  • ABI
  • Deployment parameters
    • Environment
    • Account
    • Gas
    • Contract
  • Attaching
  • Deploying

Homework

  • Create Github Issues with your questions about this lesson
  • Read introduction and topics table from references

lesson-01's People

Contributors

matheusdaros avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.