Today, I successfully transferred sol from one account to another on mainnet-beta using @solana/web3.js, without giving a provider url.
const connection = new Connection(clusterApiUrl(‘mainnet-beta’), ‘confirmed’);
This line of code did all the work. If I was doing the same thing with, ethereum and lets say, web3.js, I would have to get a provider node, from Infura, or elsewhere.
So, what does this mean, @solana/web3.js has a default provider node? Do I even need my own node, if this one does the job? Can I go to production with this?