/crypto-young-nft

Avatar Generator Website头像生成网站:http://nft.foolisheddy.top/ & CryptoYoung NFT: https://opensea.io/collection/cryptoyoung-v2

Primary LanguageSolidity

CryptoYoungLogo


Online

20220703202943

20220704005920

SourceCode

Folder description
vue-color-avatar frontend
contract solidity
resource nft resource
tools auto generate pic

Install:

contract:

cd contract/
# install
yarn install
# edit config file,rpc url&apikey
vim hardhat.config.ts
# deploy on polygon
yarn hardhat deploy --network polygon
# polygonscan verify sourcecode
yarn hardhat verify --contract contracts/CryptoYoung.sol:CryptoYoung --constructor-args arguments.ts --network polygon $YourContractAddress

tools:

cd tools/
# install dependence in pyproject.toml
poetry install
# edit config file
vim config.py
# run the tool
poetry run python tool.py

vue-color-avatar:

cd vue-color-avatar/
yarn install
# run
yarn dev

Refs: