以 Next.js 与 TypeScript 为基础,配合 TailwindCSS、Radix、Framer Motion 构建界面
template-web3-app — Next.js 启动器模板
作者 turbo-eth
基于 Next.js 的 Web3 应用启动器,集成 RainbowKit 钱包连接、Sign-In With Ethereum 登录、Prisma 数据库与 Disco/Etherscan API 示例。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
集成 RainbowKit 钱包连接与 Sign-In With Ethereum 账户认证
使用 WAGMI CLI 自动生成 React Hook
通过 Prisma 连接数据库,部署目标为 Vercel
提供 Disco、Etherscan API 与 ERC20 合约集成示例
内置 Husky 与 commitlint,提交前检查代码并校验提交信息格式
模板详细介绍
这是一个面向 Web3 前端的启动器模板,仓库名为 template-web3-app,由 turbo-eth 维护,采用 MIT 许可。技术栈以 Next.js 为核心,配合 TypeScript、TailwindCSS、Radix、Framer Motion 与 React Icons 构建界面,并内置 shadcn/ui 组件于 /components/shared/ui 目录。
在 Web3 能力上,模板集成了 WAGMI CLI(用于自动生成 React Hook)、RainbowKit(钱包连接管理)以及 Sign-In With Ethereum(账户认证)。后端侧使用 Prisma 作为数据库 ORM,部署目标为 Vercel,并提供 Disco 与 Etherscan 的 API 集成示例,以及 ERC20 智能合约集成示例。
开发体验方面包含 Prettier、ESLint、Husky 与 commitlint:pre-commit 钩子用于检查应用代码,commit-msg 钩子按 conventional commit 格式校验提交信息。项目推荐使用 pnpm 安装依赖,npm 与 yarn 也可运行;提供 pnpm dev 与 pnpm build 脚本。README 中说明原始模板 fork 自 wslyvh/nexth。
使用限制:模板需要配置环境变量(如 NEXTAUTH_SECRET、DATABASE_URL)与 JSON-RPC 服务才能完整运行;代码采用 MIT 许可,但演示图片、字体、图标等第三方素材需单独核对许可,域名、托管、数据库等外部服务可能产生费用。
适合你的项目吗?
适用场景
- 需要快速搭建带钱包连接与 SIWE 登录的 Web3 前端项目
- 希望在 Next.js 项目中接入 Prisma 数据库与链上数据 API
- 需要 ERC20 合约交互与 WAGMI Hook 生成示例的参考实现
- 团队希望统一提交规范并加入提交前代码检查流程
适合人群
- 熟悉 Next.js 与 TypeScript 的前端开发者
- 需要 Web3 钱包连接与签名登录能力的项目
- 希望以 MIT 许可代码为起点进行二次开发的团队
- 使用 Vercel 部署并接受 Prisma 数据库方案的项目
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
推荐使用 pnpm install 安装依赖,npm 与 yarn 亦可
- 2
开发运行 pnpm dev,构建运行 pnpm build
- 3
需按文档配置环境变量,例如 NEXTAUTH_SECRET 与 DATABASE_URL
- 4
需准备 JSON-RPC 服务以连接链上网络
- 5
第三方素材与外部服务(域名、托管、数据库等)需自行核对许可与费用
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 推荐使用 pnpm 安装依赖,npm 与 yarn 也可运行,但未保证完全一致。
- 完整运行需配置 NEXTAUTH_SECRET 与 DATABASE_URL 等环境变量。
- 需自行准备 JSON-RPC 服务以连接链上网络。
- 部署目标为 Vercel,使用其托管服务可能产生费用。
- 后端依赖 Prisma 数据库,需自备数据库服务并可能产生费用。
- Etherscan API 集成通常需要申请 API Key 并受其服务条款限制。
- Disco 集成依赖外部服务,可能需要账号或 API 凭证。
- 原始模板 fork 自 wslyvh/nexth,二次分发需保留相应署名。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
The `pnpm` CLI is the recommended package manager but `npm` and `yarn` should work too.
README 原文
env=NEXTAUTH_SECRET,DATABASE_URL&envDescription=How%20to%20get%20these%20env%20variables%3A
README 原文
- [JSON-RPC](https://docs.turboeth.xyz/getting-started/json-rpc)
README 原文
- [Vercel](https://vercel.com/) - App Infrastructure
README 原文
- [Prisma](https://www.prisma.io/) - Database ORM
README 原文
- [Etherscan](https://docs.turboeth.xyz/integration/etherscan)
README 原文
- [Disco](https://docs.turboeth.xyz/integration/disco)
README 原文
https://github.com/turbo-eth/template-web3-app/blob/integrations/LICENSEhttps://github.com/turbo-eth/template-web3-app/blob/integrations/README.mdOriginal template was forked from https://github.com/wslyvh/nexth
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-09-30。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 76 / 100
- 技术栈
- Next.js · React
- 网站类型
- 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2024-05-03
- 截图检查日期
- 2026-09-30
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 4e4109a2703d0cf56a91630f2e723a035abe785054b487bb347131df97b14d9e
2026-09-30T08:15:21.624Z
来源文件 / 仓库 # ⚡ TurboETH - Web3 App Starter Kit   [](http://perso.crans.org/besson/LICENSE.html) Web3 App Template built using Next.js, RainbowKit, Tailwind, Sign-In With Ethereum, and more. [](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fturbo-eth%2Ftemplate-web3-app&project-name=TurboETH&repository-name=turbo-eth&demo-title=TurboETH&env=NEXTAUTH_SECRET,DATABASE_URL&envDescription=How%20to%20get%20these%20env%20variables%3A&envLink=https%3A%2F%2Fgithub.com%2Fturbo-eth%2Ftemplate-web3-app%2Fblob%integrations%2F.env.example) ### [Documentation](https://docs.turboeth.xyz) - Getting Started - [Environment Variables](https://docs.turboeth.xyz/getting-started/environment) - [JSON-RPC](https://docs.turboeth.xyz/getting-started/json-rpc) - [WAGMI CLI](https://docs.turboeth.xyz/getting-started/wagmi-cli) - [UI Components](https://docs.turboeth.xyz/getting-started/design-system) - [Backend Database](https://docs.turboeth.xyz/getting-started/database) - Core Integrations - [🌈 RainbowKit](https://docs.turboeth.xyz/integration/rainbowkit) - [🔏 Sign-In With Ethereum](https://docs.turboeth.xyz/integration/sign-in-with-ethereum) - Smart Contract Integrations - [ERC20](https://docs.turboeth.xyz/integration/smart-contract-erc20) - API Integrations - [Disco](https://docs.turboeth.xyz/integration/disco) - [Etherscan](https://docs.turboeth.xyz/integration/etherscan) # Getting Started The `pnpm` CLI is the recommended package manager but `npm` and `yarn` should work too. ```bash pnpm install ``` #### Development ```bash pnpm dev ``` #### Build ```bash pnpm build ``` ### Web3 Core - [WAGMI CLI](https://wagmi.sh/cli/getting-started) - Automatic React Hook Generation - [RainbowKit](https://www.rainbowkit.com/) - Wallet connection manager - [Sign-In With Ethereum](https://login.xyz/) - Account authentication ### Web2 Frameworks - [Vercel](https://vercel.com/) - App Infrastructure - [Prisma](https://www.prisma.io/) - Database ORM ### Developer Experience - [TypeScript](https://www.typescriptlang.org/) – Static type checker for end-to-end typesafety - [Prettier](https://prettier.io/) – Opinionated code formatter for consistent code style - [ESLint](https://eslint.org/) – Pluggable linter for Next.js and TypeScript ### User Interface - [TailwindCSS](https://tailwindcss.com) – Utility-first CSS framework for rapid UI development - [Radix](https://www.radix-ui.com/) – Primitives like modal, popover, etc. to build a stellar user experience - [Framer Motion](https://www.framer.com/motion/) – Motion library for React to animate components with ease - [React Icons](https://react-icons.github.io/react-icons) – Beautifully simple, pixel-perfect icons The [ui.shadcn.com](https://ui.shadcn.com) components are included in the `/components/shared/ui` folder. # 💻 Developer Experience ### 🐕 What is husky Husky improves your git commits. You can use it to lint your commit messages, run tests, lint code, etc... when you commit or push. Husky supports all Git hooks. #### 🪝 Hooks - pre-commit: lint app codebase - commit-msg: apply commintlint ### 📋 What is commitlint commitlint checks if your commit messages meet the [conventional commit format](https://conventionalcommits.org). In general the pattern mostly looks like this: ```sh type(scope?): subject #scope is optional; multiple scopes are supported (current delimiter options: "/", "\" and ",") ``` Real world examples can look like this: ``` chore: run tests on travis ci ``` ``` fix(server): send cors headers ``` ``` feat(blog): add comment section ``` Common types according to [commitlint-config-conventional (based on the Angular convention)](https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional#type-enum) can be: - build - chore - ci - docs - feat - fix - perf - refactor - revert - style - test # Acknowledgements Original template was forked from https://github.com/wslyvh/nexth Thank you @wslyvh 🙏 <hr/> Copyright 2023 [Kames Geraghty](https://twitter.com/KamesGeraghty)
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

ai-website-cloner-template
Clone any website with one command using AI coding agents
Next.js · 启动器

Next.js SaaS Starter
Next.js SaaS Starter 是 Next.js 官方维护的 SaaS 起点模板,定位介于学习资源和可直接部署的脚手架之间。
Next.js · SaaS

Next.js Commerce
Next.js Commerce 是 Vercel 团队维护的电商启动模板,基于 Next.js App Router 构建,采用服务端渲染、React Server Components、Server Actions …
Next.js · 电商

Next-js-Boilerplate
Next-js-Boilerplate 是一个面向 Next.js 16、Tailwind CSS 4 和 TypeScript 的启动器,核心定位是开发者体验优先。
Next.js · 启动器

tailwind-nextjs-starter-blog
tailwind-nextjs-starter-blog 是一个面向个人技术博客的 Next.js 与 Tailwind CSS 启动模板,其 v2 版本基于 App Router 与 React Server Comp…
Next.js · 博客

next-forge
Production-grade Turborepo template for Next.js apps.
Next.js · 启动器
