For development purposes we recommend you use either a local development node or Optimism Goerli. That way you don't need to spend real money. If you need ETH on Optimism Goerli for testing purposes, you can find a list of testnet faucets here.
Both Etherscan and Blockscout support Optimism Goerli.
For more information see our Developer Documentation.