Bitcoin Forum
June 17, 2024, 01:36:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: PHP Library  (Read 1288 times)
MegaFall (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile
March 31, 2015, 10:01:36 AM
 #1

Would anybody know of a PHP library to create a private key?
NyeFe
Hero Member
*****
Offline Offline

Activity: 699
Merit: 500


View Profile
March 31, 2015, 01:34:01 PM
 #2

Blockchain has a documentation for php on github https://github.com/blockchain/api-v1-client-php

MicroDApp.com—Smart Contract developers. Lets build a decentralized future!
coinpr0n
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
March 31, 2015, 07: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

cr1776
Legendary
*
Offline Offline

Activity: 4074
Merit: 1303


View Profile
March 31, 2015, 09: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
emrebey
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
April 03, 2015, 12:29:32 PM
 #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)
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
April 09, 2015, 10:37:52 PM
 #6

https://github.com/FuzzyBearBTC/PHPCoinAddress

coinableS
Legendary
*
Offline Offline

Activity: 1442
Merit: 1179



View Profile WWW
April 09, 2015, 11: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!

coinpr0n
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
April 10, 2015, 07: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.

Bitcoin_BOy$
Hero Member
*****
Offline Offline

Activity: 854
Merit: 503


|| Web developer ||


View Profile
April 10, 2015, 03:31:01 PM
 #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.
MegaFall (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile
April 10, 2015, 03:55:56 PM
 #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++.
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!