PHP - convert number to Bitcoin Private Key

Completed Posted 6 years ago Paid on delivery
Completed

I need a PHP solution to convert this number:

0000000000000000000000000000000000000000000000000000000000000001

to

5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf

As demonstrated here:

[url removed, login to view]

Instructions to recreate:

1. Paste the number

0000000000000000000000000000000000000000000000000000000000000001

in the section labelled "Private key to wallet import format" > "1 - Private key"

2. Press "Send" under "1 - Private key"

3. Verify "7 - Base58 encoding of 6" reads the following:

5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf

I believe this is the code to the above, but not in PHP:

[url removed, login to view]

The PHP library I have attemtped this with is here:

[url removed, login to view]

Some more discussion:

[url removed, login to view]

PHP

Project ID: #14826816

About the project

3 proposals Remote project Active 6 years ago

Awarded to:

vladshoob

Hi there! I can do such script for you. I do love and use bitcoins as well. Hope to hear from you. Regards.

$5 USD / hour
(4 Reviews)
2.8

3 freelancers are bidding on average $5/hour for this job

webbookstudio

Hello, my name is Michael. I represent Ukrainian based IT-company Webbook Inc that provides services in the IT-sphere for international business. We were carefully reviewing the requirements of the job description, so More

$6 USD / hour
(100 Reviews)
7.8