Basic example of how to verify solidity smart contracts on etherscan or bscscan like platforms automatically
Link of the tutorial: https://medium.com/@mhkafadar/how-to-auto-verify-smart-contracts-on-etherscan-bscscan-with-truffle-1d061e6f31ed
Create .env file
cp .env.example .env
Then put your own settings to .env file.