Skip to content

Clarification Needed on Wallet Setup Before Running solana-test-validator #6

Description

@VegaHaxorOne

As I followed the instructions, I noticed that it wasn’t entirely clear that before running solana-test-validator, you should first set up a wallet using solana-keygen new ... to generate a private key (from which you can also derive the public key using solana-keygen pubkey).

My Issue
When working with JavaScript, I already had a test wallet .json file that contained both keys. This file was generated in a format different from what solana-keygen produces, which made it difficult to understand that this step needed to be done using the Solana CLI. Also the CLI sets the default keypair that solana config set --url localhost references.

To keep things general, I suggest including information about the need to generate a keypair with solana-keygen new or mentioning that solana-test-validator references the keypair set by default, which can be configured using solana config set --keypair /path/to/other/location/wallet.json.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions