Noteworthy Programming Masterpiece

    @zemse/solidity-flattener

    1.5.1 • Public • Published

    solidity-flattener

    npm

    This is a fork of nomiclabs/truffle-flattener that adds support to any project with a contracts directory. Thanks to the hardwork put together in the original repository.

    Truffle Flattener concats solidity files from Truffle and Buidler projects with all of their dependencies.

    This tool helps you to verify contracts developed with Truffle and Buidler on Etherscan, or debugging them on Remix, by merging your files and their dependencies in the right order.

    If you are still using Truffle, we recommend you try Buidler, our Ethereum development environment, which is much faster and flexible.

    Installation

    npm install @zemse/solidity-flattener -g

    Usage

    Just intall it with npm in your truffle project and run solidity-flattener <solidity-files>.

    Limitations

    Aliased imports (eg: import {symbol1 as alias, symbol2} from "filename";) are not supported by solidity-flattener.

    Install

    npm i @zemse/solidity-flattener

    DownloadsWeekly Downloads

    10

    Version

    1.5.1

    License

    MIT

    Unpacked Size

    72.1 kB

    Total Files

    20

    Last publish

    Collaborators

    • zemse