def to_wif(network: nil, public_key_compressed: nil)
      BTC::WIF.new(private_key: self, network: network, public_key_compressed: public_key_compressed).to_s
    end
def to_wif(network: nil, public_key_compressed: nil)
      BTC::WIF.new(private_key: self, network: network, public_key_compressed: public_key_compressed).to_s
    end
Converts binary string as a private key to a WIF Base58 format.