Git Product home page Git Product logo

hardhat-nft's Introduction

1. we have to make nft contract:
i> Where people can request to mint Nft
ii> to mint they have to pay some mintFee
iii> we are going to create nft of doggies where we have 3 doggie nft images
iv> pug is the doggie which is rear and bathsheba is medium rare and torront is a common minted doggie
v> we have to make random assumptions using vrf chainlink same as raffle project

2> Deploying our nft
i> we are deploying as same as raffle contract
ii> but here we need to have IPVFS image doggies link created first
iii> once we created our own IPVFS doggies we can use them as our minting object
iv> Pinata is the service we are using to pin data
v> Pinata is also a IPFS NODE
vi> open the Api in Pinata which is present in the settings section along with it open the docs of pinata
vii> Open the pinata Nodejs sdk which is where we are going to work Link:https://www.npmjs.com/package/@pinata/sdk
viii> we are going to use pinfiletoipfs and pinjsontoipfs
ix> to work with paths we are going to use : yarn add --dev path


DynamicSvg: In our Dynamic svg we are not going to use ipfs://
we are going to convert our svg image to uri by using base64
To convert svg to image programatically add :yarn add --dev base64-sol


We also gonna use  Aggregatorv3Interface for using the pricFeeds in the chainlink

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.