Overview
This guide shows you how to sign messages with your Solana wallet. Message signing is commonly used for authentication, nonce verification, and data integrity checks on Solana.Prerequisites
Basic Message Signing
Simple Message Signing
Whether you need to provideexternalServerKeyShares
depends on how you created your wallet:
With Automatic Backup (Recommended)
If you created your wallet withbackUpToClientShareService: true
, you don’t need to provide external key shares:
With Manual Backup
If you created your wallet withbackUpToClientShareService: false
, you must provide external key shares:
- If your wallet was created without a password, omit the
password
parameter - 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