0.5.15 • Published 9 months ago

truffle-plugin-stdjsonin v0.5.15

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

truffle-plugin-stdjsonin

A Truffle plugin for generating a flat Solidity Json Input file.

The Solidity Json Input format is preferred over flattening your files during verification on Etherscan as it :

  • preserves code formatting
  • maintains multipart files
  • embeds compiler settings, including optimization and bytecodehash

Installation

  1. Install the plugin using npm
    yarn add -D truffle-plugin-stdjsonin
  2. Add the plugin to your truffle-config.js file

    module.exports = {
      /* ... rest of truffle-config */
    
      plugins: [
       'truffle-plugin-stdjsonin'
      ]
    }

Usage

  1. Run the plugin on your specified contract name
    truffle run stdjsonin ContractName
    A ContractName-Input.json file is generated in your project directory.
0.5.15

9 months ago

0.5.14

9 months ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago