Mapping bitcoin privatekey to bitcoin address

Completed Posted Aug 7, 2014 Paid on delivery
Completed Paid on delivery

Given a bitcoin private key (such as from a dumpprivkey command) code needs to generate the corresponding public key and bitcoin address. The previous examples will show what is needed. I just want a C function:

char *conv_privkey(char *pubkey,char *privkey)

{

char *btc_address = malloc(70);

// calculate pubkey and copy to *pubkey

// calculate btc_address

return(btc_address)

}

So you should use libtom for all the crypto functions you need (libtomcrypt 1.17 from [url removed, login to view]).

Just using standard C (any OS as it is all just standard io).

Bitcoin C Programming

Project ID: #6292174

About the project

5 proposals Remote project Active Aug 11, 2014

Awarded to:

rimcx

Hello, I have some code that converts bitcoin WIF private key to public key and address. It uses OpenSSL for cryptographic functions and there's some C++ code (which I could convert to C). Would you be interested it th More

€70 EUR in 7 days
(1 Review)
4.1

5 freelancers are bidding on average €120 for this job

duyld8x9

i have done the similar project before. I have a function generate public key from given hex-form private key. Now i have to find out how to calculate btc_address, but i think it is not difficult with me.

€66 EUR in 3 days
(3 Reviews)
2.7
ChrisRoth

I have already worked on bitcoin code in Mathematica for another job, so I'm familiar with the cryptography and base58 nuances. I have 10 years experience with c, so it should be straight forward to port it to c. I can More

€166 EUR in 3 days
(0 Reviews)
0.0
ccsuzc

I am a university computer teacher. I have nearly 10 years of C language development level. For your request, I have carefully reviewed the relevant information. All the algorithms and requirements of this task w More

€155 EUR in 3 days
(0 Reviews)
0.0
ramanmishra7

A proposal has not yet been provided

€144 EUR in 3 days
(0 Reviews)
0.0