Skip to content

JuneScut/ARNFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick view

quickview

Contract

Framework

  1. Use HardHat to deploy and test Contract
  2. Extends openzeppelin

How to start?

run npx hardhat test under the contract folder. If you occur some start problems, try delete package-lock.json or yarn.lock and run npm install or yarn install again.

Plans:

  • NFT 价值设定
  • 如何获取所有的 NFT
  • 如何获取某个用户在本应用 Mint 到的 NFT

FrontEnd

Framework

  1. Use Next.js
  2. Mobile Web
  3. use vercel to deploy. It is very easy!

How to start?

npm install # for the first time
npm dev

Plans:

  • 增加 Claim 过程交互
  • 查看所有已经 Mint 到的 NFT

How to deploy?

This project use vercel to deploy. It is very easy!

website

Server

shell

// 本地开发调试 
cd server/functions
npm run serve

// 部署
firebase deploy

API example

local:http://127.0.0.1:5001/test-35968/asia-east2/getBalance?address=0x3d71519280e40f6ec003645c86761EF479040002

server: https://asia-east2-test-35968.cloudfunctions.net/getBalance?address=0x3d71519280e40f6ec003645c86761EF479040002

Plans:

  • 用户身份存储数据库
  • 和 ethereum 交互,将功能封装成接口
    • 将 NFT 发布到 Market
    • 购买 NFT
    • 查询已购买
    • 查询未销售

Releases

No releases published

Packages

No packages published