Pages:
Author

Topic: PHP Bitcoin Development Kit | v0.0.46_pre15 | Alpha | BitcoinDevKit.com - page 6. (Read 16294 times)

legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Updates:

Configuration file has been created to prevent devs having to open and mess with the functions file and to prevent the hassles of over-writing a configure file during an upgrade/update.

Dependencies are now put in the sub-folder dependencies
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Updates!

During testing of bitcoin_get_received_by_address() it was found that bitcoin will error upon invalid bitcoin address inputted, to save on https requests if its not set it will produce a software error, if it is set it will query bitcoin to verify if it is a valid address then continue on with the code.

BFWDK Acid test has been added
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Wow! Nice man! I may have to use this instead of my barebones bitpay api.

Cheers!
hero member
Activity: 532
Merit: 500
Wow! Nice man! I may have to use this instead of my barebones bitpay api.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Updates: Purchased a domain so others can easily access the github source code. I plan to get a simple one-page website going when possible.

------
Further Updates: Domain approved and owner-ship assigned! will release domain when appropriate.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
* Some changes in the future will be

Quote
(Changes to Generate receipt) Instead of having a monolithic structure, perhaps serialize JSON data that is checksumed is in order that way we can store arrays according to Bitcoin address instead of just 3 strict variables of data.

Reference: https://github.com/Xenland/Bitcoin-Financial-Web-Development-Kit--BFWDK-/wiki/%28%29-Planned-Features-%28Note-to-self-developers%29
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Added Low-level API command: bitcoin_get_received_by_address(address, minimum_configurations)
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Updated: Add API call Bitcoin Generate Receipt() More information found here: https://github.com/Xenland/Bitcoin-Financial-Web-Development-Kit--BFWDK-/wiki/API-Call-Index
This receipt is designed to save information with out a database or saving files(and worrying about permissions), it uses Bitcoin labels and checksum(s). Don't forget to generate a random key for your checksum integrity Wink
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Updated: Added installation instructions.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Updated Bitcoin Donation Address, Please donation as much as you feel this software is worth, All donations will be appreciated. Thank you!
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Updated licensing information.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
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-Kit

BDKp Wiki
Click here to open wiki

Current API Commands
Click here to open API List


Features
*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.conf

Developer 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!
Pages:
Jump to: