SolanaSiwxMessageFormat
SolanaSiwxMessageFormat =
SolanaMessageFormat
Defined in: signer.ts:28
How createSolanaSiwxSigner has the wallet sign the message:
'auto'(default): the UTF-8 bytes of the message, or its version 1 off-chain message when the account supportssolana:signOffchainMessagebut notsolana:signMessage(as hardware wallet accounts may), or when the target has no other way to sign;'message': always the UTF-8 bytes (solana:signMessageand the fallbacks of SolanaSiwxSignerTarget);'offchainMessage': always the version 1 off-chain message (solana:signOffchainMessage, or asignOffchainMessage(message)method such as the one ofuseWallet()from@solana/wallet-adapterv3).
verifyEd25519 and @tuwaio/siwx-server accept both, so the format needs no server setting. The same type as
SolanaMessageFormat of @tuwaio/orbit-solana.
Last updated on