@saberhq/sail
Version:
Account caching and batched loading for React-based Solana applications.
8 lines • 318 B
TypeScript
import { Keypair } from "@solana/web3.js";
/**
* Parses a Keypair from a JSON secret key.
* @param valueStr The string representation of the JSON secret key.
* @returns
*/
export declare const useKeypair: (valueStr: string | null | undefined) => Keypair | null | undefined;
//# sourceMappingURL=useKeypair.d.ts.map