{"id":21180218,"url":"https://github.com/nomicfoundation/truffle-flattener","last_synced_at":"2025-04-05T04:14:54.480Z","repository":{"id":37091559,"uuid":"108322113","full_name":"NomicFoundation/truffle-flattener","owner":"NomicFoundation","description":"Truffle Flattener concats solidity files from Truffle and Buidler projects with all of their dependencies","archived":false,"fork":false,"pushed_at":"2023-07-13T05:34:47.000Z","size":341,"stargazers_count":375,"open_issues_count":4,"forks_count":98,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-01T03:34:58.661Z","etag":null,"topics":["buidler","ethereum","smart-contracts","solidity","truffle"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NomicFoundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-10-25T20:25:10.000Z","updated_at":"2025-03-18T02:05:41.000Z","dependencies_parsed_at":"2023-02-17T14:30:26.127Z","dependency_job_id":"9585a8a7-6220-488b-9d3c-3a970f953dba","html_url":"https://github.com/NomicFoundation/truffle-flattener","commit_stats":{"total_commits":76,"total_committers":21,"mean_commits":3.619047619047619,"dds":0.4736842105263158,"last_synced_commit":"abaffe4384479aefab88a0e54fb9f8a05b41b929"},"previous_names":["nomiclabs/truffle-flattener"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NomicFoundation%2Ftruffle-flattener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NomicFoundation%2Ftruffle-flattener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NomicFoundation%2Ftruffle-flattener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NomicFoundation%2Ftruffle-flattener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NomicFoundation","download_url":"https://codeload.github.com/NomicFoundation/truffle-flattener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284954,"owners_count":20913704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buidler","ethereum","smart-contracts","solidity","truffle"],"created_at":"2024-11-20T17:42:07.448Z","updated_at":"2025-04-05T04:14:54.458Z","avatar_url":"https://github.com/NomicFoundation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# truffle-flattener\n\n[![npm](https://img.shields.io/npm/v/truffle-flattener.svg)](https://www.npmjs.com/package/truffle-flattener)\n\nTruffle Flattener concats solidity files from Truffle and Buidler projects \nwith all of their dependencies.\n\nThis tool helps you to verify contracts developed with Truffle and Buidler \non [Etherscan](https://etherscan.io), or debugging them on\n[Remix](https://remix.ethereum.org), by merging your files and their\ndependencies in the right order.\n\nIf you are still using Truffle, we recommend you try [Buidler](https://github.com/nomiclabs/buidler), \nour Ethereum development environment, which is much faster and flexible.\n\n# Hardhat support\n\nIf you are using Hardhat, you don't need this project. Use `npx hardhat flatten` instead.\n\n## Installation\n\n`npm install truffle-flattener -g`\n\n## Usage\n\nJust install it with npm in your truffle project and run\n`truffle-flattener \u003csolidity-files\u003e`.\n\n## Limitations\n\nAliased imports (eg: `import {symbol1 as alias, symbol2} from \"filename\";`) are\nnot supported by `truffle-flattener`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomicfoundation%2Ftruffle-flattener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnomicfoundation%2Ftruffle-flattener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomicfoundation%2Ftruffle-flattener/lists"}