can anyone help me in this, i am trying to get Solana logs on vs code terminal but it is not showing.i tried with this command "solana logs --url localhost" but i did not get.may i know what is the reason for it ?
1 Answer
For logs
You can pass the program address as an argument like this solana logs [FLAGS] [OPTIONS] [ADDRESS]
which is
solana logs --url localhost PROGRAM_ADDRESS
For more details, you can refer to this page.