Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
// Requires setting up the RN Viem extension // See: /react-native/wallets/viem import { dynamicClient } from '<path-to-your-dynamicClient>'; // extended with ViemExtension export const signMessage = async () => { const wallet = dynamicClient.wallets.primary; if (!wallet) return; const walletClient = dynamicClient.viem.createWalletClient({ wallet }); const signature = await walletClient.signMessage({ message: 'example' }); console.log('signature', signature); }
Was this page helpful?