Developer-DAO / Developer-DAO/academy
Fundamentals on Solidity. Covers multiple lessons.
- Dominant language
- MDX
- Stars
- 111
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
**We need to add some more supporting content on Solidity types, etc**
Earn some $CODE!!! We have $CODE quests for writing content on Solidity.... among others! We need some fundamentals for our lessons.
IMPORTANT. PLEASE FAMILIARISE YOURSELF WITH THIS TO SAVE TIME AND EFFORT FOR EVERYONE
See the **four Solidity side drawer elements in Lesson 1** for
**tone, style and succinctness - therefore the perfect model of what your content can look like.**
We're obviously trying to **maintain consistency**. You can see these **finished fundamentals** in here:
https://academy.developerdao.com/lessons/projects/1
Please don't work locally, and follow the **INSTRUCTIONS** below for Lesson 2 and Lesson 3:
----------------------------------------------------
Overview of required content Lesson 2: LESSON 2 FUNDAMENTALS ARE COMPLETE. SEE LESSON 3 FURTHER BELOW.
- import (1 paragraph) - (https://github.com/AAYUSH-GUPTA-coder doing this)
- constructor (2 paragraphs) - (https://github.com/AAYUSH-GUPTA-coder doing this)
- msg.sender (1 or 2 short paragraphs) - (https://github.com/AAYUSH-GUPTA-coder doing this)
- mint function
- 2 or 3 paragraphs on what the mint does in the background (OpenZeppelin) - (https://github.com/AAYUSH-GUPTA-coder doing this)
- base URI function
- 2 short paragraphs on what OZ does with it - (https://github.com/AAYUSH-GUPTA-coder doing this)
- override
- 2 or 3 paragraphs about virtual/override and interfaces - (https://github.com/AAYUSH-GUPTA-coder doing this)
INSTRUCTIONS** Click on (https://github.com/losMacos/academy/blob/sol-fund-lesson2/lessons/all-new-solidity-fundamentals-lesson2/sol-fund-lesson2.mdx), click on ```Edit this File```, and write your content to the file. When you are satisfied with your work make sure to add your Discord handle so you get credited for your work and $CODE as well!!. Then scroll down to the ```Commit Changes``` section. Finally add a title for the commit, and a description if you need to and click on the green ```Commit Changes``` button.
----------------------------------------------------
Overview of required content Lesson 3:
- constant/immutable (JohnMac)
- We could integrate this into the Variables & Types SideDrawer from Lesson 1
- mappings
- 2 or 3 paragraphs (How keys are stored and why that doesn't let you iterate)
- mint function
- Same as Lesson 2
- payable functions
- msg.value
- balances
- withdraw functions
- Ownable / onlyOwner
- sending ether (call vs. send vs. transfer)
**INSTRUCTIONS** Click on (https://github.com/losMacos/academy/blob/sol-fund-lesson3/lessons/all-new-solidity-fundamentals-lesson3/sol-fund-lesson3.mdx) click on ```Edit this File```, and write your content to the file. When you are satisfied with your work make sure to add your Discord handle so you get credited for your work and $CODE as well!!. Then scroll down to the ```Commit Changes``` section. Finally add a title for the commit, and a description if you need to and click on the green ```Commit Changes``` button.
Thank you abundantly!!!!
Leave a message in #d_d-academy channel and let us know how you get on.
------------------------------------------------------------------------------------------------------
Contributor guide
Assessment
This issue has not been assessed yet.