Open shubhambankar2197 opened 3 years ago
Thanks for checking out this project! However it is a bit outdated. You may have already noticed that bcash is deprecated and no longer maintained. It may work in SPV mode but there are no guarantees. BCH has hard forked several times since the last commit to the bcash repo.
More specifically about your issue, bcoin now requires xpubs when creating watch-only wallets this was added shortly after the original swap article was published.
This means that when we create a watchonly wallet here...
...and here...
...we would also need to add the option accountKey: xpub...
. The xpub can be any xpub (it won't affect the swaps application) but it is required now so that users don't accidentally generate addresses they don't have the private keys for.
Hey,
I am trying to run this locally but I am facing the issue. Whenever I start to swap it gives me an error
Must add HD public keys for watch only wallets
.Could you please help to resolve this?
Thanks in advance.