safe-global / safe-apps-list

MIT License
20 stars 30 forks source link

Add WOOFi #290

Closed orangechaser closed 7 months ago

orangechaser commented 1 year ago

Revision checks

Name/Description

WOOFi WOOFi is a unique decentralized exchange that bridges the deep liquidity of centralized exchanges on chain. This enables DeFi traders to swap with size and maximize their profits through the lowest swap fee and minimal slippage.

Type

Compatible Networks

- Mainnet
- BNB
- Avalanche
- Fantom
- Polygon
- Arbitrum
- Optimism
- zkSync
- Base
- Polygon zkEVM
- Linea

Audit document

https://learn.woo.org/v/woofi-dev-docs/references/audits-and-bounties

Code for review

https://github.com/woonetwork

IPFS hash/App URL

https://fi.woo.org/

Team information

- Project logo:https://oss.woo.org/static/icons/WOOFi.png
- Project landing page:https://fi.woo.org/
- Team or discord contact:https://discord.com/invite/woonetwork
- Twitter link:https://twitter.com/_WOOFi
- Github link:https://github.com/woonetwork
yagopv commented 1 year ago

Hey @orangechaser thanks for the submission!

The app cannot be loaded as a Custom app due to a CORS error in the manifest.json

image
orangechaser commented 1 year ago

oh,sorry, App URL should be this one: https://fi.woo.org/swap/

yagopv commented 1 year ago

mmm sorry but now it throws an error

image

It seems https://fi.woo.org/swap is making an internal redirect (HTTP 301) to https://fi.woo.org/swap so it cannot be loaded

orangechaser commented 1 year ago

oh, It's weird, I am gonna make devops to check it. thank you.

orangechaser commented 1 year ago

https://app.safe.global/apps/open?safe=eth:0x01438330A81ac0290286ab7E802ACC0a838C33b3&appUrl=https%3A%2F%2Ffi.woo.org%2Fswap/

Hi sir, we can use this link to enter our app on Safe's UI.

orangechaser commented 1 year ago

But we still have a problem. I added https://fi.woo.org/swap/ on Safe's ‘My customer app' UI, and its link is: https://app.safe.global/apps/open?safe=arb1%3A0xD8Cbd7e0693AF1022D1c080aBEA53F0c4C62e6C5&appUrl=https%3A%2F%2Ffi.woo.org%2Fswap

It will lose a '/' at the end of the url and works error.

image

yagopv commented 1 year ago

Hey @orangechaser, we are trimming trailing slashes in the "Add Custom Safe App" dialog as we are doing comparisons between domains in several places for different reasons. Doing it without trimming will bring more issues to the table.

Knowing it works like this, we can review the Safe App and once tested we can add it with the trailing slash in our default list. Anyway, I recommend it should work both with and without trailing. Should be an easy fix for the devops

orangechaser commented 1 year ago

Yes, https://fi.woo.org/swap will auto jump to https://fi.woo.org/swap/ on our site.

orangechaser commented 1 year ago

https://app.safe.global/apps/open?safe=arb1:0xD8Cbd7e0693AF1022D1c080aBEA53F0c4C62e6C5&appUrl=https%3A%2F%2Ffi.woo.org%2Fswap

Hi @yagopv , we fixed the issue. Could we move to the next step?

yagopv commented 1 year ago

Hey thanks!

We cannot fetch the icon from the manifest because is being blocked:

image

I think you have to set the correct MIME type

orangechaser commented 1 year ago

image

Hi, It works on my side. Could you please check it again?

yagopv commented 1 year ago

Ok, no idea why for me is having this problem but asked some coworkers and look like it's me. I'm trying to take a look to the app code but the link is to the organization. Which repo is the Safe App one and if it is a private one could you add me to it in order to review the app?

JagoFigueroa commented 1 year ago

Hi team! I was checking with @yagopv and the app does load for me (these things happen 😆). Could we ask that the app automatically connects to the safe without manually connecting it for the first time?

https://github.com/5afe/safe-apps-list/assets/92332710/00f6bc53-7f57-4ea6-919f-34ae94fc7a3d

Also (this is not a requirement or anything, just in case you would like to change it for better visibility on the list of apps) looks like the app icon will not be too visible using light theme given the white color:

Screenshot 2023-09-18 at 15 24 52

Cheers!

orangechaser commented 1 year ago

@yagopv https://github.com/woonetwork/WooPoolV2, this is all our contracts. And do you need front-end or backend code either?

orangechaser commented 1 year ago

@JagoFigueroa Hi, could you help us to change logo to this one? It should be better. https://oss.woo.org/static/icons/WOOFi.png.

JagoFigueroa commented 1 year ago

@JagoFigueroa Hi, could you help us to change logo to this one? It should be better. https://oss.woo.org/static/icons/WOOFi.png.

Sure! You would need to replace the current one you have on the manifest.json file with that one and you should be golden 😄 Please remember about the auto connect too. Cheers!

orangechaser commented 1 year ago

ok,thanks

orangechaser commented 1 year ago

https://fi.woo.org/swap/manifest.json

Hi sir, we updated the iconpath. image

yagopv commented 1 year ago

@yagopv https://github.com/woonetwork/WooPoolV2, this is all our contracts. And do you need front-end or backend code either?

Frontend!! The Safe App

orangechaser commented 12 months ago

@yagopv https://github.com/woonetwork/woofi_swap_frontend/invitations.

orangechaser commented 11 months ago

@yagopv Hi Yagopv, may I ask what else is needed to have WOOFi listed as a default app on Safe?

yagopv commented 11 months ago

Hey @orangechaser, yes. One of the requirements is that the Safe App autoconnects to the Safe Account as mentioned here

orangechaser commented 11 months ago

Thank you @yagopv. Considering the schedule for our frontend development, we will commence this work in the coming week. Can we list WOOFi on Safe first and then complete the updates?

And If you have any other requirements, please let me know; thanks again.

orangechaser commented 11 months ago

We are using the full BlockNative wallet service, and I noticed that Curve is doing the same. It seems that they may not support autoconnects. Would you happen to have any suggestions about that? Thank you.

image
yagopv commented 11 months ago

Hey @orangechaser sorry, we are currently having a delay reviewing safe apps. We’ll get into it again as soon as possible

Regarding your comment, as you are using wagmi right?, you can found some docs here about how to autoconnect

orangechaser commented 10 months ago

No, we use Blocknative + web3.js

yagopv commented 8 months ago

Hey @orangechaser. We are restarting with the reviews. I checked the app and is still not autoconnecting. Did you try to fix this?

Sorry for this long delay in the review

orangechaser commented 1 month ago

https://fi.woo.org/swap

Does it auto-connect? Every time I log in, it will automatically connect to my safe address.