Giter Club home page Giter Club logo

Comments (7)

DmitryBespalov avatar DmitryBespalov commented on September 13, 2024

Can you try this: send the request to the WalletConnect, and then open the metamask-specific / or "wc:" link with any host/uri - the user has to just switch to the Metamask again, and the WalletConnect will work.

https://docs.walletconnect.org/mobile-linking some info on mobile linking, but your question is not addressed there

from walletconnectswift.

pavanmdev avatar pavanmdev commented on September 13, 2024

Can you try this: send the request to the WalletConnect, and then open the metamask-specific / or "wc:" link with any host/uri - the user has to just switch to the Metamask again, and the WalletConnect will work.

https://docs.walletconnect.org/mobile-linking some info on mobile linking, but your question is not addressed there

I have tried it and also open the Metamask with "wc:" link and on completion of opening the app I have triggered send_ethTransaction function but I am not getting any pop-up for approving transaction like connect wallet flow

from walletconnectswift.

sche avatar sche commented on September 13, 2024

@Pavan-Unikwork are you using eth_sendTransaction of Client class?
If yes, then it is strange if Metamask can not get this request. It should work.

from walletconnectswift.

DmitryBespalov avatar DmitryBespalov commented on September 13, 2024

@Pavan-Unikwork I'm attaching the example WalletService class that we used in internal prototype (can't share the prototype because of API secrets in code 🤦 😊 ), maybe it would help you - please take a look at the sendTransaction() method.

The code is under MIT license.

WalletService.swift.txt

from walletconnectswift.

pavanmdev avatar pavanmdev commented on September 13, 2024

Thank you guys.
It's work for me.
Thanks for the support.

from walletconnectswift.

ljs19923 avatar ljs19923 commented on September 13, 2024

Hey guys, Im connected to metamask, I have one active session and I want to call a method of one smartContract opening metamask. Do you have ideas?
Thanks a lot

from walletconnectswift.

ljs19923 avatar ljs19923 commented on September 13, 2024

Capture d’écran 2021-11-30 à 19 02 21

I think I have to use this method but I dont have any ideas of the transaction struct

from walletconnectswift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.