Docs

IThirdwebWallet.PersonalSign

This method allows signing a string message using the wallet's private key. The signed message proves the message's integrity and authenticity, demonstrating that the message was indeed created by the owner of the private key.

Note: When using SmartWallet, calling this method will deploy a smart contract account if it hasn't been deployed yet.

Usage

string signature = await wallet.PersonalSign("Your message here");