Skip to content

feat(claude): add trust-web3-provider Claude Code skill#739

Open
vcoolish-tw wants to merge 1 commit intotrustwallet:mainfrom
vcoolish-tw:feat/claude-skill-trust-web3-provider
Open

feat(claude): add trust-web3-provider Claude Code skill#739
vcoolish-tw wants to merge 1 commit intotrustwallet:mainfrom
vcoolish-tw:feat/claude-skill-trust-web3-provider

Conversation

@vcoolish-tw
Copy link

Summary

  • Adds .claude/skills/trust-web3-provider.md — a Claude Code skill that helps developers integrate and build on top of this library
  • Covers both integration patterns (Promise mode, Callback mode) and how to build new chain providers

What the skill includes

  • Quick start — minimal setup for Promise and Callback adapter strategies
  • Handler routing — how to dispatch by params.network + params.name, with full MobileAdapter method name mapping table
  • All 7 chain providers — Ethereum, Solana, Cosmos, Bitcoin, Aptos, TON, Tron with config options and key methods
  • Multi-chain setup — registering multiple providers under a single handler
  • Building new chains — step-by-step guide using bun run generate, provider skeleton, MobileAdapter template, type definitions
  • Error handling — EIP-1193 error codes and RPCError usage
  • Events reference — when and how to emit chainChanged, accountsChanged, etc.
  • Common pitfalls — troubleshooting table for the most frequent integration mistakes
  • Build commands — monorepo dev workflow

Usage

Developers with Claude Code can invoke this skill with /trust-web3-provider in any project to get contextual, accurate guidance for integrating or extending the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant