𝗙𝗮𝘀𝘁𝗟𝗶𝗳𝗲 Profile picture
Semi Pro E-beggar | DM @WawKasem on TG for collab ✉️ | Telegram https://t.co/SJVarDqzbE 📲 |

Dec 17, 2022, 10 tweets

1/10
A sub-thread that will enter the next 🔫AIRDROP HUNT🪂 thread for @shardeum

I'll introduce you to this #blockchain in more depth, for now we're just going to see how to deploy smart contracts
Very few people will do and that will maybe make the difference for an #airdrop !

2/10
🚨 All these actions are to be performed on the #Shardeum testnet.

So you have to :

1. Add Shardeum Liberty 1.6 network to your #metamask
chainlist.org/?testnets=fals…

2 And claim test tokens on the faucet
faucet.liberty10.shardeum.org

3/10
Below, the way to deploy an ERC20 Smart Contract 👇

1️⃣ Go to docs.openzeppelin.com/contracts/4.x/…

> 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 on 'Open in Remix' ✅

4/10
2️⃣ On Remix, click Compile Contract button

After compiling:
> go to Deploy & Run Transactions
> ENVIRONMENT > Injected Provider Metamask ( you should see your #metamask if you have done everything right )
> Press DEPLOY ✅

Your smart contract is deployed 🎉

5/10
3️⃣ Now, under 'Deployed Contracts' :

> click on your contract to open the window

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

6/10
> click on 'transact' and
> confirm transaction on your wallet ✅

Congratulations on finishing the ERC20 part 🎉

7/10
Now second part, we gonna deploy an ERC721 ( NFT) Smart Contract 👇

1️⃣ Return to docs.openzeppelin.com/contracts/4.x/…

> select ERC721
> choose a name and symbol for your token
> now click on 'mintable'

When it's done, Open in Remix ✅

8/10
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 (ex.10)

9/10
> click on 'transact' and
> confirm transaction on wallet ✅

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

10/10
Smart Contract part is over 🔥

I created this sub-thread separately for more clarity because it is simple but a bit long
Soon I will publish a complete thread for Shardeum #Airdrops 🔫🪂

If this tutorial helped you, don't hesitate to like and share it with your friends ☺️

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling