Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
January 06, 2013, 10:52:51 PM |
|
I was getting ready to build my own function set because yours wasn't connecting to bitcoind for some odd reason while my personal test connection was having no problem, but I'm gonna try your updated script first
I was having a problem with my public vps on my script and the issue seemed to be in jsonRPCClient.php as something was going wrong with credentials(The solution in my case was to have the BDK connect through the public ip address). Was this the similar issue to yours? I'd be happy to see your successful code and merge it into the scripts if you don't mind.
|
|
|
|
Darkneo
Member
Offline
Activity: 84
Merit: 10
|
|
January 06, 2013, 11:59:40 PM Last edit: January 07, 2013, 02:21:22 AM by Darkneo |
|
What is the best you for you to keep in contact Xenland?
Basically, while trying to open a test connection using the bitcoin_open_connection() function, the array that gets returned is -1 and Null.
While I am able to retrieve the full getinfo using the jsonRPCClient.php file that was included in your package.
In both cases, I was connecting through the public domain name and not 127.0.0.1.
Edit: I just uploaded the new library file and changed nothing else at all, I have a successful connection now through your file.
|
Tips are always appreciated 1Gr1MZuqpSZJbApsgpMnHFhKHkXUdHqYRe
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
January 07, 2013, 01:27:12 AM |
|
What is the best you for you to keep in contact Zenland?
Basically, while trying to open a test connection using the bitcoin_open_connection() function, the array that gets returned is -1 and Null.
While I am able to retrieve the full getinfo using the jsonRPCClient.php file that was included in your package.
In both cases, I was connecting through the public domain name and not 127.0.0.1.
Edit: I just uploaded the new library file and changed nothing else at all, I have a successful connection now through your file.
You can always contact me by skype or email. Glad to hear it is working now, Cheers mate!
|
|
|
|
Darkneo
Member
Offline
Activity: 84
Merit: 10
|
|
January 07, 2013, 02:22:57 AM |
|
I'll continue to use it and see how it does in my development environment. I think I could do a lot with it
|
Tips are always appreciated 1Gr1MZuqpSZJbApsgpMnHFhKHkXUdHqYRe
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
January 07, 2013, 10:24:18 AM |
|
I uploaded v0.0.40 (Comes with the shopping cart functions)
Still working on the "remove product id from cart" function will come in the future.
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
January 08, 2013, 09:37:35 PM |
|
I've uploaded example #3 it demonstrates the bdk_prove_coin_ownership() function Previously known as: bdk_login_with_coin_address() functionTry it out let me know what you think. http://www.bitcoindevkit.com/examples/example3.php
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
January 08, 2013, 09:54:43 PM |
|
Security issue in bdk_prove_coin_ownership() has been found. It only recognizes when the bitcoin_validate_message() successfully runs but it didn't recognize weather the message is valid or not, in version 0.0.42 this is updated and published.
|
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
January 12, 2013, 09:06:29 AM Last edit: January 12, 2013, 10:18:44 AM by Xenland |
|
An feature update was pushed in v0.0.44 where a generated receipt can contain any additional information visit the wiki page to see the changes, code is already published as well. https://github.com/Xenland/Bitcoin-Development-Kit/wiki/BDK-Generate-ReceiptFor those who don't already know this library only relies on Bitcoin and nothing else(referring to databases) so with that in mind we use the "labels" that the Bitcoin client provides as a storage database and with the new updates one could create a storable receipt like the following { "checksum": "ab37bc6866e253c5ce3ba7e7c91b7299140630afb7197e38e5a63f1e8b8b4f86", "timestamp_generated": 1357981122, "amount_due_in_satoshi": 100000000, "products_in_receipt": [ "1" ], "additional_info": { "email": " joe@joe.com", "refundAddress": "16oLFeSgUPFB1vm3LZuXHTXztyt5mDMsJV" } } UPDATES: just opened up shop, I'm testing out the BDK library in a real life setting and am selling some products I got for cheap (I will by posting up photos by me instead of the ones taken from the internet by tomorrow, its too late right now for me to finish). http://www.bitcoindevkit.com/shop/shop.php
|
|
|
|
Ascension
|
|
January 16, 2013, 07:41:41 PM |
|
Has anyone been able to use this with blockchain.info API? I am having issues using the BDK bitcoin_get_received_by_address().
I am getting a Return Status Error of 102. I have isolated it to it being a an invalid address (even though the address is valid).
I think the issue might be that the blockchain.info API returns a JSON Object for validateaddress and I do not see anything in the BDK that converts the JSON Object to a PHP Array?
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
January 17, 2013, 05:10:03 AM |
|
Has anyone been able to use this with blockchain.info API? I am having issues using the BDK bitcoin_get_received_by_address().
I am getting a Return Status Error of 102. I have isolated it to it being a an invalid address (even though the address is valid).
I think the issue might be that the blockchain.info API returns a JSON Object for validateaddress and I do not see anything in the BDK that converts the JSON Object to a PHP Array?
Get Received By Address only works if you have the private key in your Bitcoin client. The BDK is aimed at making Bitcoin client easier to communicate with and to intuitively apply math with out worries of precision or rounding issues. How ever if your using the Blockchain.info api in php you would want to use the "json_decode()" function and then you can use the php array that is returned with the BDK library.
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
February 19, 2013, 10:27:41 PM |
|
More updates to come in late March/Early April.
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
March 15, 2013, 10:40:04 PM |
|
The website has been updated and there should be absolutely no broken links and no more "redirects to HTML pages". http://BitcoinDevKit.comAlso I purchased http://BitcoinWebKit.com and in the future that BitcoinWebKit.com domain will redirect to the PHP BDK and the Bitcoindevkit.com will redirec to a "centeral" selection website to pick which Bitcoin Dev Kit language you would like (BDK for C++, BDK for Qt, BDK for JS, BDK for Jquery, etc )
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
March 15, 2013, 11:29:36 PM |
|
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
March 16, 2013, 03:16:03 AM |
|
When the BDK for PHP is completed (as in beta) and pre-orders for videos/tutorial/scripts pack is available, upon pre-ordering (and when purchasing is available), when payment is received you will get a Bitcoin digital receipt for your pre-order. You will tangibly receive a "Message", "signature", and "Bitcoin address" so you have verifiable proof that you have purchased the digital download pack of goodies. This Bitcoin address to verify the signature/message against will be known as the official BDK for php address and thus will be "static"(non-changing). This way if by some means that the "purchase list" in the web site database is lost or destroyed then the customers can give me their signatures/messages and I will verify against the Bitcoin address and then validate the amount of Bitcoins received.
|
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
March 16, 2013, 12:59:37 PM Last edit: March 16, 2013, 05:11:23 PM by Xenland |
|
https://github.com/Xenland/Bitcoin-Development-Kit/wiki/%5BTutorial%5D-Getting-StartedHelps you mates getting started with programming with the BDK for PHP Edited Updates: Removed the file dependencies.tar.gz from the repo. More Edited Updates: It is recommended according to the getting started page to run your Bitcoin client with -checklevel=6. EVEN MORE! UPDATES: http://www.bitcoindevkit.com/examples.phpExamples are back online with version 0.8.0 Heads updates:The BDK advanced scripts (purchasable by pre-order) will include examples of BDK + Ajax using Jquery.
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
March 17, 2013, 03:19:05 PM |
|
For those whom have been waiting I'm working on the tutorials for Windows 7 + XAMPP + BDK + Bitcoin these tutorials will be available for free online with super low quality video and medium quality sound, if you want to see whats going on you can purchase any "pack" that advertises "Presentation Videos" in the pricing options obviously upon purchase you get the full resolution of videos and the highest of quality of sound. You will receive only presentation videos that correspond to the scripts that are included, meaning if you purchase the "Donor" pack you will receive only the videos that go with the "Simple Example Scripts" that come with it and to give a comparison if you purchased the "Enterprise" pack you will receive all the videos because it comes with the simple & advanced scripts.
I might also note that it won't be just Windows I will be covering, You will also receive both Windows AND Linux video tutorials, as it is recommended to run a Bitcoin website under Linux anyways, but Windows has the perks of learning something new more quickly.
Pre Purchase will be available after the 24th of this month of March.
|
|
|
|
crazy_rabbit
Legendary
Offline
Activity: 1204
Merit: 1002
RUM AND CARROTS: A PIRATE LIFE FOR ME
|
|
March 17, 2013, 04:43:16 PM |
|
I will be watching this!
|
more or less retired.
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
March 17, 2013, 06:05:09 PM |
|
I will be watching this!
Good man
|
|
|
|
|