Skip to content

docs: viem post-merge syntax + wagmi snippet#31

Merged
satyakwok merged 1 commit into
mainfrom
docs/wagmi-snippet
May 13, 2026
Merged

docs: viem post-merge syntax + wagmi snippet#31
satyakwok merged 1 commit into
mainfrom
docs/wagmi-snippet

Conversation

@satyakwok
Copy link
Copy Markdown
Contributor

Tutorials section reflects the open viem PR (wevm/viem#4603):

  • viem section leads with the post-merge syntax (import { sentrix } from 'viem/chains') and keeps the inline defineChain() block as the pre-merge fallback.
  • New wagmi snippet showing createConfig() with both networks + injected/WalletConnect connectors + transports map.
  • Notes that RainbowKit / ConnectKit / Reown AppKit / RabbyKit pick up Sentrix the same way because they all consume the viem chain registry.

Tutorials section now reflects the open viem PR (wevm/viem#4603):

- viem section leads with the post-merge syntax (import { sentrix }
  from 'viem/chains') and keeps the inline defineChain() block as the
  pre-merge fallback.
- New wagmi snippet showing createConfig() with both networks +
  injected/WalletConnect connectors + transports map. Notes that
  RainbowKit, ConnectKit, Reown AppKit, and RabbyKit consume the same
  viem chain registry — they all pick up Sentrix the same way.
@satyakwok satyakwok merged commit 0b5f2d5 into main May 13, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 13, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 49d671df-7b57-4230-a13a-aa157aa06975

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/wagmi-snippet

Comment @coderabbitai help to get the list of available commands and usage tips.

@satyakwok satyakwok deleted the docs/wagmi-snippet branch May 13, 2026 08:47
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