Skip to content

brtr/tech_shark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

发布流程

发布准备

复制env_sample到.env并修改各个参数, 然后

npm install

上传图片

node scripts/upload.js "./images"

把ipfsHash粘贴到data.json的image参数里面替换

生成metadata并上传

node scripts/generate_metadata.js
node scripts/upload.js "./metadata"

把ipfsHash粘贴到.env里面的METADATA_URI替换

发布合约

npx hardhat run scripts/deploy.js --network rinkeby

验证合约 (国内网络可能会超时,在服务器上验证过没问题)

npx hardhat verify --network rinkeby 合约地址

mint

npx hardhat run scripts/mint.js --network rinkeby

前端服务器地址

44.192.130.77

启动node

node src/server.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published