diff options
Diffstat (limited to 'packages/instant/src/util/asset_buyer.ts')
-rw-r--r-- | packages/instant/src/util/asset_buyer.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/instant/src/util/asset_buyer.ts b/packages/instant/src/util/asset_buyer.ts new file mode 100644 index 000000000..27d66d600 --- /dev/null +++ b/packages/instant/src/util/asset_buyer.ts @@ -0,0 +1,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); |