
用护符门户解锁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
如何搭建开发环境
-
克隆仓库:
-
使用项目目标节点版本,使用nvm(可选,但确保pnpm不会有花招)
-
安装pnpm。首次使用时会下载置顶在
package.json中的版本。 -
安装项目依赖:
-
将
.env.example复制到.env,并更新内部值: -
启动开发服务器:
测试并验证
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
- Clone the repo:
git clone https://github.com/TalismanSociety/talisman-web.git
- Use the project targeted Node version using nvm (Optional but will ensure no funny business with pnpm)
nvm use
-
Install pnpm. It downloads the version pinned in
package.jsonon first use. -
Install the project dependencies:
pnpm install
- Copy
.env.exampleto.envand update the values inside:
cp apps/portal/.env.example apps/portal/.env
- Start the dev server:
pnpm dev
Test and verify
pnpm testruns the unit tests. Tests sit next to their code as*.test.tsor*.test.tsxand run in jsdom. To run the tests of one file or folder, pass its path, as inpnpm test apps/portal/src/domains.pnpm verifyruns Biome, typecheck, knip, the tests and the portal build. Run it before you push. It needs no env file. CI’sqa / validatejob runspnpm verify, then the audit gatepnpm 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 bycodegen:novathrough--require), and@polkadot/apiwith@polkadot/util-crypto, which the verify skill’ssmoke-chain.mjsloads from its own install under.tmp/(the portal itself has no polkadot.js: Biome bans its imports andapps/portal/src/lockfile.test.tsfails if it reaches the lockfile).
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add talismansociety/talisman-web