Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: bitbytemoney on May 12, 2022, 10:28:23 PM



Title: How to implement SPV wallet for my own bitcoin clone?
Post by: bitbytemoney on May 12, 2022, 10:28:23 PM
I forked from bitcoin and create own coin.
I want to implement SPV wallet for it.


Title: Re: How to implement SPV wallet for my own bitcoin clone?
Post by: vv181 on May 13, 2022, 04:53:52 AM
I don't know if there is a how-to guide about adjusting the SPV wallet forked coin.

In any case, you can try to comprehend the ElectrumX protocol. Read their source code for both the server and the wallet, here are the protocol docs:https://electrumx-spesmilo.readthedocs.io/en/latest/protocol.html.

Also, it would be good if you try to see how Bitcoin Cash/SV and Litecoin implemented their own SPV. You can refer to their code about which part does they changed.