Skip to content

z-institute/Solidity-EVM-Dev-Batch-2-HW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Excellent homework showcase

The Z Institute provides two month interactive Ethereum developer training course, bringing engineers from web 2.0 to web 3.0. The excellent homeworks of the students are all open sourced. Feel free to share this with interested developers or join our Discord to give us feedback!

Week 2 : Ethereum Basics

Reading

Excellent homework

Week 3 : Ethereum Ecosystem and Related Tools

Reading

  1. https://insights.glassnode.com/defi-attacks-flash-loans-centralized-price-oracles/
  2. https://consensys.github.io/smart-contract-best-practices/
  3. https://chain.link/education/blockchain-oracles

Coding

Choose five (or more) development tools mentioned in the class and try them out according to the Readme.

Group homework

Implement mainnet fork with hardhat, run ethereum local mainnet fork with ganache and connect to Metamask.

Excellent homework

Excellent group homework

  • Group 3 (Vera, YI JUN LIN, CHIH HSIEN CHEN)

Week 4 : Solidity Smart Contract Basic

Coding

Complete all these lesson and summarize what you learn

  1. https://www.chainshot.com/learn/solidity
  2. https://cryptozombies.io/en/course

Group homework

The first version of the smart contract for the graduation project.

Excellent homework

Excellent group homework

Week 5 : Solidity Smart Contract Analysis

Coding

  1. Write a token contract that allows the purchase of a token using USDT, checks the current USDT balance of the contract, and allows withdrawals. Submit the completed code along with screenshots of successfully purchasing a token, checking the balance, and making a withdrawal on Remix.
  2. Write an NFT contract that requires the payment of ERC20 tokens and 0.1 ETH to mint. It should also allow for updating the token URI and limit minting to 5 per address. Submit the completed code and include screenshots.

Group homework

The second version of the smart contract for the graduation project.

Excellent homework

Excellent group homework

  • Group 3 (Vera, YI JUN LIN, CHIH HSIEN CHEN)

Week 6 : Solidity Smart Contract Libraries and Use Cases

Reading

Coding

  1. Follow these two tutorials step-by-step, provide relevant screenshots, and then explain the working principle of VRF and the differences between the two methods.
  1. Try running this project and provide relevant screenshots of successful execution, then explain the working principle of cross-chain bridges : https://github.com/z-institute/bsc-eth-bridge

Group homework

Collaborate to complete all Ethernaut challenges : https://ethernaut.openzeppelin.com

Excellent homework

Excellent group homework

  • Group 3 (Vera, YI JUN LIN, CHIH HSIEN CHEN)

Week 7 : Solidity Smart Contract Advanced

Reading

Coding

Follow the example in this video, push the project to Github, document the detailed steps with screenshots, and describe the working principle and implementation experience (including any difficulties encountered and how they were solved) : https://www.youtube.com/watch?v=Aw7yvGFtOvI&feature=youtu.be

Group homework

Complete the User Flow Chart for the graduation project using tools such as https://whimsical.com/ or others.

Excellent homework

Excellent group homework

  • Group 3 (Vera, YI JUN LIN, CHIH HSIEN CHEN)

Week 8 : Solidity Smart Contract Test

Coding

  1. Based on the Quiz2 contract (https://github.com/z-institute/Quiz/blob/main/contracts/Quiz_02.sol), attempt to write a test for the Quiz2 contract using the Hardhat framework. Then, run npx hardhat coverage and increase the test coverage to 100%.
  2. Run this Hardhat front-end project (https://github.com/NomicFoundation/hardhat-boilerplate) and observe its project structure. In your own words, describe 'How the front-end interacts with the smart contract?

Group homework

Complete the first version of the smart contract for the graduation project!! Also, write some basic smart contract function tests.

Excellent homework

Excellent group homework

  • Group 3 (Vera, YI JUN LIN, CHIH HSIEN CHEN)

Week 9 : Integrating Front-end Libraries

Coding

  1. Follow this document and write down the steps, providing screenshots upon completion : https://hackmd.io/@zinstitute/frontend-lib
  2. Use Manifold studio to do something (such as uploading an NFT image and creating an NFT mint site), write down the steps, provide screenshots upon completion, and share the website link.

Group homework

Continue to work on the smart contract for the graduation project and start designing the front-end interface!! Also, write some basic smart contract function tests.

Excellent homework

Excellent group homework

  • Group 3 (Vera, YI JUN LIN, CHIH HSIEN CHEN)

Solidity-EVM-Dev-Batch-2-HW

Usage

  1. Please clone your own brach and operate on it, the following commands are for your reference.
git clone https://github.com/z-institute/Solidity-EVM-Dev-Batch-2-HW.git --branch <ID>
  1. Please add the folder like main branch and push your homework to your own folder.

GitHub Basic Usage

  • Upload code
cd <dir>
git add .
git commit -m "<commit message>"
git push

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published