NoraJeon
How to create a Bech32 (bc1) address with PHP standalone?
Reply 0 0
smita.verma

The Bech32 (bc1) address can be created with PHP standalone using private keys. Bech32 only consist of one type of private key , which is a number from 1 to curve's n-1. Along with this there are two types of keys, public key (Hex) and private key (Compressed). Public key is mostly used for creating a Bech32 (bc1) address with PHP standalone. For this, firstly encode a public key, (hash160) which is ripemd160(sha256(publickey)). After that, you'll get an output in the form of bech32 words, so add 0 Uint8  to those bech32 words. After doing this, encode it with a prefix bc using the bech32. After that, skip the addition of zero for getting the output of bech32. It will result into generation of your address with PHP standalone. 

Reply 0 0
Reply