base-react-next-wallet-integration
Skill0 starsChanged 44 days agoMITView on GitHub
Adding Base chain to wagmi-config.ts.
In this repository146 other files it gives its agents.
- accessibility-compliance-enforcerSkill
- ai-anthropic-api-specialistSkill
- ai-anthropic-claude-runtime-env-guruSkill
- ai-avatar-presenter-specialistSkill
- ai-aws-bedrock-agentcore-guruSkill
- ai-aws-bedrock-agents-guruSkill
- ai-aws-bedrock-specialistSkill
- ai-aws-sagemaker-specialistSkill
- ai-context-masterSkill
- ai-llm-datasets-specialistSkill
- ai-powered-personalization-engineSkill
- ai-video-editor-postproduction-guruSkill
- ai-video-generation-orchestratorSkill
- ai-voice-audio-production-guruSkill
- ai-voice-dubbing-orchestratorSkill
- android-ndk-coderSkill
- apac-market-specialistSkill
- app-store-optimization-specialistSkill
- aptos-react-next-wallet-integrationSkill
- aptos-ts-sdk-coreSkill
- authjs-specialistSkill
- aws-console-cli-agentSkill
- aws-cost-budgets-specialistSkill
- aws-ec2-lambda-s3-specialistSkill
- aws-eks-specialistSkill
- aws-iam-guruSkill
- base-erc4337-paymaster-sponsorshipSkill
- business-viral-adoption-acceleratorSkill
- ci-cd-pipeline-specialistSkill
- code-apple-pwa-ios-16-guruSkill
- codebase-memory-mcpSkill
- competitive-intelligence-analystSkill
- competitive-intelligence-specialistSkill
- crisis-communication-reputation-managerSkill
- cross-border-legal-compliance-specialistSkill
- cursor-agents-orchestration-guruSkill
- cursor-hooks-automation-guruSkill
- cursor-installer-engineerSkill
- cursor-marketplace-publisher-guruSkill
- cursor-mcp-plugin-integration-specialistSkill
- cursor-plugin-architect-guruSkill
- cursor-sdk-automation-guruSkill
- cursor-skills-rules-author-guruSkill
- cybersecurity-governance-specialistSkill
- dagi-general-expertSkill
- developer-experience-architectSkill
- devops-aptos-gas-station-opsSkill
- devops-auto-repair-shop-crm-guruSkill
- devops-base-paymaster-opsSkill
- devops-ffmpeg-live-transmux-hls-packaging-guruSkill
- devops-hetzner-api-specialistSkill
- devops-k8s-dns-cluster-guruSkill
- devops-k8s-forgejo-guruSkill
- devops-k8s-guruSkill
- devops-k8s-local-storage-guruSkill
- devops-k8s-mail-addons-guruSkill
- devops-k8s-nginx-guruSkill
- devops-k8s-rook-ceph-guruSkill
- devops-k8s-tailscale-tunnelSkill
- devops-k8s-valero-backupSkill
- The first 60 shown.
The file
Files
Base React/Next.js — wagmi + viem
Summary
Base wagmi integration extends existing EVM provider — add base and baseSepolia chains, RING mirror ABI with 8 decimals in formatUnits. ring-config.chains.evm.base.ringTokenAddress is SSOT for contract address. For gasless US users, wagmi alone is insufficient — route to CDP smart account + paymaster. Keep Web3Provider client boundary; dynamic import to save bundle size. Never treat Base as ring-native chain in UI copy.
Instructions
- wagmi config: import { base, baseSepolia } from 'wagmi/chains'.
- useReadContract({ address: ringConfig.evm.base.ringToken, abi: erc20Abi, functionName: 'balanceOf' }).
- useWriteContract for non-sponsored power-user path only.
- useSendUserOperation when smartAccount enabled in config.
- wallet-wrapper.tsx: conditional Base section if chains.evm.base.enabled.
- hooks/use-wallet-balance.ts: branch chain === 'base' for mirror read.
Deeper fields
jq -r '.mission, .expertise, .keywords' "mcp/AI-LEGIOX/legiox-truth-lens/base-react-next-wallet-integration.nodus.json"
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.

