Metadata-Version: 2.1
Name: solidity-unfolder
Version: 1.0.1
Summary: A Python package to unfold soldity code with imports into a single file.
Home-page: https://github.com/Jy-Liu/solidity-unfolder
Author: Jun-You Liu
Author-email: junyouliu9@gmail.com
License: MIT
Description: # Solidity Unfolder
        
        Unfolds all local imports in a solidity file to generate a flat solidity file.
        
        
        ## Introduction
        Manually combining all imports in a solidity file when verifying your contract source on [Etherscan](https://etherscan.io) is time-consuming and cumbersome. This tool automatically traverses the dependency graph of imports and combines them in the correct order, which is ready to be pasted into the contract verifier.
        
        > NOTE: This tool won't work with imports that are aliased (i.e. import "./foo.sol" as bar; )
        
        
        ## Installation
        
        There's no any requirements for this tool.
        
        ```
        pip install solidity-unfolder
        ```
        
        
        ## Usage
        
        ```
        usage: solu [-h] [-o *.sol] *.sol *.*.*
        
        Unfolds all local imports in a solidity file to generate a flat solidity file.
        Put the output file into out/ folders.
        
        positional arguments:
          *.sol                 target filename with imports
          *.*.*                 solidity compiler version e.g. 0.4.24
        
        optional arguments:
          -h, --help            show this help message and exit
          -o *.sol, --output *.sol
                                output filename (default: flat.sol)
        ```
        
        
        ## 	Contact
        Feel free to [contact me](mailto:junyouliu9@gmail.com) if there's any problems. And welcome to open issues and send pull requests.
        
        Inspired by [BlockCatIO](https://github.com/BlockCatIO/solidity-flattener)
        
        ### License
        
        MIT License (2018), Jun-You Liu
        
Keywords: soldity solidity-unfolder solidity-flattener               smart-contracts ethereum
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3
Description-Content-Type: text/markdown
