Bitcoin Forum

Bitcoin => Wallet software => Topic started by: adrian33 on June 20, 2011, 09:16:14 AM



Title: Most straightforward way to run a server-side python client
Post by: adrian33 on June 20, 2011, 09:16:14 AM
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


Title: Re: Most straightforward way to run a server-side python client
Post by: titeuf_87 on June 20, 2011, 09:56:20 AM
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.


Title: Re: Most straightforward way to run a server-side python client
Post by: wumpus on June 20, 2011, 03:09:01 PM
From a quick look at your links, it seems that https://github.com/toomanysecrets0/bitcoin-python/ does this.
+1


Title: Re: Most straightforward way to run a server-side python client
Post by: jandd on June 23, 2011, 05:05:29 AM
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 (https://gitorious.org/bitcoinclient). I use it as described by titeuf_87 running bitcoind in a separate LXC container.


Title: Re: Most straightforward way to run a server-side python client
Post by: wumpus on June 23, 2011, 06:36:56 AM
bitcoin-python also has no dependencies beyond Python itself