How to generate btc addresses from XPUB? I have an xpub key and I'd like to generate the sequence of btc addresses in PHP based on the index.
Is there a way to do that?
You can use https://github.com/denpamusic/php-bitcoinrpc to call methods defined in Bitcoin Core API Documentation.
Getting addresses from xpub: https://bitcoincore.org/en/doc/0.20.0/rpc/util/deriveaddresses/