Skip to content
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

BTC chain doesn't connect #311

Open
AmjadKhan2k18 opened this issue Aug 19, 2024 · 11 comments
Open

BTC chain doesn't connect #311

AmjadKhan2k18 opened this issue Aug 19, 2024 · 11 comments

Comments

@AmjadKhan2k18
Copy link

AmjadKhan2k18 commented Aug 19, 2024

Describe the bug
Hi, last time I tested bip122 it was able to connect and get address of BTC from Trustwallet but now it's not showing in list of Chains, I used same namespace and chainId from this issue to connect

if I change anything namespace or chainId TrustWallet doesn't show Connect popup at all but if it's correct one it's shows popup but missing BTC in chain list

Does something change in WalletConnect? I tried different chains SOL, COSMOS, TRON every chain is working only BTC doesn't work

My goal is just to connect and get address of BTC so I can transfer from Our App to Trustwallet

          'bip122': const RequiredNamespace(
            chains: [
              "bip122:000000000019d6689c085ae165831e93",
            ],
            methods: [],
            events: [],
          ),

To Reproduce
Steps to reproduce the behavior:
1 : Try to connect Trustwallet with bip122

Expected behavior
User should be able to connect BTC network and get address

Reproducible code

        `bip122': const RequiredNamespace(
            chains: [
              "bip122:000000000019d6689c085ae165831e93",
            ],
            methods: [],
            events: [],
          ),

Desktop (please complete the following information):

  • OS: Android/IOS

Smartphone (please complete the following information):

  • Device: Iphone X
  • OS: IOS 16.7.x
  • Browser Dapp
@quetool
Copy link
Collaborator

quetool commented Aug 20, 2024

Hello @AmjadKhan2k18! Not sure how you were able to connect before as Bitcoin support is not fully implemented yet. It will be very soon. I will anyway try to dig into this and come back to you! Thanks!

@AmjadKhan2k18
Copy link
Author

@quetool Thanks, hopefully will hear back from you soon

@quetool
Copy link
Collaborator

quetool commented Aug 22, 2024

Hello @AmjadKhan2k18! Lil update! #309 (comment)

@AmjadKhan2k18
Copy link
Author

@quetool that's great news Thanks, I tried again still nothing show up BTC or any other chain LTC, DOGE, I check documentation but didn't understand about namespace and chainid that should be used, will you make a new version to support all these chains or server side changes is enough?

if no new version is required
can you write an example quickly to connect at least BTC and if possible signing a transfer transaction

@quetool
Copy link
Collaborator

quetool commented Aug 22, 2024

No new version is required, I'll try to write up a quick example ASAP.

@AmjadKhan2k18
Copy link
Author

@quetool any update? or any example from web app? I couldn't find any

@AmjadKhan2k18
Copy link
Author

@quetool ?

@quetool
Copy link
Collaborator

quetool commented Aug 27, 2024

Hello @AmjadKhan2k18! As soon as we release example I'll let you know... I don't have an ETA but it should be soon!

@AmjadKhan2k18
Copy link
Author

Hello @quetool!

  1. can you give me some direction, any update what's wrong that it doesn't connect ? if you can guide little I will do it.
  2. Were anyone in WalletConnect able to connect BTC chain and sign transaction ? I don't find any update in Web example too

@quetool
Copy link
Collaborator

quetool commented Sep 6, 2024

Hello @AmjadKhan2k18! I didn't have time yet to write up a BTC example. I honestly don't know how you were able to connect before as the specs were not ready until few days ago on our side. It shouldn't have been possible honestly. But anyway, here are the specs for Bitcoin https://docs.walletconnect.com/advanced/multichain/rpc-reference/bitcoin-rpc and here there is a draft PR for BTC example from Web team https://github.com/WalletConnect/web-examples/pull/568/files, maybe you can use it as reference.

I promise I will write up an example for Flutter ASAP, this is really in my interests, believe me, I just didn't have time yet.

@arein
Copy link
Member

arein commented Sep 6, 2024

@AmjadKhan2k18 great that you're working on Bitcoin. Can you please reach out to me via Telegram? @cyberdrk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants