This is the supporting codebase at the core of the Infura blog post - Mint Your First NFT with Infura and StarkNet - and featured by EatTheBlocks in their How to Deploy Solidity Smart Contracts on L2 with ZK-Rollup (Infura x StarkNet, Tutorial) video tutorial.
- node (tested on v16.xx.x)
- npm (tested on v8.xx.x)
- Infura Web3 account with StarkNet enabled
- Infura IPFS account with dedicated gateway
- basic knowledge of ERC721 standard
Install all the dependencies of this project:
npm install
Create a new .env
file:
cp .env.example .env
Edit this file with the Infura network and IPFS information (note that some of those are optional).
Then source it:
source .env
node index.js