sonoratek/legiox/base-react-next-wallet-integration

Claude Code and agent skill by sonoratek/legiox

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Adding Base chain to wagmi-config.ts.

Install

npx vskill@latest install sonoratek/legiox/base-react-next-wallet-integration

SKILL.md

The same SKILL.md was published earlier as sonoratek/legiox/base-react-next-wallet-integration.

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

  1. wagmi config: import { base, baseSepolia } from 'wagmi/chains'.
  2. useReadContract({ address: ringConfig.evm.base.ringToken, abi: erc20Abi, functionName: 'balanceOf' }).
  3. useWriteContract for non-sponsored power-user path only.
  4. useSendUserOperation when smartAccount enabled in config.
  5. wallet-wrapper.tsx: conditional Base section if chains.evm.base.enabled.
  6. 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"

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sonoratek/legiox/base-react-next-wallet-integration/badge)](https://verified-skill.com/skills/sonoratek/legiox/base-react-next-wallet-integration)

Something wrong with this skill or its page? Tell us.