Skip to content

Commit ad747c2

Browse files
committed
chore: consistent language and contract references
1 parent e009c33 commit ad747c2

File tree

1 file changed

+14
-14
lines changed
  • src/pages/lessons/projects

1 file changed

+14
-14
lines changed

src/pages/lessons/projects/3.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ tiered NFTs and uncover the unique superpowers they possess. By the end of this
9191
tutorial, you will have gained a wealth of knowledge and accomplished the
9292
following steps:
9393

94-
- Set up a development environment
95-
- Write and deploy a Solidity smart contract
96-
- Create tiered NFTs with varying levels of rarity and attributes
97-
- Write a script for deployment
98-
- Explore additional functionalities and possibilities with tiered NFTs... in
94+
- Setting up a development environment
95+
- Writing and deploying a Solidity smart contract
96+
- Creating tiered NFTs with varying levels of rarity and attributes
97+
- Writing scripts for deployment
98+
- Exploring additional functionalities and possibilities with tiered NFTs... in
9999
the smart contract!
100-
- Securely manage sensitive environment variables
101-
- Showcase your tiered NFTs on a public marketplace
100+
- Securely managing sensitive environment variables
101+
- Showcasing your tiered NFTs on a public marketplace
102102

103103
### Developer tooling
104104

@@ -244,8 +244,8 @@ contracts. We'll write our smart contract step by step in five stages:
244244

245245
### Add a Mint Function
246246

247-
Let’s get started by inheriting OpenZeppelin's ERC721.sol like we did last time.
248-
We add a constructor to our contract, which will mirror the one from ERC721.sol.
247+
Let’s get started by inheriting OpenZeppelin's `ERC721` contract like we did last time.
248+
We add a constructor to our contract, which will mirror the one from `ERC721.sol`.
249249
250250
{/* @wolovim optional line?: Unlike in our *Basic NFT* lesson, where we added a third parameter to the constructor for storing the token's baseURI, we will have a different approach this time, which we will come to later. */}
251251

@@ -441,7 +441,7 @@ contract TierNFT is ERC721 {
441441
442442
### Create tokenURI function
443443
444-
When we inherited OpenZeppelin's ERC721, it gave us a function for `tokenURI` where we can store an image, a video, or much more. With the help of this ERC721 contract we have the ability to define **a base path** for creating a
444+
When we inherited OpenZeppelin's `ERC721`, it gave us a function for `tokenURI` where we can store an image, a video, or much more. With the help of this `ERC721` contract we have the ability to define **a base path** for creating a
445445
unique URI which adds the token ID to the end of it.
446446
447447
```solidity
@@ -495,11 +495,11 @@ it into the contract! Nifty, eh?
495495

496496
Let’s stop to break it down and examine it a little.
497497

498-
- Within the `tokenURI` function, you'll notice `override`, an ERC721 function
498+
- Within the `tokenURI` function, you'll notice `override`, an `ERC721` function
499499
we'll use, since we are not creating a separate JSON file to store images or
500500
other services, but creating it right here in the contract.
501-
- We also added `require(_exists(tokenId). "Nonexistent token");` . According to
502-
ERC721 specification, it is required to throw an error if the NFT doesn't
501+
- We also added `require(_exists(tokenId). "Nonexistent token");`. According to
502+
the ERC-721 specification, it is required to throw an error if the NFT doesn't
503503
exist.
504504
- `imageSVG` is a placeholder for our image, and we will deal with it a bit
505505
later.
@@ -769,7 +769,7 @@ contract TierNFT is ERC721, Ownable {
769769
```
770770

771771
If your phone is ringing, or someone is knocking at your door right now, ignore
772-
all of it! Let’s get this withdraw function coded in here!!
772+
all of it! Let’s get this withdraw function coded in here!
773773

774774
```solidity
775775
// tokenURI function part of the code...

0 commit comments

Comments
 (0)