loadKeypairFromFile
Load a CryptoKeyPair from a filesystem wallet json file
(i.e. those generated by the solana-keygen command)
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
filePath | string | DEFAULT_CLI_KEYPAIR_PATH | file path to a json keypair file, default=DEFAULT_CLI_KEYPAIR_PATH |
Returns
Promise<CryptoKeyPair>