-
Notifications
You must be signed in to change notification settings - Fork 428
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
WebView: Dapp & Connect Wallet #264
Comments
Hi @phr85 . Maybe |
Hello @AntonGrigorevSecurrency, thank you very much for you answer. I'm not really sure how I could bind this and what kind of params I will receive inside function: I play around a lot and I guess it should be something like this:
|
I found out that our Dapp is calling getAccounts, which web3swift in webview returns. Our Dapp try to access "accounts[0]" and stops. I wonder why. I also tried in Safari Inspector to access first account of getAccounts() but I didn't get result. |
The issue was in our Dapp and not in the library. |
Dear Community
I'm using the Example WKWebView with injected "web3swift".
Our Android Developer using TrustWallet (AlphaWallet) Dapp Component and he can connect his wallet to our custom Dapp widget.
I'm trying the same on iOS, but without luck:
He told me we have to use "signPersonalMessage (web3.eth.personal.sign)" instead of "signMessage (web3.eth.sign)".
Does anyone know how to extend WebView bridge with this function?
Bests & thank you in advance
Philippe
The text was updated successfully, but these errors were encountered: