• Stars
    star
    374
  • Rank 114,346 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
TypeScript
7,179
star
2

hardhat-boilerplate

JavaScript
1,109
star
3

slang

Solidity compiler tooling by @NomicFoundation
Rust
235
star
4

hardhat-vscode

Solidity and Hardhat support for Visual Studio Code
TypeScript
171
star
5

hardhat-ignition

Hardhat Ignition is a declarative deployment system that enables you to deploy your smart contracts without navigating the mechanics of the deployment process.
TypeScript
104
star
6

hardhat-ts-plugin-boilerplate

Hardhat TypeScript plugin boilerplate
TypeScript
87
star
7

edr

An Ethereum development runtime implementation that can be reused to build new developer tools.
TypeScript
46
star
8

solidity-analyzer

An N-API module to extract version pragma and imports from Solidity sources
JavaScript
17
star
9

hardhat-ignition-examples

How to use Hardhat Ignition
JavaScript
12
star
10

ethereum-hackathon-setup-checker

This project lets you check if your development environment is ready for an Ethereum hackaton
JavaScript
7
star
11

solidity-without-gitattributes

This repository shows that .sol files are automatically treated as Solidity now
Solidity
5
star
12

hardhat-vscode-feedback

A repository to collect feedback about Hardhat VSCode during its beta program
4
star
13

buidler-etherscan

Buidler plugin for verifying contracts on Etherscan
TypeScript
4
star
14

hardhat-waffle

TypeScript
4
star
15

vyper-releases-mirror

A mirror of the Vyper language releases
JavaScript
3
star
16

buidler-truffle5

Buidler plugin for integration with TruffleContract from Truffle 5
3
star
17

buidler-ethers

Buidler plugin for using ethers.js
3
star
18

buidler-web3

Buidler plugin for using Web3 1.x
2
star
19

solidity-debugging-symbols-pocs

2
star
20

buidler-web3-legacy

Buidler plugin for using Web3 0.20.x
2
star
21

buidler-truffle4

Buidler plugin for integration with TruffleContract from Truffle 4
2
star
22

github-actions-workflows

Reusable Github Actions workflows
2
star
23

buidler-solhint

Buidler plugin for running solhint
1
star
24

buidler-solpp

Buidler plugin that integrates the solpp preprocessor into your workflow
1
star
25

github-linear-bridge-tests

This is a sample repository to test our Github and Linear integration
1
star
26

github-linear-bridge

TypeScript
1
star
27

buidler-docker-solc

Buidler plugin to optimize the Solidity compilation process by executing solc via Docker
1
star
28

smoke-tests-vscode

Manual smoke tests used during the release process
Solidity
1
star
29

edr-benchmark-results

EDR benchmark results
1
star