Bitcoin Forum
September 28, 2022, 06:32:10 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Best Bitcoin solution for Python  (Read 864 times)
ads2alpha (OP)
Full Member
***
Offline Offline

Activity: 213
Merit: 100


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.
1664346730
Hero Member
*
Offline Offline

Posts: 1664346730

View Profile Personal Message (Offline)

Ignore
1664346730
Reply with quote  #2

1664346730
Report to moderator
1664346730
Hero Member
*
Offline Offline

Posts: 1664346730

View Profile Personal Message (Offline)

Ignore
1664346730
Reply with quote  #2

1664346730
Report to moderator
1664346730
Hero Member
*
Offline Offline

Posts: 1664346730

View Profile Personal Message (Offline)

Ignore
1664346730
Reply with quote  #2

1664346730
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1664346730
Hero Member
*
Offline Offline

Posts: 1664346730

View Profile Personal Message (Offline)

Ignore
1664346730
Reply with quote  #2

1664346730
Report to moderator
1664346730
Hero Member
*
Offline Offline

Posts: 1664346730

View Profile Personal Message (Offline)

Ignore
1664346730
Reply with quote  #2

1664346730
Report to moderator
1664346730
Hero Member
*
Offline Offline

Posts: 1664346730

View Profile Personal Message (Offline)

Ignore
1664346730
Reply with quote  #2

1664346730
Report to moderator
Patatas
Legendary
*
Offline Offline

Activity: 1736
Merit: 1112


Bamboo DeFi, Pre-Sale Live Now. >>Join IEO<<


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.

░░░░░░░░░░░░▄▄▄▄▄▄▄███
▄▄▄▄░░░▄▄█▄▀▀▀▀▀▀███▀▀██
█████▀▀██▀▀████████▀███▄
████████▄████████████████▄
████▄███▀▀███████▀█████▄
░░███████▌▄▀██▄▄█▄███████
████▐███▌███▀▀▄▄█████████
█████████████▀▀██▀▄███▀████
██████▀████▀▄▀███████▄█▄▀█████
███████████████▄▄▄██████████▀
█████████████████▄▄███████▀
░░▀▄███████▀▄███▀▀▀▀▄▄▀████▀
░░░░░▀▀▀▀▀▄▄▄▀▀▀▀▀▀▀░░▀▀▀▀
▐███
██
██
██████▄▀
▐███
▐█
███▄▀
██
▐█
▐██
██
██
▐███
     Make your inner panda grow!     
TELEGRAM   TWITTER   MEDIUM   ANN THREAD
[]
Powered
by
▬▬▬▬▬
ads2alpha (OP)
Full Member
***
Offline Offline

Activity: 213
Merit: 100


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: 1736
Merit: 1112


Bamboo DeFi, Pre-Sale Live Now. >>Join IEO<<


View Profile
November 04, 2016, 01:39:17 PM
 #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/

░░░░░░░░░░░░▄▄▄▄▄▄▄███
▄▄▄▄░░░▄▄█▄▀▀▀▀▀▀███▀▀██
█████▀▀██▀▀████████▀███▄
████████▄████████████████▄
████▄███▀▀███████▀█████▄
░░███████▌▄▀██▄▄█▄███████
████▐███▌███▀▀▄▄█████████
█████████████▀▀██▀▄███▀████
██████▀████▀▄▀███████▄█▄▀█████
███████████████▄▄▄██████████▀
█████████████████▄▄███████▀
░░▀▄███████▀▄███▀▀▀▀▄▄▀████▀
░░░░░▀▀▀▀▀▄▄▄▀▀▀▀▀▀▀░░▀▀▀▀
▐███
██
██
██████▄▀
▐███
▐█
███▄▀
██
▐█
▐██
██
██
▐███
     Make your inner panda grow!     
TELEGRAM   TWITTER   MEDIUM   ANN THREAD
[]
Powered
by
▬▬▬▬▬
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!