GithubHelp home page GithubHelp logo

hardhat-nft-smartcontract's Introduction

SETUP

This Repo consists 3 contracts:

  1. Basic NFT
  2. Random IPFS NFT
  3. Dynamic SVG NFT (hosted on-chain)

What we'll learn from this Repo

  1. How to use ERC721 EIP (Ethereum Improvement Proposals) to create NFT.

  2. How to use Chainlink VRF to setup Random NFT Mint Function.

  3. How to store your NFT assests on IPFS.

    There are multiple ways to do that -

    1. Upload it on Your own IPFS Node (GUI or CLI or Scripts).

      Do remember that pinning your assests on IPFS is the most important thing. You can pin it but what if your system node go down. So, In order to it(assests) remain on IPFS and work properly, some other nodes also have to pin your Data.

      In order to achieve this there are 2 platforms - Pinata(paid) and nft.storage(free)

    2. With Pinata: It's a paid centralized application which will pin your data.

    3. With NFT.STORAGE: It's a free decentralized platform by IPFS in front and Filecoin in back.

and We are going to learn how to upload our assests on Pinata and NFT.storage Programmitically.

Deploying and Minting

First Deploy all the contracts on chain or testnet, Then run the mint script to mint 1 NFT from each one of the contracts.

hardhat-nft-smartcontract's People

Contributors

rohitks7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.