trust-web3-provider

Installation
SKILL.md

A modular TypeScript library that provides standardized Web3 provider interfaces for wallets to connect with dApps across multiple blockchains.

Repo: @trustwallet/web3-provider-* Version: 4.x (monorepo, Bun workspaces) Supported chains: Ethereum, Solana, Cosmos, Bitcoin, Aptos, TON, Tron


Architecture

dApp → request() → ChainProvider → Adapter → Handler (your wallet code)
              (Promise or Callback strategy)
  • Web3Provider — orchestrator; holds the adapter and routes requests
  • BaseProvider — abstract base for all chain providers (extends EventEmitter)
  • PromiseAdapter — handler returns a Promise<T> directly
Related skills

More from trustwallet/tw-agent-skills

Installs
10
GitHub Stars
55
First Seen
Mar 2, 2026