-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
relay-kit
not working when using latest version of web3auth/modal
. Plans on upgrading auth-kit
deps?
#551
Comments
relay-kit
not working when using latest version of web3auth/modal
. Plans on upgrading auth-kit deps?relay-kit
not working when using latest version of web3auth/modal
. Plans on upgrading auth-kit
deps?
Hey @paro-paro, currently we are under a development of a better web3auth integration to create a better product and we have no plans to upgrade the packages in the current pack as it is going to be revamped. Mentioned here as well. The issue you are mentioning is indeed related to this revamp. When we finish this development, all the kits should work and play nicely together |
Hi @yagopv Thanks for the reply. Glad you guys are working on a new revamped version of the auth kit. But I was still wondering if the current issue with the relay kit is indeed due to the change in the eip provider returned from |
Hey @paro-paro, probably yes I created this sandbox with your code and is working fine for me. So the relay-kit is working fine |
Hi @yagopv I believe you are using the Not the one returned by the latest version of I just re-checked and the Here is a simple reproduction repo
|
The main reason why I am very interested in this issue being solved is because I am working on a dapp that already integrates So I want to leverage just the protocol and relay kits for account abstraction. And do not be forced to use the auth-kit or to downgrade web3auth packages. I guess this is (will be) a very common scenario when adapting dapps for AA support. |
Hey @paro-paro. Yes, my code example was intended because i wanted to test if the issue was with the It seems that the underlying (EIP1193) provider they return has some kind of compatibility issue and the Gelato transaction is returning a GS026 (Invalid owner signing on Safe contract). This is difficult to debug and i'm currently having issues with the provider they are using in the new integration as well (My two cents is an incompatible interface with ethers and web3 libs) I was testing your example and the problem seems to be related to typed data signing but if you change the signing method type in the
If it works, please use this method until we have the new integration in place that should play nicely with the other kits |
Hey @yagopv 👋🏼. Is there a PR which we could use follow the status of your progress on this? |
It works!!!! What a relief! Thank you very much for taking the time to check this out and finding a solution @yagopv Keep up the amazing work and big thanks! |
There are several tickets @danielsimao. You can find them searching for "[Web3Auth Safe Signer]" in the issue title |
Hi!
First of all, congrats on this amazing service for integrating account abstraction into web (d)apps. It's quite amazing.
My first test integration using the
auth-kit
,protocol-kit
andrelay-kit (sync-fee)
is working perfectly fine.But then I realise that the
auth-kit
is using "very" deprecated dependencies from web3auth:auth-kit
install will throw up to 32 deprecated subdependencies.wallet-connect-v1
and does not supportv2
.v7.x
. Theauth-kit
versions at 4.xSo... I tried removing the
auth-kit
and manually integrate theweb3auth/modal
latest version.After this, all the aboved issues where solved and the
protocol-kit
was still working nicely. But I was not able to make therelay-kit (sync-fee)
work again.Getting this constant error when relaying the tx:
My code snippet:
I noticed that after the upgrade in the
web3auth/modal
package the returned provider was different. Latest version will return an internalCommonJRPCProvider
instance and the version used by theauth-kit
will return a js proxy (either way, I believe they are both EIP-1193 compliance).I was then wondering if the issue is related to the
provider.getSigner()
method due to the provider change?Or maybe something else?
I have also noticed that the openlogin-google redirection opens a
https://beta.web3auth... url
when using theweb3auth/modal
v4.x
and ahttps://auth.web3auth... url
when using thelatest version
. Also, there are significant differences between what is stored in the browser local storage, session storage, etc when using one version or another.Here you can find my complete reproduction repo in case is helpful.
Maybe related issue:
So... any help or clarification will be really appreciated.
Thanks in advanced and sorry for the long text!
The text was updated successfully, but these errors were encountered: