galacticcouncil / hydration-ui

8 stars 12 forks source link

WalletConnect + Multix issue: getting error while trying to do cross-chain transfer from Polkadot to Hydration #1595

Open muddlebee opened 2 months ago

muddlebee commented 2 months ago

Getting error while trying to do cross-chain transfer from Polkadot to Hydration using multix+walletconnect

  1. Connect your multix+walletconnect
  2. Goto https://app.hydration.net/cross-chain
  3. Click on Transfer, then the error appears as below

image

muddlebee commented 2 months ago

but the option to Sign is appearing in Multix

image

muddlebee commented 2 months ago

and for better context

Tbaut commented 2 months ago

Thank you for the issue, this is fine, the TX will be submitted by Multix! I need to find out with the hydration team to see how to make the experience better. If you submit the Tx with Multix, and it's signed by other signatories, then it'll be all good.

muddlebee commented 2 months ago

I was doing cross-chain transfer with 0.1 DOT which is below the threshold I guess. worked with more amount.. a more meaningful error in Hydradx will be handy..

Although the error message still appears after a succesful cross-chain transfer,..

Tbaut commented 2 months ago

I don't think Hydration has any way to know about the error at this stage. It's really any tx that results in this error screen IMHO although it's actually successfully passed to Multix.

muddlebee commented 1 month ago

@Tbaut so I had to re-connect walletConnect sessions two times for multisig account

can we somehow make this experience better? I find it little painful to use multisigs currently haha :D Lovely app multix btw ❤️

for the average retail user, it feels like a struggle to setup cross-chain multisig and understand the flow in hydration @jak-pan if we can add a section in docs it will be great :)

jak-pan commented 1 month ago

@Tbaut so I had to re-connect walletConnect sessions two times for multisig account

  • connect once for cross chain transfer of Polkadot to Hydration
  • disconnect and connect once again for Hydration swaps

can we somehow make this experience better? I find it little painful to use multisigs currently haha :D Lovely app multix btw ❤️

for the average retail user, it feels like a struggle to setup cross-chain multisig and understand the flow in hydration @jak-pan if we can add a section in docs it will be great :)

This is specific issue with wallet connect. You connect to two separate chains and we'll need to check if it's supported in the new version https://reown.com/blog/walletconnect-is-now-reown

jak-pan commented 1 month ago

I don't think Hydration has any way to know about the error at this stage. It's really any tx that results in this error screen IMHO although it's actually successfully passed to Multix.

Thank you for the issue, this is fine, the TX will be submitted by Multix! I need to find out with the hydration team to see how to make the experience better. If you submit the Tx with Multix, and it's signed by other signatories, then it'll be all good.

Do you have any susggestions here?

Tbaut commented 1 month ago

The only think I'm thinking of is telling the WC maintainers about our use case and hoping they let us implement a flag or some way to explain that the app shouldn't expect any answer. Or maybe that the Dapp could identify the wallet, and if it's a multisig wallet (e.g from a shared list or something) then react differently.