UNPKG

@phala/dstack-sdk

Version:

DStack SDK

13 lines 636 B
import { Keypair } from '@solana/web3.js'; import { type DeriveKeyResponse } from './index'; /** * @deprecated use toKeypairSecure instead. This method has security concerns. * Current implementation uses raw key material without proper hashing. */ export declare function toKeypair(deriveKeyResponse: DeriveKeyResponse): Keypair; /** * Creates a Solana Keypair from DeriveKeyResponse using secure key derivation. * This method applies SHA256 hashing to the complete key material for enhanced security. */ export declare function toKeypairSecure(deriveKeyResponse: DeriveKeyResponse): Keypair; //# sourceMappingURL=solana.d.ts.map