saveKeypairToFile
Save an extractable CryptoKeyPair to a filesystem wallet json file
(i.e. same format as those generated by the solana-keygen command)
Parameters
| Parameter | Type | Description |
|---|---|---|
keypair | CryptoKeyPair | an extractable CryptoKeyPair |
filePath | string | path to file where the keypair will be saved |
Returns
Promise<boolean>