Pub Key to Address

darkfriend77

New member
Hi,

I'm trying to work out a game, on the dash blockchain and for this purpose I have to be able to build the corresponding address from a random pub key.

So technically it should be "ripemd160(sha256(publickey))" but jumping around in the source code ... I got a hard time to find the appropriate functions to build a rpc utility function which will do the transformation for any given pub key ...

Is there someone that could help me out or give me some hints ...

thx a lot
 
Back
Top