aboutsummaryrefslogtreecommitdiffstats
path: root/packages/metacoin/test/utils/deployer.ts
blob: 5a631fa0a44125d29643cbdf882ae2c2d72bb2a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Deployer } from '@0xproject/deployer';
import { devConstants } from '@0xproject/dev-utils';
import * as path from 'path';

import { config } from './config';
import { web3Wrapper } from './web3_wrapper';

const deployerOpts = {
    provider: web3Wrapper.getProvider(),
    artifactsDir: config.artifactsDir,
    networkId: config.networkId,
    defaults: {
        from: devConstants.TESTRPC_FIRST_ADDRESS,
    },
};

export const deployer = new Deployer(deployerOpts);