Day 2: Creating a Wallet and Checking Its Balance Programmatically

What I Learned

I learned how to generate a Solana wallet programmatically and then check its balance using the devnet RPC.

I discovered that while I could create a wallet with just a few lines of code, persistence was key — otherwise, each run would generate a brand-new wallet.

I also learned how to connect to the Solana devnet and query balances directly from my script.