user84655: i'm try to write a program which generate bitcoin address from given hash sha256 of passphase as private key or given hex private key. I've found a library for this but it required Boost package in visual studio which took nearly 6GB,totally unnessary for a program like this. Is there any available library to convert hex private key straight into address? No need to make wif private key, though

user38618: You need:
1) libsecp256k1 to calculate the public key from a private key
2) Hash the result with Sha2/256 + RipeMD160
3) Add version byte and 4-byte checksum
4) Encode it using Base58. My minimal code would work.
So, it's not really simple

84655: <p>i'm try to write a program which generate bitcoin address from given hash sha256 of passphase as private key or given hex private key. I've found a library for <a href="https://github.com/libbitcoin/libbitcoin/wiki/Examples-from-Addresses-and-HD-Wallets?fbclid=IwAR3WDz1klDlklh_6OzDISgLtM4t5b4gJm2gPys4lq-4vqGZMWC3f9EPDpek" rel="nofollow noreferrer">this</a> but it required Boost package in visual studio which took nearly 6GB,totally unnessary for a program like this. Is there any available library to convert hex private key straight into address? No need to make wif private key, though</p>
 38618: <p>You need:</p>

<p>1) <a href="https://github.com/bitcoin-core/secp256k1/" rel="nofollow noreferrer">libsecp256k1</a> to calculate the public key from a private key</p>

<p>2) Hash the result with Sha2/256 + RipeMD160</p>

<p>3) Add version byte and 4-byte checksum</p>

<p>4) Encode it using Base58. My <a href="https://bitcoin.stackexchange.com/a/76485/38618">minimal code</a> would work.</p>

<p>So, it's not really simple</p>
