Base58Check Address Encoding
A P2PKH address is a public key hash encoded in Base58Check. Starting from a public key hash, we add a version byte at the beginning and a checksum at the end, then we encode this in Base58. To have a better understanding of this encoding have a look at address_encoding.js.
A Bitcoin user usually send money to an address, but in fact the corresponding public key hash is stored into the blockchain.
cd code npm run Base58CheckEncodeP2PKH fb8820f35effa054399540b8ca86040d8ddaa4d5