Skip to content

Truffle Flattener concats solidity files developed under Truffle with all of their dependencies

License

Notifications You must be signed in to change notification settings

NFNNLN/truffle-flattener

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

truffle-flattener

Truffle Flattener concats solidity files developed under Truffle with all of their dependencies.

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

Installation

npm install truffle-flattener -g

Usage

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

This project is a Truffle specific reimplementation of Solidity Flattener. By being closely coupled to Truffle it can take advantage of its dependencies resolution logic making --solc-paths a thing of the past. It also supports flattening more than one file at once, concatenating everything in the right order, whithout duplicating any file.

About

Truffle Flattener concats solidity files developed under Truffle with all of their dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%