Post
Topic
Board Web Wallets
Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics
by
piuk
on 14/08/2012, 09:49:55 UTC
Is "1PkHvfna7fHNi1BnbYjFe5tRDLQZqLYLyz" correct address for donations?

Thanks minimal. The Sites donation address is 1JArS6jzE3AJ9sZ3aFij1BmTcpFGgN86hA. I haven't really said anything about it much but the Site is much better funded now, so donations aren't critical. I am still the the main developer but no longer hold 100% equity.

I mark the checkbox, I see only "Updated IP Lock Setting".   I uncheck the box, I again see only "Updated IP Lock Setting".  There is no IP Address or comma separated list shown anywhere. 

Ah the form elements were being erroneously hidden when double encryption was off. This should be fixed now. (Thanks BkkCoins)

so how can i sign a message to bitcoin-otc with this thing?

Sign Message isn't implemented as I couldn't figure out how to produce a compacted signature in javascript.

10 BTC bounty for anyone who can finish the function below (depends on bitcoin-js) and produce a verifyMessage as well.

Quote
function signMessage(strMessage, privBytes) {

 var concenated = String.fromCharCode(24);

 var strMessageMagic = 'Bitcoin Signed Message:' + String.fromCharCode(10) + String.fromCharCode(4);

 concenated += strMessageMagic;
 concenated += strMessage;

 var hash1 =  Crypto.SHA256(concenated, { asBytes: true });

 var hash2 = Crypto.SHA256(hash1, { asBytes: true });

 hash2 = hash2.reverse();

 console.log('concenated ' + concenated);
 console.log('hash1 ' +  Crypto.util.bytesToHex(hash1));
 console.log('hash2 ' +  Crypto.util.bytesToHex(hash2));

 var eckey = new Bitcoin.ECKey(privBytes);

 var rs = eckey.sign(Crypto.SHA256(concenated, { asBytes: true }));

 console.log(rs);

 var signature = Bitcoin.ECDSA.serializeSig(rs.r, rs.s);

 return Crypto.util.bytesToBase64(signature);
 }

I just thought I'd point out to users that they can use the Firefox "Add To Search Bar" add-on to make a search bar item for bitcoin addresses via blockchain.info.

Nice tip, thanks.