Smart contract compilation artifacts for Polymath v3.1.0
yarn add @polymathnetwork/contract-artifacts
Import
import * as artifacts from "@polymathnetwork/contract-artifacts";
or
var artifacts = require("@polymathnetwork/contract-artifacts");
We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.
If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:
yarn config set workspaces-experimental true
Then install dependencies
yarn install
Python3.5 required
cd scripts
python3 abiReducer.py ../unzipArtifacts ../artifacts
To build this package run the following from root directory:
yarn build