Skip to content

Commit

Permalink
Merge pull request #68 from yurii2007/fix/load-keypair-readme
Browse files Browse the repository at this point in the history
fix: updated readme for getKeyPairFromFile with default file path
  • Loading branch information
nickfrosty authored Nov 26, 2024
2 parents b08ce8d + d1e8919 commit af00163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ Gets a keypair from a file - the format must be the same as [Solana CLI](https:/
To load the default keypair `~/.config/solana/id.json`, just run:

```typescript
const keyPair = await getKeypairFromFile(file);
const keyPair = await getKeypairFromFile();
```

or to load a specific file:
Expand Down

0 comments on commit af00163

Please sign in to comment.