Is there any directory of the core Open Zeppelin Solidity contracts that are flattened into single files? For example, the ERC721.sol contract imports about 5 other files, but it can be helpful for contract validation on etherscan and other places.
Maybe this could its own little library? I get that one big file is less readable but in several situations it can be helpful.
Hmm, no we don’t provide flattened files. But it’s pretty easy to make them yourself by using truffle-flattener for example. It’s what I always use when I need to validate on Etherscan or test something on Remix.
I’d be against having a separate library with flattened files because it will be an added effort to maintain, and more things that can go wrong, or be out of sync, etc.
Can you please offer better documentation then on how to use the flattener in combination with the new oz CLI tool? I am attempting to use it but I have my project setup for using your tools not truffle.