Skip to content

ldsanchez/random-onchain-svgnft

Repository files navigation

⛓️ Random On-chain SVG NFT Creator (Chainlink Hackaton)

Create a Random On-Chain SVG NFT! 🚀

image

🏄‍♂️ Quick Start

Prerequisites: Node (v16 LTS) plus Yarn and Git

clone/fork ⛓️ Random On-chain SVG NFT

git clone https://github.com/ldsanchez/random-onchain-svgnft.git

install:

cd random-onchain-svgnft
yarn install

🔏 Edit your smart contract RandomSVG.sol in contracts

💼 Edit your deployment scripts in deploy

Deploy it! 🛰

🔏 Add your variables RINKEBY_RPC_URL, MNEMONIC, ETHERSCAN_API_KEY

🚀 Run npx hardhat deploy --network rinkeby to deploy to your public network of choice (😅 wherever you can get ⛽️ gas)

🔬 Inspect the block explorer for the network you deployed to... make sure your contract is there.

📜 Contract Verification

Now you are ready to run the npx hardhat verify --network rinkeby <CONTRACT_ADDRESS> command to verify your contracts on etherscan 🛰

📝 To-Do

  • Use Hot-Chain-Svg (Done)
  • Migrate to VRF v2
  • Upload SVG to IPFS
  • Front-End Creator

Thanks 👏🏻

To @PatrickAlphaC and his awesome tutorial https://www.youtube.com/channel/UCn-3f8tw_E1jZvhuHatROwA

To hihayk and josepmartins from https://www.boringavatars.com