• Preparing search index...
  • The search index is not available
Solana JavaScript SDK
  • Solana JavaScript SDK
  • @solana/compat
  • fromLegacyKeypair

Function fromLegacyKeypair

  • fromLegacyKeypair(
        keypair: Keypair,
        extractable?: boolean,
    ): Promise<CryptoKeyPair>
  • Convert from a Legacy Web3 JS Keypair to a CryptoKeyPair

    Parameters

    • keypair: Keypair

      The Keypair to convert

    • Optionalextractable: boolean

    Returns Promise<CryptoKeyPair>

    A CryptoKeyPair

    • Defined in packages/compat/src/keypair.ts:9

Settings

Member Visibility
Solana JavaScript SDK
  • Loading...

Generated using TypeDoc