RiskProtocol / core-protocol

1 stars 0 forks source link

Research: How to add new source of liquidity to 0x #125

Open mz7mz7mz7 opened 1 year ago

mz7mz7mz7 commented 1 year ago

For example if we would deploy our own version of Balancer v1 AMM contracts on, say Polygon, how can we make 0x to support it and use as a source of liquidity?

From https://0x.org/docs/0x-swap-api/guides/providing-amm-liquidity-to-swap-api looks like this is a manual process, we need to apply to 0x through this form https://docs.google.com/forms/d/e/1FAIpQLSf9Xw5M4I8c2Kw1mTkc5LsucrT_3pRuJ6O6RRHPPvn9EXL1tQ/viewform

FYI: @haidarally , @Tunji17

haidarally commented 11 months ago

As much as i could find, there seem to be no alternatives to the manual process.

`When integrating a new AMM source on a chain we look at 2 dimensions :

These are the 2 values 0x seeks before adding a new liquidiy source to the SWAP API

Note: SWAP API code is closed The opensource API codebase is now deprecated: https://github.com/0xProject/0x-api#%EF%B8%8F-deprecation-notice-%EF%B8%8F https://discord.com/channels/435912040142602260/1007735695093284997/1079880581023801404