Skip to content

docs: align Gateway EVM references with useConnection pattern#7

Open
skyc1e wants to merge 1 commit intocirclefin:masterfrom
skyc1e:docs/gateway-reference-consistency
Open

docs: align Gateway EVM references with useConnection pattern#7
skyc1e wants to merge 1 commit intocirclefin:masterfrom
skyc1e:docs/gateway-reference-consistency

Conversation

@skyc1e
Copy link
Copy Markdown

@skyc1e skyc1e commented Apr 6, 2026

Aligns the Gateway EVM reference examples with the wagmi v3 canonical API.

Changes

evm-to-evm.md — replaces the deprecated useAccount alias with useConnection, matching the pattern already used in the other three Gateway EVM references (deposit-evm.md, solana-to-evm.md, evm-to-solana.md).

In wagmi v3, useAccount was renamed to useConnection. The old name still works as a deprecated re-export, but the rest of the Gateway skill already uses the new name.

solana-to-evm.md — fixes a broken line wrap inside console.warn that splits the word "transactions" across two lines ("Solana t\nransactions").

- evm-to-evm.md: replace deprecated useAccount with useConnection,
  matching the other three Gateway EVM reference files
- solana-to-evm.md: fix broken line wrap in console.warn message
  ("Solana t\nransactions" → "Solana transactions")
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