generate(); // Generate Public Key values $public->setPrivateKey($private); $public->generate(); // Generate Sin Key values $sin->setPublicKey($public); $sin->generate(); printf("Public Key: %s\n", $public); printf("Private Key: %s\n", $private); printf("Sin Key: %s\n\n", $sin); /** * NOTE: You MUST save your keypairs and not regenerate them once you have already * generated a pair and have paired them with the BitPay's API. To see how to * persist keys to the filesystem, please see the SaveKeypairsToFilesystem.php */