a5c-ai/babysitter / library/specializations/cryptography-blockchain/skills/wallet-integration
wallet-integration
VerifiedWallet connection and transaction management for dApps using wagmi and viem. Supports multiple connectors, chain switching, EIP-712 signing, and hardware wallet integration.
README.md
View on GitHub# Wallet Integration Skill
Wallet connection and transaction management for Web3 dApps using wagmi and viem.
## Overview
This skill provides comprehensive capabilities for integrating wallet connections, transaction signing, and chain management into Web3 dApps.
## Key Capabilities
- **Multi-Wallet Support**: MetaMask, WalletConnect, Coinbase
- **Chain Switching**: Seamless network management
- **Transaction Handling**: Send, sign, and track transactions
- **EIP-712 Signing**: Typed data signatures for permits
## Quick Start
```bash
npm install wagmi viem @tanstack/react-query
```
```tsx
import { useAccount, useConnect } from 'wagmi';
function App() {
const { address, isConnected } = useAccount();
const { connect, connectors } = useConnect();
if (isConnected) return <p>{address}</p>;
return connectors.map(c => (
<button key={c.id} onClick={() => connect({ connector: c })}>
Connect {c.name}
</button>
));
}
```
## Related Resources
- [SKILL.md](./SKILL.md) - Full skill specification
- [wagmi Docs](https://wagmi.sh/)
- [viem Docs](https://viem.sh/)
## Process Integration
- `dapp-frontend-development.js`
- `hd-wallet-implementation.js`
- `multi-signature-wallet.js`
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |