Skip to main content

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 provide externalServerKeyShares depends on how you created your wallet: If you created your wallet with backUpToDynamic: true, you don’t need to provide external key shares:

With Manual Backup

If you created your wallet with backUpToDynamic: false, you must provide external key shares:
Password Handling Notes:
  • 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

Common Use Cases

Authentication

Data Integrity

Next Steps

Last modified on May 21, 2026