# 📝 TUTO : Deploy Smart Contracts

By [Crypto Ninja](https://paragraph.com/@crypto-ninja-2) · 2023-06-07

---

In this tutorial I will show you how to deploy ERC20 and ERC721 (NFT) smart contracts

This tutorial is applicable on most of EVM compatible blockchain testnets such as Shardeum, Scroll, Taiko etc…

**PART I :** 𝗘𝗥𝗖𝟮𝟬

To start we gonna deploy an ERC20 Smart Contract 👇

1️⃣ Go to [https://docs.openzeppelin.com/contracts/4.x/wizard](https://docs.openzeppelin.com/contracts/4.x/wizard)

🔸select ERC20

🔸choose a name and symbol for your token

🔸set an amount in 'premint' (ex. 1 000 000 000) 🔸when it's done, click 'Open in Remix' ✅

![](https://storage.googleapis.com/papyrus_images/bbdaba405b1754792d06f82aba11cf4ee44abe0bab5dda0f3c4cd1c0961809ea.jpg)

2️⃣ On Remix :

🔸click 'Compile Contract' button

🔸after compiling go to Deploy & Run Transactions

🔸in ENVIRONMENT select ‘’ Injected Provider Metamask’’ ( you should see your own adress if you have done everything right )

🔸Press DEPLOY ✅

Your smart contract is deployed 🎉

![](https://storage.googleapis.com/papyrus_images/40a927a36f3915f8de6f026cbc0a70938c8fc28a7e6ba03b27ebc15d58f1e11b.jpg)

![](https://storage.googleapis.com/papyrus_images/c5dd9b7a9a84cc5478d9584165c35283214bf26a5ac4f45b4dd8e908cca61edf.jpg)

3️⃣ Now you gonna mint your own token :

🔸scroll down to see 'Deployed Contracts'

🔸click on your contract to open the window

🔸select 'Transfer'

🔸write your own wallet address and amount you want to transfer ( number of tokens doesn't matter, if you want 1000 tokens, type 1 and 21 zero like on screenshot below)

🔸click on 'transact'

🔸confirm transaction on your wallet ✅

![](https://storage.googleapis.com/papyrus_images/08939fd42359cde1f290ba9fdcb7d71008323db96f8fd46d585b346edd38f23f.jpg)

**Congratulations on finishing the ERC20 part 🎉**

**PART II : 𝗘𝗥𝗖𝟳𝟮𝟭 ( 𝗡𝗙𝗧)**

Now second part, we gonna deploy an ERC721 ( NFT) Smart Contract

👇

1️⃣ Return to [https://docs.openzeppelin.com/contracts/4.x/wizard](https://docs.openzeppelin.com/contracts/4.x/wizard)

🔸select ERC721

🔸choose a name and symbol for your token

🔸now click on 'mintable' 🔸When it's done, Open in Remix ✅

![](https://storage.googleapis.com/papyrus_images/40b583bc01683d30f3c3fa68fae3f38cf92946a7b0248f496eb030111cf16e1c.jpg)

2️⃣ On Remix, repeat same actions as before to Compile and Deploy your Smart Contract ✅

3️⃣ Now under 'Deployed Contracts' :

🔸click on your contract to open the window

🔸select 'Safe mint'

🔸like before write your own wallet address and the number of NFT to mint (eg.10)

🔸click on 'transact'

🔸confirm transaction on wallet ✅

![](https://storage.googleapis.com/papyrus_images/cf78fcf9bbd35333418c6f540dcfebf0ad2c188a4440044f22be6013206f2c82.jpg)

Congratulations, you have created your ERC721 contract and have just interacted with it 🎉

---

*Originally published on [Crypto Ninja](https://paragraph.com/@crypto-ninja-2/tuto-deploy-smart-contracts)*
