C#: Sign in a user through Web3 (Solana, Ethereum)

Signs in a user with a signed message from a Solana or Ethereum wallet.

Examples

Sign in with Ethereum

var session = await supabase.Auth.SignInWithWeb3Async(
    Web3Credentials.ForEthereum(message, signatureHex));

Sign in with Solana

var session = await supabase.Auth.SignInWithWeb3Async(
    Web3Credentials.ForSolana(message, signatureBytes),
    new SignInWithWeb3Options { CaptchaToken = captchaToken });