SolanaMessageFormat
SolanaMessageFormat =
"auto"|"message"|"offchainMessage"
Defined in: utils/createSolanaMessageSigner.ts:28
How createSolanaMessageSigner has the wallet sign:
'auto'(default): the UTF-8 bytes of the message, or its version 1 off-chain message when the account listssolana:signOffchainMessagebut notsolana:signMessage(as hardware wallet accounts may), or when the target has no other way to sign;'message': always the UTF-8 bytes;'offchainMessage': always the version 1 off-chain message (solana:signOffchainMessage, or asignOffchainMessage(message)method such as the one ofuseWallet()from@solana/wallet-adapterv3).
@tuwaio/siwx-solana and @tuwaio/siwx-server verify both for SIWX.
Last updated on