Hello. This link leads to a solution posted by someguy123 with bitcoin-min.js to generate public addr/private key, just with 3 lines of code:
https://bitcointalk.org/index.php?topic=750022.msg9974990#msg9974990The method is:
First, for the head in html document:
<script src="js/bitcoinjs-min.js"></script>
Then the function to call is:
var key = Bitcoin.ECKey.makeRandom();
var PubKey = key.pub.getAddress().toString();
var PrivKey = key.toWIF();
And that's it. An elegant,
"nodeless" solution.
My issue is this: How to use such a simple method, but for building a btc transaction instead? You know, a
nodeless method, just a dir with bitcoinjs-lib inside (or -min, whatever) and pure javascript to call the corresponding functions.
Thank you in advance.