You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to this tutorial, where you will learn how to create tiered NFTs using Solidity smart contracts and expand the capabilities of your NFT projects. This tutorial builds upon the knowledge gained from our previous *Getting Started with Smart Contract Development* and *Build a Basic NFT* lessons. If you haven't already, we recommend you complete them to familiarise yourself with the fundamentals of Solidity and the concepts we will be building upon in this lesson.
30
30
@@ -38,7 +38,8 @@ In the previous lesson, we talked about NFTs and their use cases. Unlike traditi
38
38
39
39

40
40
41
-
{/* WARM-UP QUESTIONS */}
41
+
Let's pause here for a few questions to give you a taste of what's to come, and remind, or check yourself on some prior knowledge.
42
+
42
43
<SideDrawerbuttonText="Warm-up Questions"title="Some previous knowledge, some prediction">
43
44
<Questionquestion="lesson-2/1-intro/Q1" />
44
45
<Questionquestion="lesson-2/1-intro/Q2" />
@@ -47,8 +48,15 @@ In the previous lesson, we talked about NFTs and their use cases. Unlike traditi
47
48
<Questionquestion="lesson-2/1-intro/Q5" />
48
49
</SideDrawer>
49
50
<br/>
51
+
How did that go? No pressure if there were some gaps. We're here to bridge them together!
52
+
53
+
Did you set the pomodoro yet? ⌛😊
54
+
55
+
PART 2
50
56
51
-
**Now that we have set the stage, it's time to dive into the exciting world of tiered NFTs and uncover the unique superpowers they possess. By the end of this tutorial, you will have gained a wealth of knowledge and accomplished the following steps**:
57
+
### Lesson breakdown
58
+
59
+
Now that we have set the stage, it's time to dive into the exciting world of tiered NFTs and uncover the unique superpowers they possess. By the end of this tutorial, you will have gained a wealth of knowledge and accomplished the following steps:
52
60
53
61
- Setting up the development environment
54
62
- Writing and deploying a Solidity smart contract
@@ -57,7 +65,9 @@ In the previous lesson, we talked about NFTs and their use cases. Unlike traditi
57
65
- Exploring additional functionalities and possibilities with tiered NFTs ..... in the smart contract!
58
66
- Showcasing and trading your tiered NFTs on a public marketplace
59
67
60
-
**Throughout this journey, we will leverage a range of developer tools and open accounts to transition seamlessly between different development environments. These tools include**:
68
+
### Developer tooling
69
+
70
+
Throughout this journey, we will leverage a range of developer tools and open accounts to transition seamlessly between different development environments. These tools include:
61
71
62
72
- a CLI/console
63
73
- an IDE
@@ -359,6 +369,8 @@ contract TierNFT is ERC721 {
359
369
</SideDrawer>
360
370
<br/>
361
371
372
+
Pomodoro ⌛😊
373
+
362
374
PART 3
363
375
364
376
### Create tokenURI function
@@ -809,6 +821,17 @@ contract TierNFT is ERC721, Ownable {
809
821
</details>
810
822
<br/>
811
823
824
+
<SideDrawerbuttonText="Checkpoint Questions"title="Creating a Robust Development Environment">
825
+
<Questionquestion="lesson-3/<# of section block+section name/Q1" />
826
+
<Questionquestion="lesson-3//Q2" />
827
+
<Questionquestion="lesson-3//Q3" />
828
+
<Questionquestion="lesson-3//Q4" />
829
+
<Questionquestion="lesson-3/-/Q5" />
830
+
</SideDrawer>
831
+
<br/>
832
+
⌛ Pomodoro 😊
833
+
PART 4
834
+
812
835
### Time for our Deploy Script
813
836
814
837
We need a script so we can get our smart contract deployed. Let’s write that.
@@ -1017,7 +1040,18 @@ main().catch((error) => {
1017
1040
-`ethers.utils.parseEther` - here we use *Ethers* to translate the value into wei i.e. multiply it with 10\*\*18
1018
1041
-`let totalSupply = await contract.totalSupply()` - is calling the
1019
1042
`totalSupply()` function to check if the 3 NFTs minted correctly.
1043
+
<br/>
1044
+
<SideDrawerbuttonText="Checkpoint Questions"title="Creating a Robust Development Environment">
1045
+
<Questionquestion="lesson-3/<# of section block+section name/Q1" />
1046
+
<Questionquestion="lesson-3//Q2" />
1047
+
<Questionquestion="lesson-3//Q3" />
1048
+
<Questionquestion="lesson-3//Q4" />
1049
+
<Questionquestion="lesson-3/-/Q5" />
1050
+
</SideDrawer>
1051
+
<br/>
1020
1052
1053
+
PART 5
1054
+
⌛ Pomodoro 😊
1021
1055
### Let’s mint!
1022
1056
1023
1057
To mint our tier NFTs we will run the following command.
@@ -1059,10 +1093,11 @@ In the mean time, jump into the forum and share your experiences with your peers
0 commit comments