jediswaplabs / jediswap-v2-interface

GNU General Public License v3.0
6 stars 5 forks source link

Unable to swap on a new not-activated wallet #212

Open iamoskvin opened 4 months ago

iamoskvin commented 4 months ago

Description

I registered a new argent wallet and topped it up with ETH. Then I am trying to swap and see "insufficient liquidity" . This is a bug.

rohitgoyal commented 4 months ago

The issue happens because we use the user's account to simulate the call. The simulation is giving the error "contract is not found" since the account contract has not been deployed yet.

Let me ask the Argent group what should be the right step here.

rohitgoyal commented 4 months ago

@vnaysngh-mudrex Is it possible to get the quotes using a different account instead of user account?

iamoskvin commented 4 months ago

@vnaysngh-mudrex Is it possible to get the quotes using a different account instead of user account?

I think myswap does it this way. image