Mapping bitcoin privatekey to bitcoin address

已完成 已发布的 Aug 7, 2014 货到付款
已完成 货到付款

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 编程

项目ID: #6292174

关于项目

5个方案 远程项目 活跃的Aug 11, 2014

授予:

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 更多

€70 EUR 在7天内
(1条评论)
4.1

有5名威客正在参与此工作的竞标,均价€120/小时

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 在3天内
(3条评论)
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 更多

€166 EUR 在3天内
(0条评论)
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 更多

€155 EUR 在3天内
(0条评论)
0.0
ramanmishra7

A proposal has not yet been provided

€144 EUR 在3天内
(0条评论)
0.0