I already know to get the public key from base58 encoded private key using an ECKey object in BitcoinJ. See the example code. But I still don’t understand to take the compressed private key and the bitcoin address from the “key” object. I tried some with compressPoint() method. But I didn’t succeed. Answer In order to get the compressed public