Wondering what’s next for npm?Check out our public roadmap! »

truffle-flattener

1.5.0 • Public • Published

truffle-flattener

npm

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 truffle-flattener -g

Usage

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

Limitations

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

Install

npm i truffle-flattener

DownloadsWeekly Downloads

16,940

Version

1.5.0

License

MIT

Unpacked Size

14 kB

Total Files

13

Last publish

Collaborators

  • avatar