@me2em/solana
    Preparing search index...

    Function isValidSolanaAddress

    • Structural validity of a Solana address: a non-empty base58 string that decodes to exactly 32 bytes (an Ed25519 public key or a PDA). Fail-closed: invalid alphabet characters (Solana addresses never contain 0, O, I, l), wrong lengths or non-string input yield false — the function never throws.

      No on-curve check: PDAs are valid addresses (A4 carry-over).

      Parameters

      • address: string

      Returns boolean