Skip to content

czar0/my-starknft-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Your First NFT with Infura and StarkNet

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.

Prerequisites

  • 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

Setting up

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

Run

node index.js