walletconnect / walletconnectswift Goto Github PK
View Code? Open in Web Editor NEWWalletConnect Swift SDK
License: MIT License
WalletConnect Swift SDK
License: MIT License
I have successfully connected to metamask, and rainbow etc...
Is there anyway I can connect to safepal?
Thank you in advance.
After discussion with @DmitryBespalov we decided to merge these classes to have everything in one place.
popup is coming while connecting wallet in metamask. But in case of eth_sendTransaction
, popup is not coming in metamask. In Android, it works fine.
Hi,
I have a few crashes into the Server class cuz you use force unwrap for weak var delegate
public private(set) weak var delegate: ServerDelegate!
Please make it optional. It allows avoiding a crash when delegate already destroeyed
I call the func self.server.disconnect(from: session)
, but it still logs these:
WC: didDisconnect url: https://bridge.walletconnect.org
WC: trying to reconnect session by url: https://bridge.walletconnect.org
WC: didConnect url: https://bridge.walletconnect.org
WC: ==> {"payload":"","topic":"66396782-A690-4888-9AD9-F74A70403E7D","type":"sub"}
WC: didDisconnect url: https://bridge.walletconnect.org
WC: trying to reconnect session by url: https://bridge.walletconnect.org
WC: didConnect url: https://bridge.walletconnect.org
WC: ==> {"payload":"","topic":"66396782-A690-4888-9AD9-F74A70403E7D","type":"sub"}
Was trying to use wallet connect to get account data from trust wallet, however the request sent from wallet connect doesn't seem to work, trust wallet opens a screen with Something went wrong.
Below is the URL thats being created and used to open Trust wallet:
wc:46278999-4477-46FF-88D1-947FADDC979B@1?bridge=https%3A%2F%2Fbridge.walletconnect.org&key=127820ed39c533dcce56d33b6820cdceabe7692ed00094be492191199f027d39
Error Screenshot url : https://ibb.co/qy8cwzg
Any help would be highly appreciated.
For each case, create an example to test the integration.
Hello,
I have followed the documentation. I am trying to connect to MetaMask with the latest Example Client App from this Repo. However once MetaMask opens nothing else happens.
Is there known good code I can see so I can connect correctly...?
Thanks.
Using this SDK
After I call open URL it redirects to the MetaMask then does nothing. Is there a missing step to have it connect and return to the parent app?
I call eth_getTransactionCount to get nonce number for send transaction but it not working.
It works fine in 14.4, but on newly released 14.5, connection fails. Delegate's client(_ client: Client, didFailToConnect url: WCURL) gets called. It happens in both simulator and device.
Please publish in comments links to projects using this library. We will include them in the readme file.
I am connecting Metamask wallet from my app using WalletConnectSwift and get the wallet address successfully. (For connecting, the User is navigated to Metamask for connect)
But now I am trying to send_ethTransaction from my app, I want to redirect the Metamask app for approval same as connection flow.
How can I do it?
Used WalletConnect on L1 to move some SNX into L2... now I can't do anything... please help!
Hi, my name is Taha. I'm coding with SwiftUI. I choose to use WalletConnect library but looks like it was written in UIKit. How can i use this library in SwiftUI?
Hey there,
I'm using your Client app that deploys a "wc://wc?uri=..." deep link. If there is no Server app on my iPhone, a MetaMask Wallet mobile app is evoked (I assume they just subscribed to the "wc://" schema).
But the Client app fails to connect to MetaMask Wallet app consistently. How can I fix this?
In fact, my app needs the user to cryptographically sign a message, so I need to connect to the MM wallet app and receive a signed message back.
Thanks!
Currently the SDK only supports legacy transactions. It needs to support EIP-2718 typed transaction envelope to support transactions for EIP-1559
Hey there! Sorry for throwing a noob question in here, but are there any examples of using the client library to connect to a different mobile wallet, like Rainbow wallet?
I can't seem to figure out how to configure the lib to work with servers other than the mock wallet supplied by this lib. I'm happy to submit a little PR to add a code snippet to the README as well once this question gets answered!
Thank you for any help
Using bridgeURL - https://safe-walletconnect.gnosis.io
and metamask deep link https://metamask.app.link/wc?uri=wc
yet MetaMask mobile rarely opens the prompt to allow permission to connect. It seems to be flaky and works less than it doesn't. Whats going on
Using the ClientApp
in ExampleApps to connect is not working correctly with the two wallets I have installed on device (Metamask & Rainbow)
If I force it show the QRCode, screenshot it, and then open Rainbow, the flow works. But the deeplinking just opens Metamask, but nothing happens within Metamask.
I fund there was no response when I ran the example project by clicking the "eth_sendTransaction" and "eth_signTypedData" button:
Is it possible to send the RPC URL to the client, some clients are not working properly without an RPC URL coming from the provider.
For instance, when I connect to Uniswap I can see in the logs of uniswap that the RPC endpoint is wrong thus it shows unsupported wallet.
Edit: It might be issue from uniswap side as well, so please correct me if I am wrong
Thanks
Hello,
is it possible to lower minimum requirement of library to iOS 11, or 11.3?
Please kindly help me with details of information about why my Trust Wallet can't get connected. Thanks
Hello,
Is it possible for someone to give me an example of handling "eth_signedTransaction", such that Dapp sees that transaction is sent.
I'm wondering why is there so much code in the example part of the proyect, shouldn't ideally be way more code in the lib itself? If you compare it with for example web3.js where you need like only 1 line of code to call an authentication.
Hitting "Connect to WalletConnect" opens Metamask, but the connect modal is never shown.
If I specify Rainbow as the target wallet, the same things happens, no modal.
Version 12.4 (12D4e)
Device: iOS 14.4.1
Possible related: #49
I want to connect metamask with this wallet connect SDK, its open metamsk with the example client app but connection request pop up not open metamask. ios 14.3 and 14.5 both version device checking, it's not working. Kindly, please help.
Hello, I am currently experiencing a conflict with the Starscream library. When a library supports version 3, I will not be able to install it
Hello everyone!
During the testing, I got the case when transaction requests weren't delivered to a device. Who knows anything about that? Is it the typical case or not? Moreover, sometimes the balance of assets is incorrect in the dapps.
I found an issue compiling the example program in Xcode 13.1.
The issue can be solved by adding the following to the dependencies section in the Package.swift file:
.package(url: "https://github.com/Boilertalk/secp256k1.swift.git", from: "0.1.0"),
.package(url: "[email protected]:apple/swift-nio-zlib-support.git", from: "1.0.0"),
I would have fixed it myself but don't think I have the ability to do a PR on the repo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.