Overview
This guide shows you how to sign messages with your EVM wallet. Message signing is commonly used for authentication, nonce verification, and data integrity checks.Prerequisites
Basic Message Signing
The Node SDK is stateless — every sign call requireswalletMetadata (and externalServerKeyShares if you store them in your own vault). Load both from where you persisted them at wallet creation time.
Simple Message Signing
Whether you need to provideexternalServerKeyShares depends on how you created your wallet:
With Automatic Backup (Recommended)
If you created your wallet withbackUpToDynamic: true, the SDK can recover the shares from backup using password — you can omit externalServerKeyShares:
With Manual Backup
If you created your wallet withbackUpToDynamic: false, you must provide the cached externalServerKeyShares:
- If your wallet was created without a password (
backUpToDynamic: false, no password), omit thepasswordparameter. - If your wallet was created with a password (
backUpToDynamic: true), pass it. - See
signMessagereference for full details.
- If your wallet was created without a password, omit the
passwordparameter - If your wallet was created with a password, you must provide it for all operations
- The password parameter is always optional in the API, but required if the wallet is password-protected