aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util/asset_buyer.ts
blob: 6855fbcabaffd7465f78aa761db14a9112075967 (plain) (blame)
1
2
3
4
5
6
7
8
9
import { AssetBuyer } from '@0x/asset-buyer';

import { sraApiUrl } from '../constants';

import { getProvider } from './provider';

const provider = getProvider();

export const assetBuyer = AssetBuyer.getAssetBuyerForStandardRelayerAPIUrl(provider, sraApiUrl);