Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.
/ hashmal Public archive
forked from mazaclub/hashmal

Hashmal is a Python application to develop Bitcoin scripts, providing an easy-to-use GUI to develop and test scripts

License

Notifications You must be signed in to change notification settings

uab-projects/hashmal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hashmal

Hashmal is an IDE for Bitcoin transaction scripts and a general cryptocurrency development toolbox. Its primary purpose is to make it easier to write, evaluate, and learn about transaction scripts.

Hashmal is intended for cryptocurrency developers and power users.

Key Features

  • Write scripts in human-readable form.
  • Observe the stack as scripts are executed.
  • See explanations of script operations as they are evaluated.
  • Generate transaction scripts using templates.
  • Deserialize and build transactions.
  • Deserialize blocks.
  • Communicate with full nodes or block explorers to retrieve blockchain data.
  • Encode and decode addresses.

Usage Tips

  • See Tools > Plugin Manager in the menubar for details on what each tool does.
  • You can manage tool layouts via Tools > Settings in the menubar.
  • When typing opcodes, you can omit the OP_ prefix for opcodes other than OP_1, OP_2, ...OP_16. For example, DUP and OP_DUP do the same thing.
  • When editing scripts, put something in double quotation marks to ensure it's interpreted as text rather than hex data.
  • You can quickly evaluate the script you're working on via Script > Evaluate in the menubar.

Libraries

To run the application you must use / have installed:

  • Python 2.7
  • PyQt4

PyQt4

You can install PyQt4 if you use Anaconda with the following command

conda install pyqt=4

If you use Debian / Ubuntu, you can use the following command

sudo apt install pyqt4-dev-tools

Installation instructions for other platforms: https://www.riverbankcomputing.com/software/pyqt/download

Installation

After that, use setup.py to build / install the application

python setup.py install

This will install the external module requirements listed in requirements.txt too

Documentation

See the file doc/usage.adoc for basic instructions. See the Hashmal wiki on Github for details.

The file doc/plugins.adoc has some information on the plugins system that Hashmal uses.

License

GPLv3.

About

Hashmal is a Python application to develop Bitcoin scripts, providing an easy-to-use GUI to develop and test scripts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%