pai
    Preparing search index...

    Function parseWalletSecret

    • A 64-byte Solana secret key from base58 text or a JSON array of numbers (the format solana-keygen writes).

      Parameters

      • raw: string

      Returns Uint8Array

      CliError wallet_invalid when the result is not 64 bytes.