Embark plugin to flatten and verify solidity contracts on Etherscan
Go to file
Jonathan Rainville 1e473f18ca
Merge pull request #2 from embark-framework/feat/add-verifier
Add verify command
2019-01-23 14:37:56 -05:00
lib remove commented code 2019-01-21 09:04:26 -05:00
.eslintrc.json initial commit 2019-01-16 14:11:44 -05:00
.gitignore initial commit 2019-01-16 14:11:44 -05:00
README.md add usage to readme 2019-01-17 10:46:00 -05:00
index.js use network id to get the network url 2019-01-18 15:19:49 -05:00
package.json send request to verify 2019-01-18 14:26:37 -05:00
yarn.lock send request to verify 2019-01-18 14:26:37 -05:00

README.md

Embark-Flattener

Plugin for Embark to flatten contracts so that they can be verified on Etherscan

Installation

In your Embark dapp directory:

npm install embark-solc --save

then add embark-flattener to the plugins section in embark.json:

  "plugins": {
    "embark-flattener": {}
  }

Usage

In the console, type flatten or flatten ContractName(s)

  • flatten: Flattens all contracts
  • flatten ContractName(s): Flattens the specified contract(s). For multiple contracts, separate them using a comma.

Requirements

  • Embark 4.0.0 or higher