Skip to content

SIDHARTH20K4/myToken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

myToken

It is a simple NFT minting project

Three important variables are created. i. token name is created ii. abbreviation of the token is created. iii. a variable named totalsupply is initialised with 0 value. This value will be used the increment and decrement in future while minting and burning the NFT

then mapping function is used... it is basically compared the dictionaries in python It creates a key value pair of address to and an unsigned integer

then comes the mint function. This function is the mint the NFT. When this function is used the value of the total supply and the vaule of the balances is increased.

and finally the burn function is to burn the NFTs. It simple decrements the value of the total suppy variablel and the balances value.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published