Skip to content

narvik-eth/full-on-chain-nft

Repository files navigation

Full On Chain NFT

image

This is a contract that allows you to mint any SVG.

Usage

Deploy

git clone https://github.com/narvik-eth/full-on-chain-nft.git
cd full-on-chain-nft
# Specify your private key
cp .env.sample .env
yarn install
yarn hardhat run scripts/deploy.ts --network polygon
yarn hardhat verify --network polygon <deployed contract address>

Mint

SVG_PATH="./image/profile.svg" yarn hardhat run scripts/mint.ts --network polygon

Mint with polygonscan

image

Netowrk URL
Polygon https://polygonscan.com/address/0xc01595d0119e72d04c05c95523f3a7b98c55f39f#writeContract
Polygon Mumbai https://mumbai.polygonscan.com/address/0x3a459b964338604d3b54bcd26e3fbc62225696c4#writeContract