Solana Introduction
Install Solana CLI
Go through the installation steps.
Explorer window
Some Basic Introduction
bash
solana-test-validator
Now, This will start a local Solana cluster on your machine. You can see the output like below:
--faucet-sol argument ignored, ledger already exists
Ledger location: test-ledger
Log: test-ledger/validator.log
⠈ Initializing... Waiting for fees to stabilize 1...
Identity: 4Ym2pCCAkZQMbKD8sCpuqTKnuWY1g794FXd6AJgREtM6
Genesis Hash: H6DoZWeAYRsFSmW34t9MvfygfS5t1wiJHtXL36A2gMFN
Version: 1.18.23
Shred Version: 44198
Gossip Address: 127.0.0.1:1024
TPU Address: 127.0.0.1:1027
JSON RPC URL: http://127.0.0.1:8899
WebSocket PubSub URL: ws://127.0.0.1:8900
⠖ 00:00:19 | Processed Slot: 770 | Confirmed Slot: 770 | Finalized Slot: 738 | Full Snapshot Slot: 701 | Incremental Snapshot Slot: - | Transactions
Set the RPC url, in the config:
bash
solana config set --url http://127.0.0.1:8899
Revert your RPC url
to devnet
bash
solana config set --url https://api.devnet.solana.com