Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.02 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.02 KB

Super Artifacts

Superblocks npm

Truffle plugin to be used with Superblocks CI. This plugin enables capturing deployment artifacts and pushing them to the Superblocks platform.

Usage

  1. Install the npm package by running

     npm install super-artifacts
    
  2. Add the plugin to your truffle config file

     module.exports = {
         plugins: ["super-artifacts"],
         ...
    
  3. Enable artifacts collection in the Superblocks provider by adding the following flag*:

     saveArtifacts: 'true'
    

    for example:

     new ManualSignProvider({ 
                   networkId: '4',
                   saveArtifacts: 'true',
                   ...
    

    *You need at least version 0.0.18 of super-web3-provider to use this plugin