Flatten contract source using CLI
See original GitHub issueOverview
Currently, Brownie doesn’t provide a way to flattening smart contracts. Feature for flattening smart contracts can be a way for testing contracts with Brownie, while deploying them using another tool. Also, it can simplify the tasks required for verifying an smart contract on the Etherscan.
Specification
For the CLI following simple argument can be used:
brownie --flatten
Dependencies
#411 is related to this issue. Because, probably flattening smart contracts (written in Solidity) will make it easier to verify them on Etherscan.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to flatten and verify a smart contract using OpenZeppelin ...
This guide uses flattening for verification, but we recommend doing multifile verification as it is easier to read, maintains licenses and ...
Read more >etherlime flatten - GitBook
Running this command will flatten the given smart contract and will record all Solidity code in one file along with imported sources. It...
Read more >Flattening Contracts and Debugging with Remix - SitePoint
Flattening a smart contract refers to combining all Solidity code in one file instead of multiple source files such that, instead of having ......
Read more >etherlime flatten - Read the Docs
Running this command will flatten the given smart contract and will record all Solidity code in one file along with imported sources. It...
Read more >VSCode Solidity Contract Flattener - Visual Studio Marketplace
select files, right-click -> Solidity: flatten selected file(s); or cmd + shift + p -> Solidity Flattener - flatten current file . context-menu ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@matnad looks like ‘flattened_source’ is no longer available in 1.17.0?