An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

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

> Create a Random On-Chain SVG NFT! 🚀

![image](https://user-images.githubusercontent.com/5996795/165186611-b66f6c60-5e8b-41df-8900-d7863d59c611.png)

# 🏄‍♂️ 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