* generate wrappers in @0x/contract-wrappers and delete abi-gen-wrappers * trim exports from contract-wrappers * separate contract-wrappers tests to get rid of dependency cycle * remove dummy token contracts * temporarily skip coordinator test until we can upgrade coordinator server
13 lines
462 B
TypeScript
13 lines
462 B
TypeScript
import { devConstants, web3Factory } from '@0x/dev-utils';
|
|
import { Web3ProviderEngine } from '@0x/subproviders';
|
|
import { Web3Wrapper } from '@0x/web3-wrapper';
|
|
|
|
const txDefaults = {
|
|
from: devConstants.TESTRPC_FIRST_ADDRESS,
|
|
gas: devConstants.GAS_LIMIT,
|
|
};
|
|
const provider: Web3ProviderEngine = web3Factory.getRpcProvider({ shouldUseInProcessGanache: true });
|
|
const web3Wrapper = new Web3Wrapper(provider);
|
|
|
|
export { provider, web3Wrapper, txDefaults };
|