一键导入
vechain-kit
VeChain Kit and dapp-kit packages — installation, hooks, components, wallet connection, social login, smart accounts, theming, and Privy setup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
VeChain Kit and dapp-kit packages — installation, hooks, components, wallet connection, social login, smart accounts, theming, and Privy setup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Complete domain knowledge for VeBetterDAO's auto-voting and relayer system. Use when working on relayer dashboard, relayer node, auto-voting contracts (XAllocationVoting, VoterRewards, RelayerRewardsPool), or anything related to relayers, auto-voting, gasless voting, or relayer rewards. Triggers on: relayer, auto-voting, autovoting, gasless voting, relayer rewards, RelayerRewardsPool, castVoteOnBehalfOf, relayer dashboard, relayer node, veDelegate comparison.
VeChain indexer-core library — IndexerFactory, IndexerRunner, LogsIndexer vs BlockIndexer mode selection, ABI and business events, rollback semantics, and integration guidance.
VeBetterDAO and X2Earn app development — B3TR/VOT3 tokens, reward distribution, sustainability proofs, app submission, governance, VeVote, and quadratic funding.
| name | vechain-kit |
| description | VeChain Kit and dapp-kit packages — installation, hooks, components, wallet connection, social login, smart accounts, theming, and Privy setup. |
| allowed-tools | [] |
| license | MIT |
| metadata | {"author":"VeChain","version":"0.1.0"} |
@vechain/mcp-server for on-chain data, transaction building, and live network queries; use Kapa AI MCP for VeChain documentation lookups. (c) Web search — only as a last resort, and only for topics NOT covered in the reference files.Use this Skill for the VeChain Kit and dapp-kit packages specifically:
For generic frontend patterns (React Query, Turborepo, state management, Chakra UI, transaction UX), see the frontend skill.
| Layer | Default | Alternative |
|---|---|---|
| Frontend | @vechain/vechain-kit | @vechain/dapp-kit-react (lightweight/non-React) |
| Node | Node 20 LTS (managed via nvm) | -- |
Before installing dependencies or running any command:
.nvmrc exists in the project root. If yes, run nvm use..nvmrc does not exist, create one with 20 (Node 20 LTS) and run nvm use.turbo.json present → follow Turborepo conventions (apps/frontend, packages/*)useThor for Thor client access (both VeChain Kit and dapp-kit v2). useConnex is deprecated everywhere.When to ask the user: If the project doesn't already use VeChain Kit or dapp-kit and the user hasn't specified which to use, ask before choosing. Key questions:
When the user's request is ambiguous or could be solved multiple ways, ask before building. Separate research from implementation.
mainnet/testnet/solo)sendTransactionA task is not complete until all applicable gates pass:
npm run build or equivalent succeeds)Read the matching files BEFORE doing anything else. See Critical Rules above.
| Topic | File | Read when user mentions... |
|---|---|---|
| Setup & config | references/kit-setup.md | Installing VeChain Kit, provider setup, CSS framework, Tailwind, env vars, login methods, legal documents, ecosystem apps, common pitfalls |
| Hooks | references/kit-hooks.md | useWallet, useCallClause, useSendTransaction, useBuildTransaction, useSignMessage, contract reads, transactions, VET domains, NFTs, blockchain hooks, language/currency, @vechain/contract-getters |
| Components & modals | references/kit-components.md | WalletButton, TransactionModal, TransactionToast, modal hooks, isolated views |
| Social login | references/kit-social-login.md | Social login, smart accounts, account abstraction, Privy setup, fee delegation for social login, DIY social login |
| Theming | references/kit-theming.md | Theming, colors, fonts, buttons, glass effects, bottom sheet, Chakra UI compatibility, webpack fallbacks |
| dapp-kit | references/frontend-dappkit.md | dapp-kit, DAppKitProvider, lightweight wallet |
| Translations + Kit | references/translations-vechain-kit.md | i18n, translations, language sync, VeChain Kit language, missing translations, pre-commit, ESLint, unused keys |