Bitcoin Forum
December 07, 2016, 08:30:44 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: BitcoinRetail-Lite | 1-2-3 Library for integrating Bitcoin into any store  (Read 1967 times)
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
October 18, 2011, 05:08:44 PM
 #1

BitcoinRetail-Liite | Official Thread

Download - https://github.com/Xenland/BitcoinRetail-Lite

Language: PHP5
Requirements: Apache2, PHP5, Mysql, Bitcoin Client(running in server mode or daemon mode)

Features Suggested By the Community that need to be added to the library
Quote
*Have the cronjobs send confirmed Bitcoins to offline address

Install instructions
Quote
copy files into folder where php can access.
edit bitcoin-manager.php file to your needs to link to your database and Bitcoin daemon
look at example pages they will help alot!


Usage
Quote
<?php
include("/path/to/file/bitcoin-lite/bitcoin-manager.php");

//lets generate an address
$gen_invoice = new bitcoinretail_lite;
$invoice_output = $gen_invoice->generate_invoice(23.22);

//output generated address if there was no error
if($gen_invoice->error_occured == 0){
//Looks like everything worked lets tell the user what address to send the payment too
echo $invoice_output["payment_address"];
}else if($gen_invoice->error_occured == 1){
//Looks like an error happened tell the user whats up
echo $gen_invoice->error_message;
}

?>

Takes a minute or two to set up let me know how it goes for you and if you get any errors. THanks
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481142644
Hero Member
*
Offline Offline

Posts: 1481142644

View Profile Personal Message (Offline)

Ignore
1481142644
Reply with quote  #2

1481142644
Report to moderator
1481142644
Hero Member
*
Offline Offline

Posts: 1481142644

View Profile Personal Message (Offline)

Ignore
1481142644
Reply with quote  #2

1481142644
Report to moderator
terrytibbs
Hero Member
*****
Offline Offline

Activity: 560



View Profile
November 25, 2011, 05:36:46 PM
 #2

This is great, thanks.

What is this licensed under?
Skybuck
Full Member
***
Offline Offline

Activity: 185


View Profile
November 25, 2011, 07:09:23 PM
 #3

Seeing "copy wallet" in the source code is laughable Smiley

However there is some merit in this idea:

1. I generate bit coin addresses on my computer, on my "secure" wallet.

2. I then transfer my public bit coin addresses into a file.

3. I then upload this file to some webserver.

4. Your PHP script then simply selects a public bit coin address at random.

That way it becomes harder to identify me, but there is also a problem.

I cannot identify the user which sent me something if the bit coin addresses are reused.

So instead:

1. Each public bit coin address should only be used once.

2. The php script should maintain which bit coin addresses, where used, this can become difficult since it's not known if the transaction occured.

3. The user has to get a warning if addresses used up.

So there are still some technical hurdles with this concept/idea.
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
November 26, 2011, 07:53:57 AM
 #4

If you dont mind me asking have you used the software or even tried it?
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
November 26, 2011, 08:17:58 AM
 #5

I. Should note that this script works with the bitcoin client directly and every invoice or order gets an unique address associated with it. You run a cronjob every minute and it updates the database accordingly.

1.2.3. Library just like it sounds.

There are only two commands you need to know to run this script
terrytibbs
Hero Member
*****
Offline Offline

Activity: 560



View Profile
November 26, 2011, 12:44:55 PM
 #6

If you dont mind me asking have you used the software or even tried it?
I don't know if it works out-of-the-box, but I modified it for Postgres and an alternate cryptocurrency, and it works wonders.
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
November 26, 2011, 01:18:50 PM
 #7

If you dont mind me asking have you used the software or even tried it?
I don't know if it works out-of-the-box, but I modified it for Postgres and an alternate cryptocurrency, and it works wonders.
thats good to hear
 I'd love to see an example Smiley
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
November 26, 2011, 01:21:09 PM
 #8

Seeing "copy wallet" in the source code is laughable Smiley

However there is some merit in this idea:

1. I generate bit coin addresses on my computer, on my "secure" wallet.

2. I then transfer my public bit coin addresses into a file.

3. I then upload this file to some webserver.

4. Your PHP script then simply selects a public bit coin address at random.

That way it becomes harder to identify me, but there is also a problem.

I cannot identify the user which sent me something if the bit coin addresses are reused.

So instead:

1. Each public bit coin address should only be used once.

2. The php script should maintain which bit coin addresses, where used, this can become difficult since it's not known if the transaction occured.

3. The user has to get a warning if addresses used up.

So there are still some technical hurdles with this concept/idea.

Before i answer your 20 random ramblings I'll just say I pressed cntrl+F you know for the "Find" program
and it couldn't find anything that said

"copy wallet"

...... explain...
Skybuck
Full Member
***
Offline Offline

Activity: 185


View Profile
November 27, 2011, 07:17:45 PM
 #9

https://github.com/Xenland/BitcoinRetail-Lite/blob/master/bitcoin_controller/bitcoin.inc.php

