but i get the 48ED57E20708C7392AE5DBA73776D0F91A42F87CD82FE4411ED4BA37260402ED

How can I get this 1C72D90868DBCD0252A54EFFB25FB535B4C89B67D57B75FD88465C5F173DCAB5?

The same is true in the process of obtaining a private key.

Different from bitcoin: Add the first version byte from the private-key-version blockchain parameter to the start of the private key. If it is more than one byte long, insert each subsequent byte of it after every floor(33/len(private-key-version)) bytes of the key. For example with 8025B89E:80B69CA8FFAE36F11A25D445625E35BF6AC5B87D6642DDBE470DD39EE7934291B2000D7801

-> 742D5B3C59BB25F077AACB33D5770AAE22FD5639E8F9A7742BADEF84BCDFB4CC

but i get the 4C76F1957D2C58C650C5CD601A48C7362BBCDA2FD2733B5A6BBA48DC4A961F2D

1 Answer

0 votes

Before we get into the details of these steps, have you considered using the validateaddress API command? That can accept a private key as a parameter and returns the corresponding address as part of its response.