Add instructions for generating a local keypair to tic-tac-toe section (#31)

This commit is contained in:
kennethcassel 2022-03-11 11:31:08 -06:00 committed by GitHub
parent c2f27b8e65
commit 508e0b70bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -176,6 +176,9 @@ Now, run `anchor test`. This starts up (and subsequently shuts down) a local val
> This is likely because the test file is looking for types from your program that haven't been generated yet.
> To generate them, run `anchor build`. This builds the program and creates the idl and typescript types.
If you get the error `Error: Unable to read keypair file` when running the test, you likely need to generate a Solana keypair using `solana-keygen new`.
## Playing the game
### The Play Instruction