aboutsummaryrefslogblamecommitdiffstats
path: root/packages/instant/src/util/asset_buyer.ts
blob: 27d66d6002bde6e0722dadc4fd67fbc26c568f55 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                    
                                                                                                
import { AssetBuyer } from '@0xproject/asset-buyer';

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

import { getProvider } from './provider';

const provider = getProvider();

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