https://github.com/ldsanchez/onchain-svgnft
All On Chain SVG NFT
https://github.com/ldsanchez/onchain-svgnft
nft solidity svg
Last synced: about 2 months ago
JSON representation
All On Chain SVG NFT
- Host: GitHub
- URL: https://github.com/ldsanchez/onchain-svgnft
- Owner: ldsanchez
- Created: 2022-04-22T01:01:19.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-28T20:34:13.000Z (about 4 years ago)
- Last Synced: 2025-10-14T15:47:56.751Z (8 months ago)
- Topics: nft, solidity, svg
- Language: JavaScript
- Homepage:
- Size: 185 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ⛓️ Simple On-chain SVG NFT
> Create a simple 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 ⛓️ Simple On-chain SVG NFT
```bash
git clone https://github.com/ldsanchez/onchain-svgnft.git
```
> install:
```bash
cd onchain-svgnft
yarn install
```
🔏 Edit your smart contract `SVGNFT.sol` in `contracts`
🖼️ Edit your svg in `img`
💼 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 🛰
# 🚢 Ship it! 🚁
🌐 Open https://testnets.opensea.io/ connect your deployment wallet anc paste your ``
# Thanks 👏🏻
To @PatrickAlphaC and his awesome tutorial https://www.youtube.com/channel/UCn-3f8tw_E1jZvhuHatROwA
To hihayk and josepmartins from https://www.boringavatars.com