Bitcoin Forum
May 06, 2024, 11:28:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Best Bitcoin solution for Python  (Read 892 times)
ads2alpha (OP)
Full Member
***
Offline Offline

Activity: 202
Merit: 101


View Profile
November 04, 2016, 01:01:04 PM
 #1

I am writing in Python the backend of a site which uses Bitcoin for processing transactions, storing user's money, and so on. Anybody could recommend a library/API/service for me to use?

I need the following functionality:
- creating/deleting wallets;
- assigning addresses to wallets;
- processing transactions between wallets inside and outside the system.

Maybe, you could point me to some examples which have already implemented such stuff. Thanks.
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Patatas
Legendary
*
Offline Offline

Activity: 1750
Merit: 1115

Providing AI/ChatGpt Services - PM!


View Profile
November 04, 2016, 01:08:50 PM
 #2

Python is a great choice!

I"ve listed following API's which partially or fully implement the requested features.

https://en.bitcoin.it/wiki/Bitcoin-python
https://www.block.io/api/python
https://github.com/jgarzik/python-bitcoinrpc
https://github.com/spesmilo/electrum/blob/master/lib/wallet.py

Apart from the mentioned API's,it's always wiser to write your own code and call JsonRpc.I'm not sure if the above libraries feature everything but you can always use them combined for  advanced implementations.
ads2alpha (OP)
Full Member
***
Offline Offline

Activity: 202
Merit: 101


View Profile
November 04, 2016, 01:36:00 PM
 #3

What do you mean by writing my own code and calling JSON RPC? Like writing a library for interaction between my app and the bitcoind?
Patatas
Legendary
*
Offline Offline

Activity: 1750
Merit: 1115

Providing AI/ChatGpt Services - PM!


View Profile
November 04, 2016, 01:39:17 PM
Merited by ABCbits (1)
 #4

What do you mean by writing my own code and calling JSON RPC? Like writing a library for interaction between my app and the bitcoind?
I'm leaving that explanation to the links below,basically instead of depending on 3rd party API's,why not write your own ?A lot of material is available online for the reference.
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#JSON-RPC

Better yet,here's on from python's official documentation (I think)
https://pypi.python.org/pypi/python-bitcoinrpc/
Noobgoob
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 07, 2016, 04:59:30 PM
 #5

No love for Pycoin!?

https://github.com/richardkiss/pycoin
xcbtrader
Hero Member
*****
Offline Offline

Activity: 865
Merit: 1006


View Profile
November 07, 2016, 10:33:53 PM
 #6

https://github.com/vbuterin/pybitcointools

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!