Bitcoin Forum
November 05, 2024, 08:30:10 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is there a PHP lib that can generate Bitcoin privkeys+addresses, sign tx, etc?  (Read 675 times)
Kazimir (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1011



View Profile
February 12, 2014, 01:55:09 PM
 #1

There doesn't seem to be an actual Bitcoin implementation in PHP yet, right?

I know bitcoin-php from Mike Gogulski, which appears to wrap access to bitcoind (or did I miss something?). But I'm rather looking for a library that can generate private keys + addresses. So basically an implementation for secp256k1 ECDSA and base58 encoding.

Generating + signing transactions would be even better, although obviously this depends on the sending address' history data from the blockchain (thus requiring a bitcoind client or some online API).

In theory, there's no difference between theory and practice. In practice, there is.
Insert coin(s): 1KazimirL9MNcnFnoosGrEkmMsbYLxPPob
fbueller
Sr. Member
****
Offline Offline

Activity: 412
Merit: 287


View Profile
February 13, 2014, 12:49:16 AM
 #2

Github.com/mdanter/phpecc is a great help for the elliptic curve stuff, but nothing I know of does the transaction creation.

I've written some stuff for generating deterministic address using it. Github.com/Bit-Wasp/multisig/blob/application/libraries

Bitwasp Developer.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!