1.6.0 • Published 2 years ago

truffle-flattener v1.6.0

Weekly downloads
14,266
License
MIT
Repository
github
Last release
2 years ago

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.

Hardhat support

If you are using Hardhat, you don't need this project. Use npx hardhat flatten instead.

Installation

npm install truffle-flattener -g

Usage

Just install 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.

@poofcash/poof-coreliquidity-provider-sc@spongeswap-libs/sponge-swap-core@lydiaswap/pancake-swap-core@aliumswap/alium-swap-core@bamboo-defi/bamboo-defi-core@bamboo-defi/bamboodefi-core-testtest-swap@sansfinance/sans-coredashabi-farm@radar/set-protocol-contracts@sonicswap/core-dev@sonicswap/core-final@bscsswap/core@miuswap/miu-swap-corealpes-smart@finaswap/fina-swap-core@qdexgo/core-contracts@fathomswap-libs/fathom-swap-core@f8n/openzeppelin-upgrades@versagames/versa-swap-core@versaswap-libs/pancake-swap-core@versaswap-libs/versa-swap-core@versaswap-libs/versa-swap-core-test@pulsex/core@67p/aragon-cli@dolomite-exchange/v2-protocol@infinitebrahmanuniverse/nolb-tru@tangleswap/tangleswap-core@everything-registry/sub-chunk-2974koobor-tokengobitswap-libs-corenew-meaga-testlnaga-swap-coremaki-swap-peripherymakiswap-core@spherex-xyz/poolz-helper-v2eat-them-all-contractseasybake-swap-peripheryeasybake-swap-coreerc20-token-vestinggoswap-coregabi-cli@tulipswap/tulip-swap-farmsptrade-swap-coreosaragonpixiu-swap-corepixiuswap-libs-sdkpoolz-helper-v2poolz-hodlers-whitelistpoolz-multi-withdrawpoolz-whitelistpoolz-backpoolz-benefitpoolz-envelop-tokenpoolz-helperoxford-defi-coreoswap-core-testpdex-swap-corepeoples-swap-coreset-protocol-contract-utilsset-protocol-contractsset-protocol-oraclesset-protocol-strategiesset-protocol-viewers@duhd4h/global-swap-core@dx-gov-test/dxdao-contracts@gemswap-libs/gem-swap-core@gooddollar/goodcontracts@graphprotocol/everest-contracts@europa-finance/europa-finance-core@everflowswap/everflow-swap-core@etherflyer-libs/etherflyer-core@etherisc/gif@envoys-libs-codyua/envoys-swap-core@envoysvision/envoys-swap-core@equixswap/equixswap-core@eggswap/core@gnosis.pm/conditional-tokens-market-makers@ensdomains/ethregistrar@ensdomains/hackathon-registrar@encodix/discoswap-core@gravyswap/gravy-swap-core@gravyswap/gravyswap-core@froyoswap-libs/froyo-swap-core@flareswap/pancake-swap-core@flash-swap/flash-swap-core@hubdao-finance/hubdao-core@hulkfinance/hulk-swap-core@igniswap/igni-swap-core@fuzzfinance-libs/fuzz-swap-core@galaxyfarms/core@frenchkiss-libs/frenchkiss-finance-coreverify-on-etherscanupgrades@juiceswap/core@juiceswap/v2-core@julswap/v1-core@kafeswap-libs/kafe-swap-core@kafeswap-libs/kafeswap-swap-core
1.6.0

2 years ago

1.5.0

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.12

5 years ago

1.2.11

5 years ago

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago