docs: Add note to run solana-keygen if needed

This commit is contained in:
Armani Ferrante 2021-02-03 07:27:57 -08:00
parent d36ebd640a
commit 66593cb8bb
No known key found for this signature in database
GPG Key ID: D597A80BCF8E12B7
1 changed files with 8 additions and 1 deletions

View File

@ -19,7 +19,14 @@ cd anchor/examples/tutorial/basic-0
## Starting a Localnet ## Starting a Localnet
In a separate terminal, start a local network for testing. In a separate terminal, start a local network for testing. If you're running solana
for the first time, generate a wallet.
```
solana-keygen new
```
Then run
``` ```
solana-test-validator solana-test-validator