I would like to generate a Bitcoin-address (public/private key) in PHP but I don't understand the parameters. For example in the below lines of code:
$mpk = '675b7041a347223984750fe3ab229df0c9f960e7ec98226b7182a2cb1990e39901feecf5a670f1d788ab29f626e20de424f049d216fc6f4c6ec42506763fa28e';
for ($i = 0; $i < 10; $i++) {
print addr_from_mpk($mpk, $i) . "\n";
}
Is $mpk the private key? If I change a single char in $mpk, I get an error.
Is there a working way to generate a Bitcoin-Address in PHP?