signMessage method is a low-level API that signs raw bytes directly without any modifications. This is useful for verifying your Para integration with a simple “Hello, Para!” test after initial setup and authentication.
When to use signMessage: This method is best suited for signing simple text messages and basic authentication flows. For complex operations like transactions, typed data (EIP-712), or chain-specific functionality, you should use the appropriate Web3 library (Viem, Ethers, Solana Web3.js, CosmJS). These libraries provide proper encoding, type safety, and chain-specific features that signMessage alone cannot offer.
Message Signing
This method signs the exact bytes you provide - perfect for initial “hello world” testing:SignMessageExample.tsx