Saltar la navegación

Teacher guide

Topic Goals:

  1. Understand Programmatic Access to Blockchain: Recognize the importance of directly interacting with blockchain networks to read and write data.
  2. Explore Tools for Blockchain Interactions: Familiarize with Web3.js, Ethers.js, and EVM, learning their roles in blockchain communication.
  3. Develop Practical Skills for Data Retrieval: Configure a development environment, connect to Ethereum nodes, and implement code to read data from smart contracts (e.g., Uniswap token prices).
  4. Gain Hands-On Experience with Data Transactions: Write code to send data to smart contracts, such as executing a token swap, and manage associated transaction costs and gas fees.
  5. Evaluate and Reflect on Programmatic Blockchain Interactions: Test and verify data interactions for reliability, accuracy, and efficiency, including cost management and transaction validation.

Prerequisites:

  • Understanding Basic Blockchain Concepts:
    • Knowledge of public and private key usage, the purpose of smart contracts, and the role of Ethereum as a programmable blockchain.
  • Basic Programming Skills:
    • Experience with JavaScript or another language compatible with blockchain interaction libraries (e.g., Web3.js, Ethers.js).
  • Familiarity with Client-Server and Peer-to-Peer Communication Models: 
    • Understanding the differences between server-client and peer-to-peer topologies, including topology specifics, client and server roles, messaging routes, and real-world use cases.

Literature:

  • Mastering Ethereum by Andreas M. Antonopoulos and Gavin Wood – Offers a comprehensive introduction to Ethereum, including smart contracts and programmatic interactions.
  • Ethereum Documentation (docs.ethhub.io) – Official documentation for Web3.js, Ethers.js, and interaction with the Ethereum blockchain.
  • Web3.js Documentation (web3js.readthedocs.io) – Covers all Web3.js methods, including contract interaction and transaction handling.
  • Ethers.js Documentation (docs.ethers.io) – Provides guides for setup, usage, and security practices in using Ethers.js.

Teaching material:

  • 1.1.ModuleServerClientCommunicationArchitecture.pptx
  • 1.2.ModuleServerClientTechnologies.pptx

Creado con eXeLearning (Ventana nueva)