Bitcoin Forum
November 10, 2024, 12:36:26 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Most straightforward way to run a server-side python client  (Read 2273 times)
adrian33 (OP)
Member
**
Offline Offline

Activity: 118
Merit: 10


View Profile
June 20, 2011, 09:16:14 AM
 #1

Hi there, what are the best tools to use for running a client on the server that holds bitcoins for many users, and then allows them to on-pay to a second set of users?

There was a recent thread addressing a Python client: http://forum.bitcoin.org/index.php?topic=231.20

Any overriding suggestions at this point?

I am working in a team with Python developers... these are a bunch of links that look relevant:

http://code.google.com/p/pybitcoin/wiki/BitcoinProtocol
https://github.com/gavinandresen/bitcointools
https://github.com/lachesis/pybitcoin
https://github.com/toomanysecrets0/bitcoin-python/
http://gitorious.org/bitcoim/python-bitcoim
https://github.com/phantomcircuit/bitcoin-alt
https://gitorious.org/bitcoin/spesmilo
and
https://github.com/jgarzik/python-bitcoinrpc

titeuf_87
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
June 20, 2011, 09:56:20 AM
 #2

None of the python clients are complete afaik.

The best way would be to run bitcoind as a daemon on the server (or another server somewhere on the network, to make it more secure) and communicate with it using json.

From a quick look at your links, it seems that https://github.com/toomanysecrets0/bitcoin-python/ does this.

15kfBM3TQ4PGzL7cKncU3su2pH7ZJmiLtr
wumpus
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
June 20, 2011, 03:09:01 PM
 #3

From a quick look at your links, it seems that https://github.com/toomanysecrets0/bitcoin-python/ does this.
+1

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
jandd
Newbie
*
Offline Offline

Activity: 6
Merit: 0



View Profile
June 23, 2011, 05:05:29 AM
 #4

If you need a Python client for bitcoind's RPC interface that has no dependencies besides Python 2.6 you might want to have a look at my implementation. I use it as described by titeuf_87 running bitcoind in a separate LXC container.
wumpus
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
June 23, 2011, 06:36:56 AM
 #5

bitcoin-python also has no dependencies beyond Python itself

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
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!