I offer 200 BTSX to the best solution for the following task.
Given: a bitcoin public key (in hexadecimal char vector)
- from command line argument: public key for a bitcoin address in hexformat
- the BTSX address that can be accessed if you own the private key to the input private key
- the PTS address that can be accessed by the same private key
Hint .. go over to the BitShares Toolkit sources .. in the programs/utils folder there are tools that
can be expended to achieve this task. I tried figuring it out myself but just failed
Ah, yha, please post the documented source code (probably less than 50 lines of code)