Mapping bitcoin privatekey to bitcoin address
€30-250 EUR
货到付款
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).
项目ID: #6292174
关于项目
有5名威客正在参与此工作的竞标,均价€120/小时
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.