vechain-react-native-dev
Skill15 starsChanged 9 months agoMITView on GitHub
React Native VeWorld wallet integration — deep link communication, NaCl encryption, transaction signing, certificate signing, EIP-712 typed data, and multi-network support.
In this repository17 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- auto-voting-relayersSkill
- create-vechain-dappSkill
- frontendSkill
- grill-meSkill
- indexer-coreSkill
- monkeySkill
- secure-github-actionsSkill
- smart-contract-developmentSkill
- stargateSkill
- thorSkill
- translateSkill
- vebetterdao-navigatorsSkill
- vebetterdaoSkill
- vechain-coreSkill
- vechain-kitSkill
- x-2-earn-appsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Use this Skill for React Native dApp development integrating with VeWorld wallet:
- Distinctive: line 57
Before installing dependencies or running any command:
- Very specific: line 59
Check if .nvmrc exists in the project root.
- Very specific: line 60
If .nvmrc does not exist, create one with 20 (Node 20 LTS) and run nvm use.
- Distinctive: line 66
Check for existing state management (Zustand, Redux, Context) and match it
- Distinctive: line 70
When the user's request is ambiguous or could be solved multiple ways, ask before building.
- Very specific: line 81
Network: always explicit (mainnet/testnet/solo) via the node URL passed to VeWorldProvider
- Very specific: line 84
Error handling: always check for errorCode in wallet responses before processing decrypted data
- Distinctive: line 104
Read the matching files BEFORE doing anything else.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
React Native Wallet Link Skill
CRITICAL RULES
- Read reference files FIRST. When the user's request involves any topic in the reference table below, read those files before doing anything else — before writing code, before making decisions. Briefly mention which files you are reading so the user can confirm the skill is active (e.g., "Reading wallet link API reference...").
- Information priority for VeChain topics: (a) Reference files in this skill — always the primary source. (b) VeChain MCP tools — use
@vechain/mcp-serverfor 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. - Prefer working directly in the main conversation for VeChain tasks. Plan mode and subagents do not inherit skill context and may fall back to web search instead of using reference files.
- After compaction or context loss, re-read this SKILL.md to restore awareness of the reference table and operating procedure before continuing work.
Scope
Use this Skill for React Native dApp development integrating with VeWorld wallet:
- Installing and configuring
@vechain/react-native-wallet-link VeWorldProvidersetup with deep link handling and event callbacksuseVeWorldWallethook — connect, disconnect, sign certificates, sign typed data, sign and send transactions- NaCl key pair generation, encrypted communication, payload decryption
- Deep link configuration for iOS (URL schemes, universal links) and Android (intent filters)
- State management for wallet sessions (key pair, session, address persistence)
- Multi-clause transaction signing via VeWorld
- Certificate signing (identification, verification, attestation)
- EIP-712 typed data signing
- Error handling for wallet responses
- Multi-network support (mainnet, testnet, solo)
For related topics, see companion skills:
- vechain-core — Core SDK usage, fee delegation, multi-clause patterns, dual-token model
- vechain-kit — VeChain Kit and dapp-kit packages: hooks, components, wallet connection, social login
- frontend — Generic frontend patterns: React Query, Turborepo, state management, Chakra UI
- smart-contract-development — Solidity, Hardhat, testing, security
Default stack
| Layer | Default | Alternative |
| Wallet link | @vechain/react-native-wallet-link | — |
| SDK | @vechain/sdk-core + @vechain/sdk-network | — |
| Framework | Expo (React Native) | bare React Native |
| State | Zustand + AsyncStorage | any persisted store |
| Node | Node 20 LTS (managed via nvm) | — |
Operating procedure
1. Check Node version
Before installing dependencies or running any command:
- Check if
.nvmrcexists in the project root. If yes, runnvm use. - If
.nvmrcdoes not exist, create one with20(Node 20 LTS) and runnvm use.
2. Detect project structure
- Expo project → use
expo-linkingfor deep link handling - Bare React Native → use
react-nativeLinkingAPI directly - Check for existing state management (Zustand, Redux, Context) and match it
3. Clarify before implementing
When the user's request is ambiguous or could be solved multiple ways, ask before building. Separate research from implementation:
- Which network? (mainnet/testnet/solo)
- Which operations? (connect only, signing, transactions)
- State management preference?
- Deep link scheme name?
4. Implement with VeChain-specific correctness
- Always install peer dependencies:
@vechain/sdk-core,@vechain/sdk-network,react-native-get-random-values,events - Import
react-native-get-random-valuesbefore any NaCl usage — required for crypto in React Native - Network: always explicit (
mainnet/testnet/solo) via the node URL passed toVeWorldProvider - Key pairs: generate with
nacl.box.keyPair(), store Base64-encoded viaencodeBase64()fromtweetnacl-util - Session persistence: persist keyPair, veWorldPublicKey, address, and session across app restarts
- Error handling: always check for
errorCodein wallet responses before processing decrypted data - Deep links: configure platform-specific URL schemes so VeWorld can redirect back to the app
5. Verify and deliver
A task is not complete until all applicable gates pass:
- Code compiles — no build errors (
npx expo startor equivalent succeeds) - Deep links configured — iOS Info.plist and/or Android intent filters set up
- Risk notes documented — any signing, fee, or token-transfer implications are called out
Then provide:
- Files changed + diffs
- Install/build commands
- Deep link scheme configuration steps
- Risk notes for signing, fees, token transfers
Reference files
Read the matching files BEFORE doing anything else. See Critical Rules above.
| Topic | File | Read when user mentions... |
| API and hook reference | references/wallet-link-api.md | useVeWorldWallet, VeWorldProvider, connect, disconnect, signCertificate, signTypedData, signAndSendTransaction, key pair, encrypt, decrypt |
| Deep link and platform setup | references/deep-link-setup.md | deep link, URL scheme, universal link, iOS, Android, intent filter, redirect, Expo linking, app.json |
| Example integration | references/example-integration.md | example, demo, full app, tutorial, how to use, getting started, Zustand, state management, VET transfer |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

