Skip to content

Commit a731188

Browse files
author
shell
committed
docs:updata readme&&ppt
1 parent 435d3d9 commit a731188

6 files changed

Lines changed: 15 additions & 5 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# ArrowTower
22

3-
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/easyshellworld/arrowtower-dapp/blob/main/LICENSE)[![Next.js](https://img.shields.io/badge/Next.js-15+-black?logo=next.js)](https://nextjs.org/)[![Polkadot](https://img.shields.io/badge/Polkadot-Hub_Testnet-E6007A?logo=polkadot)](https://polkadot.network/)[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/easyshellworld/arrowtower-dapp/pulls)[![Live Demo](https://img.shields.io/badge/demo-live-success)](https://arrowtower.netlify.app/)[![Docker Ready](https://img.shields.io/badge/docker-ready-blue?logo=docker)](https://hub.docker.com/)[![CI/CD](https://img.shields.io/badge/CI%2FCD-GitHub%20Actions-2088FF?logo=githubactions)](https://github.com/easyshellworld/arrowtower-dapp/actions)[![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-3178C6?logo=typescript)](https://www.typescriptlang.org/)[![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-3.0+-06B6D4?logo=tailwindcss)](https://tailwindcss.com/)[![Web3](https://img.shields.io/badge/Web3-wagmi%2Bviem-FF6B35?logo=ethereum)](https://wagmi.sh/)[![Tests](https://img.shields.io/badge/tests-passing-brightgreen)](https://github.com/easyshellworld/arrowtower-dapp/actions)[![Open Issues](https://img.shields.io/github/issues/easyshellworld/arrowtower-dapp)](https://github.com/easyshellworld/arrowtower-dapp/issues)
4-
[![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/easyshellworld/arrowtower-dapp)](https://github.com/easyshellworld/arrowtower-dapp/pulls?q=is%3Apr+is%3Aclosed)[![GitHub Repo stars](https://img.shields.io/github/stars/easyshellworld/arrowtower-dapp?style=social)](https://github.com/easyshellworld/arrowtower-dapp/stargazers)[![Last Commit](https://img.shields.io/github/last-commit/easyshellworld/arrowtower-dapp)](https://github.com/easyshellworld/arrowtower-dapp/commits/main)
3+
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/easyshellworld/arrowtower-dapp/blob/main/LICENSE)[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/easyshellworld/arrowtower-dapp/pulls)[![GitHub Repo stars](https://img.shields.io/github/stars/easyshellworld/arrowtower-dapp?style=social)](https://github.com/easyshellworld/arrowtower-dapp/stargazers)[![Open Issues](https://img.shields.io/github/issues/easyshellworld/arrowtower-dapp)](https://github.com/easyshellworld/arrowtower-dapp/issues)[![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/easyshellworld/arrowtower-dapp)](https://github.com/easyshellworld/arrowtower-dapp/pulls?q=is%3Apr+is%3Aclosed)[![Last Commit](https://img.shields.io/github/last-commit/easyshellworld/arrowtower-dapp)](https://github.com/easyshellworld/arrowtower-dapp/commits/main)
54

5+
[![Polkadot](https://img.shields.io/badge/Polkadot-Hub_Testnet-E6007A?logo=polkadot)](https://polkadot.network/)[![Solidity](https://img.shields.io/badge/Solidity-363636?logo=solidity&logoColor=white)](https://soliditylang.org/)[![Web3](https://img.shields.io/badge/Web3-wagmi%2Bviem-FF6B35?logo=ethereum)](https://wagmi.sh/)[![Hardhat](https://img.shields.io/badge/Hardhat-FFF100?logo=hardhat&logoColor=black)](https://hardhat.org/)
6+
7+
[![Next.js](https://img.shields.io/badge/Next.js-15+-black?logo=next.js)](https://nextjs.org/)[![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-3178C6?logo=typescript)](https://www.typescriptlang.org/)[![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-3.0+-06B6D4?logo=tailwindcss)](https://tailwindcss.com/)
8+
9+
[![Live Demo](https://img.shields.io/badge/demo-live-success)](https://arrowtower.netlify.app/)[![CI/CD](https://img.shields.io/badge/CI%2FCD-GitHub%20Actions-2088FF?logo=githubactions)](https://github.com/easyshellworld/arrowtower-dapp/actions)[![Tests](https://img.shields.io/badge/tests-passing-brightgreen)](https://github.com/easyshellworld/arrowtower-dapp/actions)[![Docker Ready](https://img.shields.io/badge/docker-ready-blue?logo=docker)](https://hub.docker.com/)
610

711

812
## 📖 项目简介
@@ -20,7 +24,7 @@ ArrowTower 是一个基于 Polkadot 生态的地理位置打卡平台,通过**
2024
- **🚀 即刻生效**:Fork 或克隆项目后,拉起 Docker 镜像即可进入系统,真正做到开箱即用。
2125
- **🔧 多部署形式**:支持 Docker 部署、Kubernetes 部署、GitHub Actions 一键 CI/CD 上线。
2226
- **🔄 队列铸造机制**:支持事务队列、批量 NFT 铸造 (queue-minting),可应对高并发场景。
23-
- **🖥️ 前端可部署合约**前端界面支持 UI 配置合约地址与 ABI,无需后端改造即可切换不同 NFT 合约。
27+
- **🖥️ 前端可部署合约**前端管理界面直接支持部署、配置合约地址,无需后端改造即可切换不同 NFT 合约。
2428
- **📍 地理位置+二维码校验打卡**:支持 GPS 定位校验 + 二维码扫描,多重验证保障打卡有效性。
2529
- **🎨 互动任务系统**:拍照上传、知识问答、任务打卡、成就解锁等,提升用户参与感。
2630
- **📊 数据统计看板**:实时统计用户行为、任务进度、铸造量、打卡人数等链上 + 线下数据。

data/arrowtower.db

0 Bytes
Binary file not shown.

docs/updatalog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,9 @@
177177
### 2025-10-23
178178
* 新增前端部署NFT合约、minter合约,绑定合约关系组件`ContractDeployer.tsx`,并制作`viem.ts`测试合约部署文件
179179
* 修订`readme`文件部分内容,修订`PPT`部分内容
180+
181+
### 2025-10-24
182+
* 增加`middleware.ts`重构认证中间件,支持 admin 和 user 角色权限控制
183+
* 修订`readme`文件部分内容,`PPT`部分内容。
184+
* 修复`external_url`内容定义问题。
185+

pic/Snapshot2.PNG

152 KB
Loading

public/ppt/ppt.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ <h2>核心特性</h2>
464464
<li><strong>🚀 即刻生效</strong>:Fork 或克隆项目后,拉起 Docker 镜像即可进入系统,真正做到开箱即用</li>
465465
<li><strong>🔧 多部署形式</strong>:支持 Docker 部署、Kubernetes 部署、GitHub Actions 一键 CI/CD 上线</li>
466466
<li><strong>🔄 队列铸造机制</strong>:支持事务队列、批量 NFT 铸造 (queue-minting),可应对高并发场景</li>
467-
<li><strong>🖥️ 前端可部署合约</strong>前端界面支持 UI 配置合约地址与 ABI,无需后端改造即可切换不同 NFT 合约</li>
467+
<li><strong>🖥️ 前端可部署合约</strong>前端管理界面直接支持部署、配置合约地址,无需后端改造即可切换不同 NFT 合约</li>
468468
<li><strong>📍 地理位置+二维码校验打卡</strong>:支持 GPS 定位校验 + 二维码扫描,多重验证保障打卡有效性</li>
469469
<li><strong>🎨 互动任务系统</strong>:拍照上传、知识问答、任务打卡、成就解锁等,提升用户参与感</li>
470470
<li><strong>📊 数据统计看板</strong>:实时统计用户行为、任务进度、铸造量、打卡人数等链上 + 线下数据</li>

src/jobs/mint-processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function generateVoucherMetadata(voucherId: string,nfttokenid:string) {
8080
name: `Completion Badge: ${route.name} #${nfttokenid}`,
8181
description: `NFT awarded to (${user.walletAddress}) for completing the route ${route.name}. Verified via on-chain check-ins at multiple points of interest.`,
8282
image: `https://arrowtower.netlify.app/pic/img_${img_ramdom}.svg`,
83-
external_url: `https://arrowtower.netlify.app/user/${user.id}/route/${route.id}`,
83+
external_url: `https://arrowtower.netlify.app/api/metadata/${nfttokenid}`,
8484
background_color: "000000",
8585

8686
// attributes 是字符串类型,但通常存储 JSON 字符串

0 commit comments

Comments
 (0)