https://github.com/ldsanchez/random-onchain-svgnft
Random On-chain SVG NFT
https://github.com/ldsanchez/random-onchain-svgnft
nft random solidity svg
Last synced: 8 days ago
JSON representation
Random On-chain SVG NFT
- Host: GitHub
- URL: https://github.com/ldsanchez/random-onchain-svgnft
- Owner: ldsanchez
- Created: 2022-04-28T20:24:51.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-11T01:20:43.000Z (about 4 years ago)
- Last Synced: 2026-07-18T02:38:45.531Z (8 days ago)
- Topics: nft, random, solidity, svg
- Language: Solidity
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ⛓️ Random On-chain SVG NFT Creator (Chainlink Hackaton)
> Create a Random On-Chain SVG NFT! 🚀

# 🏄♂️ Quick Start
Prerequisites: [Node (v16 LTS)](https://nodejs.org/en/download/) plus [Yarn](https://classic.yarnpkg.com/en/docs/install/) and [Git](https://git-scm.com/downloads)
> clone/fork ⛓️ Random On-chain SVG NFT
```bash
git clone https://github.com/ldsanchez/random-onchain-svgnft.git
```
> install:
```bash
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 ` 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