TT

talismansociety/talisman-web

分析与监控

本页由 AI 翻译,技术细节请以原文为准。 查看原文

87 stars 质量 67 趋势 34GPL-3.0

用护符门户解锁Paraverse。一个Polkadot、Kusama和Parachain的社区仪表盘。

概览

与Talisman Portal合作。为社区设计的Polkadot、Kusama和Parachain仪表盘。 通过Talisman Portal,你可以购买DOT和KSM,参与众筹贷款,查看NFT等。 2. 使用项目目标节点版本,使用nvm(可选,但确保pnpm不会有花招) 3. 安装pnpm。它会在首次使用时下载package.json中钉顶的版本。 5. 将 .env.example 复制到 .env 并更新内部的值: - pnpm 测试运行单元测试。测试放在代码旁边,代码为 *.test.ts 或 *.test.tsx,并以 jsdom 形式运行。要对一个文件或文件夹进行测试,通过其路径,就像 pnpm 测试 apps/portal/src/domains 一样。- pnpm verify 运行 Biome、typecheck、knip、测试和门户构建。推送前先运行它。不需要 env 文件。CI 的 QA / 验证工作运行 pnpm 验证,然后 audit gate pnpm audit --prod --audit-级别高。- 用户能看到的变化,在真实浏览器中用 verify 技能 .claude/skills/verify/SKILL 驱动门户。

概述(AI 翻译)

用护符传送门解锁平行空间。 一个面向社区的Polkadot、Kusama和Parachain仪表盘。

通过Talisman Portal,你可以购买DOT和KSM,参与众筹贷款,查看NFT等。

想要更多? 护符波尔卡点钱包 |博客 |文档 |推特 |Discord

如何搭建开发环境

  1. 克隆仓库:

  2. 使用项目目标节点版本,使用nvm(可选,但确保pnpm不会有花招)

  3. 安装pnpm。首次使用时会下载置顶在package.json中的版本。

  4. 安装项目依赖:

  5. 将.env.example复制到.env,并更新内部值:

  6. 启动开发服务器:

测试并验证

  • pnpm test 执行单元测试。测试与其代码并列,分别为 *.test.ts 或 *.test.tsx,并以 jsdom 形式运行。要对一个文件或文件夹进行测试,通过其路径,如 pnpm test apps/portal/src/domains。
  • pnpm verify 运行生物群系、类型检查、knip、测试和传送门构建。在推送之前先运行它。不需要环境文件。CI 的 qa / validate 作业运行 pnpm verify,然后是审计门 pnpm audit --prod --audit-level high。

本页由 AI 翻译,技术细节请以原文为准。

README

Talisman Portal

Unlock the Paraverse with Talisman Portal.
A Polkadot, Kusama & Parachain dashboard for the community.

With Talisman Portal you can buy DOT and KSM, contribute to crowdloans, view NFTs and more.

Want more?
Talisman Polkadot Wallet | Blog | Docs | Twitter | Discord

How to set up a development environment

  1. Clone the repo:
git clone https://github.com/TalismanSociety/talisman-web.git
  1. Use the project targeted Node version using nvm (Optional but will ensure no funny business with pnpm)
nvm use
  1. Install pnpm. It downloads the version pinned in package.json on first use.

  2. Install the project dependencies:

pnpm install
  1. Copy .env.example to .env and update the values inside:
cp apps/portal/.env.example apps/portal/.env
  1. Start the dev server:
pnpm dev

Test and verify

  • pnpm test runs the unit tests. Tests sit next to their code as *.test.ts or *.test.tsx and run in jsdom. To run the tests of one file or folder, pass its path, as in pnpm test apps/portal/src/domains.
  • pnpm verify runs Biome, typecheck, knip, the tests and the portal build. Run it before you push. It needs no env file. CI’s qa / validate job runs pnpm verify, then the audit gate pnpm audit --prod --audit-level high.
  • For a change that a user can see, drive the portal in a real browser with the verify skill, .claude/skills/verify/SKILL.md, and run its visual parity check.
  • knip ignores these on purpose: wrangler (Cloudflare Workers Builds runs it), dotenv (loaded by codegen:nova through --require), and @polkadot/api with @polkadot/util-crypto, which the verify skill’s smoke-chain.mjs loads from its own install under .tmp/ (the portal itself has no polkadot.js: Biome bans its imports and apps/portal/src/lockfile.test.ts fails if it reaches the lockfile).
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add talismansociety/talisman-web
新手?先看 mcpskill.org 教程 →