Bitcoin Forum
December 14, 2024, 02:23:52 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Minimum Python Files For armoryengine  (Read 731 times)
genericpersona (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 28, 2015, 07:46:34 PM
 #1

I want to use Armory's Python library for running a watch-only wallet on a machine unable to store the entire blockchain. 

After running make on the Armory Github source, which files are required to import armoryengine.ALL?
btchris
Hero Member
*****
Offline Offline

Activity: 672
Merit: 504

a.k.a. gurnec on GitHub


View Profile WWW
March 28, 2015, 09:35:35 PM
 #2

I want to use Armory's Python library for running a watch-only wallet on a machine unable to store the entire blockchain. 

I'm not sure how you'd go about implementing a watch-only wallet using Armory without having the entire blockchain. Armory is designed to require it. If you want some Python software to implement a watch-only wallet, something Electrum-based might fit your needs better.

After running make on the Armory Github source, which files are required to import armoryengine.ALL?

FYI you don't need to build Armory from source in order to use its libraries, you can just use one of the distributed packages (unless of course your target platform isn't among those supported).

I know that doesn't answer your question, though.... sorry I don't know the answer, but my guess would be most of the .py and .pyd files except the BitTornado stuff, although I really don't know the details.
josephbisch
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
March 28, 2015, 10:11:54 PM
 #3

To import armoryengine.ALL, you need:

armoryengine directory and its contents
bitcoinrpc_jsonrpc directory and its contents
CppBlockUtils.py
_CppBlockUtils.so
qrcodenative.py
SDM.py

With just those files and directories, I was able to run the samples at https://bitcoinarmory.com/using-armory-python/.
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!