Hopefully it won’t be too long until there are easy options when deploying to a public network to also verify at the same time.
Tron (not used it in a couple years though) does things better in almost every way, so deploying there is easy. The ABI is always public too. Love that part of it.
Flattening may not remove SPDX License Identifiers (unless you tell the flattener to) but the flattened file won’t compile if there are multiple license identifiers in the contract file.
(From: Solidity 0.6.8 introduces SPDX license identifiers)
I stand corrected. I was using 6.6 compiler. I think that is a poor decision to make citing licenses more difficult. It's for everyone's benefit.
I think licensing is an issue that needs to be rethought, and that compiler strategy not it. There are countries were the Berne Convention doesn't apply for example, and a couple where copyright doesn't exist. If you deploy a contract from these countries, it's permanently in the blockchain. Who to enforce it with?
I would love royalties baked into Ethereum contracts. Instead of being a punitive thing, encourage competition for boilerplate adoption. Consensys found out the hard way what happens when the ICO fad dies. Need consistent revenue for development.