July 1, 2023

WB Network. Own NFT collection

mx.bazz

Introduction
In this guide, you and I will create our own nft collection in WB Network in a couple of clicks.

Creation and verification of oil
Go to https://remix.ethereum.org/ and create the file "MyToken.sol"

We insert the code into the file, which can be found at the 
link https://pastebin.com/RwJGfmEc. 
If you want the contract to have its own ticker, you can change the name 
MyToken to yours and MTK to yours below:
Go to the tab with the Solidity logo and click "Compile".
The code is ready, the name is ready, 
let's connect to the site with the metamask, as shown in the picture below.
Once the metamask is connected, go to the tab with the Ethereum logo and first select the MyToken contract from the drop-down list, 
and then click the orange "Deploy" button.
We confirm the transaction in the metamask and view the transaction in the explorer.
Click on "Contract creation" in the browser.
Copy the contract address.
Go to https://explorer.whitebit.network/testnet/verify-contract. 
In the address field, insert the contract address, compiler type - single file, version - 0.8.18, 
license - MIT and click "Continue".
We insert the code from the remix into the field.
Click "Verify and publish" and go through the captcha.
The contract has been successfully deployed. The ticker is now displayed and the contract functions are available through the explorer.

Преходимо у "Contract" => "Write Contract" і конектимо метамаск до сайту.

After the connection, we find the "safeMint" function. In the first field, enter your address, and in the second a link to the picture and write the "Write" button.
When you confirm the transaction in the metamask, the inscription "View transaction" will appear next to the button, click on it and go to the transaction logs. There you need what the arrow shows. In order for it to appear, you need to click "Decode".
We will need the copied ID right away. Add nft to metamask.
Congratulations! You just created your own nft collection on the WB Network!

#wbt_retrodrop

#wbt

#wb_network

#wbnetwork