@pierre_rochard xpub generates a list of bitcoin addresses without requiring the private key. Which enable you to generate addresses in vulnerable environements.
@jimmysong https://t.co/uwDCVdWxk4
Just change the 'type' parameter to pubkey/pubkey/scripthash/etc.. for p2sh/p2pkh/other, or to nulldata for OP_RETURN