SwaprHQ / swapr-dapp

DEX meta agregator
https://swapr.eth.limo/
GNU General Public License v3.0
49 stars 58 forks source link

1Inch Eco Router #1684

Closed Mi-Lan closed 1 year ago

Mi-Lan commented 1 year ago

This pull request (PR) includes an implementation that adds support for the 1inch aggregation protocol to the swapr-sdk eco router. This is a two-part implementation, with the second part being found in the PR here on the sdk repo: https://github.com/ImpeccableHQ/swapr-sdk/pull/254.

To test the implementation, follow these steps 👍

1) Go to the swapbox. 2) Input an amount of currency from the list of supported tokens found in the 1inch documentation: https://docs.1inch.io/docs/aggregation-protocol/api/swagger. 3) You should see 1inch as an option in the ecoRouter. Note: This implementation supports the following chains: MAINNET, ARBITRUM_ONE, POLYGON, OPTIMISM_MAINNET, GNOSIS, BSC_MAINNET.

Here is a screenshot of how it should look

Screenshot 2023-01-24 at 18 23 54

netlify[bot] commented 1 year ago

Deploy Preview for swapr ready!

Name Link
Latest commit 2b858bbc8dd64b3378ac12d25cb946a1b3c7155a
Latest deploy log https://app.netlify.com/sites/swapr/deploys/63d99448d84adc00083a56c5
Deploy Preview https://deploy-preview-1684--swapr.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

MilanVojnovic95 commented 1 year ago

Tested. Wherever I try to do the swap I get this message, also 1inch is missing in the animation when the swap button is in loading mode.

image

Mi-Lan commented 1 year ago

@MilanVojnovic95 Could you test it again it should work now