Author

Topic: PHP Library (Read 1311 times)

jr. member
Activity: 56
Merit: 1
April 10, 2015, 10:55:56 AM
#10
Thanks guys. Great collection of resources here; but I decided to do what I'm looking to do in C++ instead. It'll run much faster in C++.
hero member
Activity: 854
Merit: 503
|| Web developer ||
April 10, 2015, 10:31:01 AM
#9
This will be the best for you  Cool : https://github.com/Bit-Wasp/bitcoin-lib-php [already posted , I suggest it more than others]
it contain many bitcoin library such :

Quote
Raw Transactions: create, sign, validate, with support for P2SH.
Create multi-signature addresses, create redeeming transactions.
BIP32: Functions for generating BIP32 deterministic keys.
Electrum: Create seed from mnemonic, create MPK from seed, derive public keys from MPK, or private keys from seed.
BitcoinLib: The core class, with key functionality, encoding/decoding & validation functions, etc.
BIP39: Functions for generating Mnemonic code for generating deterministic keys (possibly password protected)

Kind Of Respect,
Bitcoin Boy.
hero member
Activity: 910
Merit: 1000
April 10, 2015, 02:11:26 AM
#8

HOly schmokes! This worked so easily  Shocked

Already includes the ECC library and only needs GMP extension. Fired off a test run and violla a fresh key pair!

Good to know, I'll bookmark this for my next PHP project.
legendary
Activity: 1442
Merit: 1186
April 09, 2015, 06:28:26 PM
#7

HOly schmokes! This worked so easily  Shocked

Already includes the ECC library and only needs GMP extension. Fired off a test run and violla a fresh key pair!
legendary
Activity: 2912
Merit: 1060
sr. member
Activity: 476
Merit: 250
April 03, 2015, 07:29:32 AM
#5
for creating addresses (and private keys of them ofc.) you can use bitcoin daemon.

see API reference:
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
legendary
Activity: 4228
Merit: 1313
March 31, 2015, 04:02:18 PM
#4
One of the following might do what you are looking for.  I played with them previously, but not recently, just to see how they functioned.  As I recall, they seemed to do what you were looking for.  ;-)

https://github.com/Bit-Wasp/bitcoin-lib-php

https://github.com/zamgo/PHPCoinAddress

http://www.unibia.com/unibianet/developer/php-ecc-class-library
hero member
Activity: 910
Merit: 1000
March 31, 2015, 02:29:18 PM
#3
Haven't used PHP in a long time but if you can't find a library you can write (or maybe find on github) a wrapper around bitcoind if that is an option open to you. https://en.bitcoin.it/wiki/PHP_developer_intro
hero member
Activity: 699
Merit: 501
March 31, 2015, 08:34:01 AM
#2
Blockchain has a documentation for php on github https://github.com/blockchain/api-v1-client-php
jr. member
Activity: 56
Merit: 1
March 31, 2015, 05:01:36 AM
#1
Would anybody know of a PHP library to create a private key?
Jump to: