Using Armory Secure Wallet With Python

Standard

Armory is an Open-Source wallet with cold storage and multi-signature support Armory was build in Python and parts of the wallet are in C++.  The example code that Armory provides is  outdated, limited needs to be updated to be useful; In this tutorial we show you some examples how to use it.

Installing Armory
If you do not have Armory Secure Bitcoin wallet installed, do this tutorial : https://bitcoinarmory.com/building-from-source/

ArmoryEngine
The main library to use is armoryengine.  This library contains loads of bitcoin related functions. You can use Python 2.7 to communicate with this library. The library has several packages which we will discuss below.

ArmoryEngine  PyBtcWallet
This package is able to interact with wallet files. Create this script:

And save it as example.py inside /BitcoinArmory/.  You can now execute it with:

which should output the address of that wallet. The package has many more functions which you can see in the file /armoryengine/PyBtcWallet.py

ArmoryEngine  PyBtcAddress
This package contains a lot of neat functions for working generating keys.

Generate a bitcoin address from a public key:

Generate a bitcoin address from a private key:

Generate a bitcoin address from a brainwallet key:

this will output the bitcoin address 1CeU9ugjwfsnzrhqjKy1HUBzXCCXVC76m1.

 ArmoryEngine Block
This package is used to interact with the blockchain. Armory is not a lite wallet, it downloads the entire blockchain to the disk.   To print the genisis block use this code:

Remember to put the path to the file correctly. The output should be:

 Get latest block hash from a file

ArmoryEngine  More
There is more stuff inside the library, much more than would fit into a single post. Depending on the interest in this post (feel free to comment), we will add more.

Ufasoft Multi-currency bitcoin client

Standard

We found a new project called Ufasoft. This is an open-source bitcoin wallet that supports a lot of cryptocurencies. It also includes a miner. It only supports the Microsoft Windows platform. Mac OS X or Linux users are “left in the dark”; The wallet is created in C# which may be a limitation for developers trying to port it to other platforms.  The wallet acts as a full bitcoin node.  User reviews here. 

A list of currencies the wallet supports:

  • Bitcoin – BTC
  • Namecoin – NMC
  • Litecoin – LTC
  • Peercoin – PPC
  • Novacoin – NVC
  • DevCoin – DVC
  • TerraCoin – TRC
  • FeatherCoin – FTC
  • PrimeCoin – XPM
  • ProtoShares – PTS
  • DogeCoin – DOGE
  • EarthCoin – EAC
  • MetisCoin – MTC
  • iXcoin – IXC

Download links:

  • http://ufasoft.com/coin/
  • https://github.com/ufasoft/coin

Screenshot: