/That-Socks-NFT

Primary LanguageJavaScriptMIT LicenseMIT

๐Ÿงฆ That Socks NFTs

https://thatsocks-nft.surge.sh/

That Socks Nfts with styles on Goerli network.

Mint some socks and upgrade them to suite your style

Screenshot_594

๐Ÿ„โ€โ™‚๏ธ Quick Start

Prerequisites

This project is built with scaffold-eth.

Node plus Yarn and Git

Getting Started

Installation

Manual setup

clone/fork ๐Ÿ— that socks nft:

git clone https://github.com/yandmch/That-Socks-NFT.git


> install and start your ๐Ÿ‘ทโ€ Hardhat chain:

```bash
cd that-socks-nft
yarn install
yarn chain

in a second terminal window, start your ๐Ÿ“ฑ frontend:

cd that-socks-nft
yarn start

in a third terminal window, ๐Ÿ›ฐ deploy your contract:

cd that-socks-nft
yarn deploy

๐ŸŒ You need an RPC key for production deployments/Apps, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx in packages/react-app/src/constants.js

๐Ÿ” Edit your smart contracts packages/hardhat/contracts.

๐Ÿ“ Edit your frontend App.jsx in packages/react-app/src

๐Ÿ’ผ Edit your deployment scripts in packages/hardhat/deploy

๐Ÿ“ฑ Open http://localhost:3000 to see the app

Introduction

Socks are not the most important part of our daily wardrobe, but quite often we simply need these. We had made our research and found out that some people have a hardtime finding the right socks for their everyday looks. It's for such people that we decided to share a small guide, with limited collection of "That Socks" SVG NFTs.

Take a look at ThatSocks.sol at packages/hardhat/contracts. It describes an SVG NFT that is upgradeable by other nfts in their seperate contracts: NFT features are randomly generated at mint and rendered on-chain. It exposes a function:

function renderTokenById(uint256 id) public view returns (string memory)

It returns the relevant SVG that be embedded in other SVG code for rendering.

Automated with Gitpod

To deploy this project to Gitpod, click this button:

Open in Gitpod

๐Ÿ“š Documentation

Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io

๐Ÿ”ญ Learning Solidity

๐Ÿ“• Read the docs: https://docs.soliditylang.org

๐Ÿ“š Go through each topic from solidity by example editing YourContract.sol in ๐Ÿ— scaffold-eth

๐Ÿ“ง Learn the Solidity globals and units

๐Ÿ›  Buidl

Check out all the active branches, open issues, and join/fund the ๐Ÿฐ BuidlGuidl!

๐Ÿ’ฌ Support Chat

Join the telegram support chat ๐Ÿ’ฌ to ask questions and find others building with ๐Ÿ— scaffold-eth!


๐Ÿ™ Please check out our Gitcoin grant too!