@truffle-types/abi-minifier
TypeScript icon, indicating that this package has built-in type declarations

0.1.13 • Public • Published

ABI minifier (abi-minifier)

Command, for example:

./abi-minifier --buildDir ./build/contracts --outputDir ./build/contracts-minified

where

  • --buildDir or -b - directory where truffle (or compiler) places compiled contract (abi + bytecode + networks + etc.)
  • --outputDir or -o - directory where minified versions of compiled contracts will be stored

By default no postfix will be added, so contract filenames remain the same.


For more options take a look at

./abi-minifier --help

Library

This package could be also used as a library of tool to access from source code

const { minifyABI } = require("@truffle-types/abi-minifier");

minifyABI("./build/contracts", "./build/contracts-minified");

Readme

Keywords

none

Package Sidebar

Install

npm i @truffle-types/abi-minifier

Weekly Downloads

7

Version

0.1.13

License

MIT

Unpacked Size

6.94 kB

Total Files

11

Last publish

Collaborators

  • alesanro
  • be1box