Get a testnet PubKey

Create a new address on core using the command

bitcoin-cli getnewaddress

Get the PubKey associated with the new address with the command

getaddressinfo "new_address"

where new_address is the address generated at the previouse step.


Create a testnet 2of2 multisig address