OpenST / brandedtoken-contracts

Token and related smart contracts for token economies
Apache License 2.0
17 stars 12 forks source link

Publish metadata of contracts while publishing package #180

Open abhayks1 opened 4 years ago

abhayks1 commented 4 years ago

Problem

For compilation of contracts, publisher global truffle version is used. This is a problem since truffle global version can be different everytime mosaic contracts npm is published.

"compile": "truffle compile",

Solution

Use node modules truffle version for contracts compilation

"compile": "./node_modules/.bin/truffle compile",

Problem

Contracts are being compiled on different compiler version

Proposed Solution

Publish metadata of contracts when publishing package