Online
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: