The (BDKp) Bitcoin Development Kit for PHP is designed to wrap around Bitcoin and allow developers to call normal PHP functions instead of doing tiresome
RPC->connect(username,password,port,https); RPC->Query(Agument) functions instead to of generating an address like this
RPCObject->getnewaddress('labelhere'). One could use this library to simply query bitcoin by doing a
bitcoin_get_new_address().
Sounds counter-intuitive but this opens up a world of possibilities for instance with native PHP functions wrapped around Bitcoin we can softly display errors produced by Bitcoin and allow the PHP developer decide what to do with the php/bitcoin error data. During development and testing we attack functions at every angle to produce every error possible per function and we have collected a vast knowledge of error combinations and have designed the wrapper to output errors that a dev could use their own logic around with ease.
Some other opportunities include allowing higher-level functions such as creating a authentication system with Bitcoins(with out having to pay to a Bitcoin address to prove you own the address) a developer could have a visitor authenticated with a Bitcoin address when the authentication is approved and the library was able to verify that the visitor does own that address the developer could then take that information and integrate their own sessions for their uses with out any worries of conflicts from this library.
Another great high-level function is the ability to create receipts, add/remove/save product ids to the receipt and save the amount due for that receipt before it is accepted as paid and this is all possible with out a database or saving to text files that can be altered. For receipts it uses just Bitcoin client for saving receipt data which is all verify-able checksums to prove
data integrity and to preventing an attacker from altering the receipt data and slipping past your logic code.
Open Source Code (AGPL v3.0)Github:
https://github.com/Xenland/Bitcoin-Development-KitBDKp WikiClick here to open wikiCurrent API CommandsClick here to open API ListFeatures*Doesn’t rely on databases.
*Doesn’t use decimals or floating points to do financial math.
*Checksums help circumvent tampering with receipt information.
*Stores the
Amount due,
Time-stamp Receipt was created,
Time-stamp receipt was paid and confirmed in full,
checksum, and an array of product/service ids per receipt.
Instructions - 1,2,3 steps!1]Download library and extract the files into a folder where your php code can include/access it
2]Edit the config.php file to point towards a Bitcoin client. (PLEASE USE HTTPS CONNECTIONS)
3]Integrate your PHP code to use the functions/api from this library.
Note: Make sure you tell your Bitcoin client to only accept remote connections from the server that will be querying it. If you are hosting the Bitcoin client on the same server as the php running code you can have Bitcoin client just only accept the ip address of
127.0.0.1 which is your local address. To set the accepted remote ip address please refer to this link:
https://en.bitcoin.it/wiki/Running_Bitcoin#Sample_Bitcoin.confDeveloper Support (Reasonable Prices)If you need assistance from start to finish, from education on integration, to filling in the spaces that you don't know how to complete your self or don't trust your knowledge about the inter-workings of Bitcoin and need a fresh out side knowledgeable perspective I can provide reasonable prices to help with your project, company or just personal education on php and Bitcoin for a reasonable cost. Depending on your problem and how quickly it will be to fix the costs will be charged by the project unless I think I can help you within a few hours I will charge by the hour but still reasonable costs. If you need assistance contact me at skype CheaperInBitcoins or PM me on here for my email address and we will chat I am also available by phone aswell but please request that information through Personal Message thank you!