WalletConnect / WalletConnectFlutterV2

WalletConnect v2 client made in Dart for Flutter.
https://pub.dev/packages/walletconnect_flutter_v2
Apache License 2.0
105 stars 60 forks source link

BTC chain doesn't connect #311

Open AmjadKhan2k18 opened 1 month ago

AmjadKhan2k18 commented 1 month ago

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):

Smartphone (please complete the following information):

quetool commented 1 month ago

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 commented 1 month ago

@quetool Thanks, hopefully will hear back from you soon

quetool commented 4 weeks ago

Hello @AmjadKhan2k18! Lil update! https://github.com/WalletConnect/WalletConnectFlutterV2/discussions/309#discussioncomment-10416881

AmjadKhan2k18 commented 4 weeks ago

@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 commented 4 weeks ago

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

AmjadKhan2k18 commented 3 weeks ago

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

AmjadKhan2k18 commented 3 weeks ago

@quetool ?

quetool commented 3 weeks ago

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 commented 1 week ago

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 commented 1 week ago

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 commented 1 week ago

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