I am working with the Solana command-line tools and I need to point them at my own RPC node instead of the default public endpoint. I have tried this:
solana config set --url http://localhost:8899
When I run commands such as solana balance or solana slot they use the default cluster.
How do I verify which RPC endpoint the CLI is targeting?
Switch it to my local endpoint
Ensure
solana-keygenpicks it up