sodax-wallet-sdk-react-sign-message
Installation
SKILL.md
Sign message (wallet-sdk-react granular skill)
Granular skill for useXSignMessage — arbitrary message signing with the connected wallet. Source-of-truth reference lives in the parent broad skill's knowledge tree; this file is the focused workflow only.
Step 1 — Clarify with user before coding
- New code or v1 → v2 port? New → § Integration. Port v1 → § Migration.
- Message signing, not transaction signing?
useXSignMessagesigns an arbitrary message (auth / proof-of-ownership). To sign a SODAX transaction, useuseWalletProvider(the bridge-to-sdk skill) instead. - Which chain? The return type varies by family — see the per-chain matrix in the recipe.
Integration workflow (new v2 code)
../integration/knowledge/ai-rules.md— DO / DON'T (read first).../integration/knowledge/recipes/setup.md— prerequisite: provider mounted, chain slot enabled.../integration/knowledge/recipes/sign-message.md— usage + per-chain signature matrix.- Lookups →
../integration/knowledge/reference/hooks.md(sign-message section).