Line 338:

  /**   * Safely copies wallet.dat to destination, which can be a directory or   * a path with filename.   *

Your software is flawed because it stores the wallet on the webserver, and probably passwords to access it as well or whatever.

I do not trust webserver administrators/web hosters.


terrytibbs
Hero Member
*****
Offline Offline

Activity: 560



View Profile
November 27, 2011, 07:20:02 PM
 #10

I do not trust webserver administrators/web hosters.
So be your own.
Skybuck
Full Member
***
Offline Offline

Activity: 185


View Profile
November 27, 2011, 07:21:55 PM
 #11

That requires running expensive hardware/servers/software/bandwidth/power surge protectors/power ups/backups/cooling/licenses/etc.

Instead I have a cheap webhoster which does that for me Wink

Problem is I am not gonna trust a webhoster with my wallet Wink Smiley


terrytibbs
Hero Member
*****
Offline Offline

Activity: 560



View Profile
November 27, 2011, 07:29:35 PM
 #12

That requires running expensive hardware/servers/software/bandwidth/power surge protectors/power ups/backups/cooling/licenses/etc.
For £13.99 a month, you can get a dedicated server from Kimsufi, a subsidiary of OVH (the largest host of servers in Europe), with 2GB of ram, practically unlimited bandwith (5TB), a dedicated IP, and a sufficient CPU for hosting pages and a Bitcoin daemon. No setup fees, and you can pay month-to-month. http://www.kimsufi.co.uk/

Their support is awful, though. That's what I hear, anyway.

I've owned one of their more powerful boxes, the Kimsufi 16G, for close to three months now, and it's been flawless. Not a single minute of downtime (including scheduled). Their huge networking backbone even takes care of any denial-of-service attacks for you. It's great!
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
November 28, 2011, 04:54:12 AM
 #13

I can't remember if I implemented this feature into the software yet or not. But it is suppose to send all available funds to the set off-line address when the cronjobs are ran.
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
November 28, 2011, 02:03:45 PM
 #14

Looks like I didn't actually make the cronjob functions send confirmed bitcoins to an off line address although I did put a variable in the config section of the library so I can later implement it.
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
November 28, 2011, 02:14:18 PM
 #15

This is great, thanks.

What is this licensed under?

I think i missed this question

The BitcoinRetail-lite project will always be completely open-source and available for free to the public under the MIT or X11 license the license/readme pages will tell you this

Quote
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. ENJOY.

How ever I have another Repo called BitcoinRetail which will be used with BitcoinRetail-Lite but it will be an out of the box installation setup and the BitcoinRetail Repo will be open source but in the future could be a money maker but with purchasable mods approved by the BitcoinRetail team.

I'm looking for BitcoinRetail-Lite volunteers who can spend 20minutes to an hour a month to write & add code to the project.
Skybuck
Full Member
***
Offline Offline

Activity: 185


View Profile
November 30, 2011, 06:08:40 PM
 #16

That requires running expensive hardware/servers/software/bandwidth/power surge protectors/power ups/backups/cooling/licenses/etc.
For £13.99 a month, you can get a dedicated server from Kimsufi, a subsidiary of OVH (the largest host of servers in Europe), with 2GB of ram, practically unlimited bandwith (5TB), a dedicated IP, and a sufficient CPU for hosting pages and a Bitcoin daemon. No setup fees, and you can pay month-to-month. http://www.kimsufi.co.uk/

Their support is awful, though. That's what I hear, anyway.

I've owned one of their more powerful boxes, the Kimsufi 16G, for close to three months now, and it's been flawless. Not a single minute of downtime (including scheduled). Their huge networking backbone even takes care of any denial-of-service attacks for you. It's great!

And how does a "dedicated server" offer more protection/security then a webhoster ?

I think you need to get a clue !
terrytibbs
Hero Member
*****
Offline Offline

Activity: 560



View Profile
November 30, 2011, 06:44:48 PM
 #17

And how does a "dedicated server" offer more protection/security then a webhoster ?

I think you need to get a clue !
Are you serious?
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
November 30, 2011, 07:03:47 PM
 #18

Terrytibs my advice to you is to read skybucks pastmessages they are all trolling messages i found out just ignore him.
Skybuck
Full Member
***
Offline Offline

Activity: 185


View Profile
December 01, 2011, 01:53:42 AM
 #19

And how does a "dedicated server" offer more protection/security then a webhoster ?

I think you need to get a clue !
Are you serious?

Yes, as far as I know anybody can access dedicated servers who have access to where ever the facility is.

Cases have been know where people walk in, take equipment with them and walk out...

I am not the troll, it seems you are, the forum marks you as a scammer ? Wink

Wouldn't you love getting your hands on some nice dedicated server, eh ?, full with bitcoins !?! Wink Smiley

LOL.
Skybuck
Full Member
***
Offline Offline

Activity: 185


View Profile
December 01, 2011, 01:57:29 AM
 #20

Terrytibs my advice to you is to read skybucks pastmessages they are all trolling messages i found out just ignore him.

No, I think you pretty stupid, if you expect people to use any kind of software where bitcoins are actually stored on some server somewhere, out of their control.

If a criminal would find out where that server is, perhaps in some facility where people share hardware, the criminal could then rent some equipment there and then try to steal that server or it's information...

Pretty damn dangerous scenerio !

You still have not responded to my posting about: "copieing the wallet" ?!?

So does that mean I was correct, and your software is flawed ? Wink

Starting to seem like it based on your silence.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!