Skip to content

Smart Contract to mint digital asset on blockchain

Notifications You must be signed in to change notification settings

Anirudha619/NFT_Minter-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT MINTER

Step 1. Clone the project

https://github.com/Anirudha619/NFT_Minter-

Step 2. Install dependencies

Step 3. Start Ganache

Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance. See free video tutorial for full explanation.

Step 4. Testing the NFTMinter Smart Contract on local Blockchain (Ganache)

Open VS code (any Other Compiler) Open the Cloned repository

On Terminal Type truffle console

then test the contract bt typing truffle test

If test get sucessful then you will see follwing output in terminal

Untitled

This test confirms that we have minted two nft and we checked that totalSupply in our contract has updated to 2.

Step 5. Open Remix browser IDE

https://remix.ethereum.org/

Step 6. Compile & Deploy NFTMinter.sol Smart Contract

add NFTMinter.sol Smart Contract in remix.

Adjust the setting as per your requirements (I want to deploy on Rinkeby testNet so I choose Injected Web)

1

after You done with the deployment settings then chose the NFTMinter contract and click on deploy button. Then MetaMask confirmation will pop up click confirm.

3

Step 7. Minting The NFT

Once Contract is deployed to testnet Then you are ready to mint NFT. add your NFT link (IPFS file stored link or Tweet) in the mint function and mint the NFT.

mint

Then Go to Opensea Marketplace and see your NFT

opensea

About

Smart Contract to mint digital asset on blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published