Giter Site home page Giter Site logo

qtum-electrum's Introduction

Qtum Electrum - Lightweight Qtum client

Qtum Electrum is a lightweight Qtum wallet forked from Electrum.

Licence: MIT Licence
Language: Python (>= 3.6)

image

image

Getting started

Electrum is a pure python application. If you want to use the Qt interface, install the Qt dependencies:

// linux
sudo apt-get install python3-pyqt5

// macOS (thanks @puruoni)
brew install pyqt5
export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"
export PATH="/opt/homebrew/opt/pyqt@5/bin:$PATH"
cp -pr /opt/homebrew/Cellar/pyqt@5/5.15.9/lib/python3.10/site-packages/*  /opt/homebrew/lib/python3.10/site-packages/.

// *** In the case of pyenv ***
cp -pr /opt/homebrew/Cellar/pyqt@5/5.15.9/lib/python3.10/site-packages/* /Users/[username]/.pyenv/versions/3.10.8/lib/python3.10/site-packages/.

For elliptic curve operations, libsecp256k1 is a required dependency:

// linux
sudo apt-get install libsecp256k1-0

// macOS
brew tap cuber/homebrew-libsecp256k1
brew install libsecp256k1

Alternatively, when running from a cloned repository, a script is provided to build libsecp256k1 yourself:

sudo apt-get install automake libtool
./contrib/make_libsecp256k1.sh

Due to the need for fast symmetric ciphers, either one of pycryptodomex or cryptography is required. Install from your package manager (or from pip):

sudo apt-get install python3-cryptography

If you would like hardware wallet support, see this.

Development version (git clone)

Check out the code from GitHub:

git clone https://github.com/qtumproject/qtum-electrum.git
cd qtum-electrum
git submodule update --init

Run install (this should install dependencies):

python3 -m pip install -r ./contrib/requirements/requirements-eth.txt
python3 -m pip install --user -e .

// fix protobuf on M1 macOS
export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python

Create translations (optional):

sudo apt-get install python-requests gettext
./contrib/make_locale

Finally, to start Electrum:

./run_electrum

Creating Binaries

Linux (tarball)

See contrib/build-linux/sdist/README.md.

Linux (AppImage)

See contrib/build-linux/appimage/README.md.

Mac OS X / macOS

See contrib/osx/README.md.

Windows

See contrib/build-wine/README.md.

Android

See electrum/gui/kivy/Readme.md.

qtum-electrum's People

Contributors

admin-slush avatar akshayaurora avatar bauerj avatar benma avatar bitromortac avatar cculianu avatar chrisglass avatar dabura667 avatar darrindaigle avatar ecdsa avatar echterago avatar fluffypony avatar genjix avatar haarts avatar icodeface avatar jeremyrand avatar jimboman77 avatar m0mchil avatar matejcik avatar neocogent avatar ovidiusoft avatar rofl0r avatar romanz avatar sombernight avatar stefaang avatar toxeus avatar verretor avatar wakiyamap avatar wozz avatar ysangkok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qtum-electrum's Issues

click Trezor icon,qtum-eletrum crash

hello, there is a bug for using Trezor, when I connect Trezor and then click the Trezor icon in the bottom right corner, interface will crash, the information is this:
Traceback (most recent call last):
File "/home/tete/Desktop/testqtum/qtum0803/qtum-electrum/qtum_electrum/gui/qt/util.py", line 682, in on_done
cb_result(result)
File "/home/tete/Desktop/testqtum/qtum0803/qtum-electrum/qtum_electrum/plugins/trezor/qt.py", line 348, in update
coins = ", ".join(coin.coin_name for coin in features.coins)
File "/home/tete/Desktop/newvenv/venv/lib/python3.5/site-packages/trezorlib/protobuf.py", line 158, in getattr
raise AttributeError(attr)
AttributeError: coins

can't send token

I got into trouble with send Token,i successfully installed the software on Ubuntu16.04,but when I send Token in test net , There appears a bug,the track back infomation like this:

Traceback (most recent call last):
File "/home/tete/Desktop/newvenv/origin/qtum-electrum/qtum_electrum/gui/qt/main_window.py", line 3164, in _smart_contract_broadcast
sender=sender)
File "/home/tete/Desktop/newvenv/origin/qtum-electrum/qtum_electrum/wallet.py", line 1196, in make_unsigned_transaction
fee_estimator, self.dust_threshold(), sender)
File "/home/tete/Desktop/newvenv/origin/qtum-electrum/qtum_electrum/coinchooser.py", line 223, in make_tx
self.penalty_func(tx), sender)
File "/home/tete/Desktop/newvenv/origin/qtum-electrum/qtum_electrum/coinchooser.py", line 365, in choose_buckets
return strip_unneeded(selected, sufficient_funds, sender)
File "/home/tete/Desktop/newvenv/origin/qtum-electrum/qtum_electrum/coinchooser.py", line 83, in strip_unneeded
if not sufficient_funds(bkts[i + 1:]):
File "/home/tete/Desktop/newvenv/origin/qtum-electrum/qtum_electrum/coinchooser.py", line 216, in sufficient_funds
total_input = sum(bucket.value for bucket in buckets)
File "/home/tete/Desktop/newvenv/origin/qtum-electrum/qtum_electrum/coinchooser.py", line 216, in
total_input = sum(bucket.value for bucket in buckets)
AttributeError: 'str' object has no attribute 'value'

AFTER this , i try to print the elements in Buckets,then I found the item at last is my address,

####buckets item #####
Bucket(desc='qdBDeM1aJgbTvLsgZbu6cnk5WCKqhTX8zy', size=148, value=741000, coins=[{'num_sig': 1, 'type': 'p2pkh', 'height': 178608, 'prevout_n': 1, 'x_pubkeys': ['ff043587cf035252541a80000000dfa62369aa98c14d99cdd059fa3ad2bf1661791b53e535bccbed4d95695e0c58024c9858692ab58356f63d05feb388094a13b5859f9e8314f751cd7648101540eb00001300'], 'value': 741000, 'prevout_hash': 'b66a9bd81de1676e1bad84229e9fc75bc27f03638b292ac70aed3ae3bc8c8bc2', 'coinbase': False, 'signatures': [None], 'address': 'qdBDeM1aJgbTvLsgZbu6cnk5WCKqhTX8zy'}])
####buckets item #####
Bucket(desc='qdBDeM1aJgbTvLsgZbu6cnk5WCKqhTX8zy', size=148, value=741000, coins=[{'num_sig': 1, 'type': 'p2pkh', 'height': 178608, 'prevout_n': 1, 'x_pubkeys': ['ff043587cf035252541a80000000dfa62369aa98c14d99cdd059fa3ad2bf1661791b53e535bccbed4d95695e0c58024c9858692ab58356f63d05feb388094a13b5859f9e8314f751cd7648101540eb00001300'], 'value': 741000, 'prevout_hash': 'b66a9bd81de1676e1bad84229e9fc75bc27f03638b292ac70aed3ae3bc8c8bc2', 'coinbase': False, 'signatures': [None], 'address': 'qdBDeM1aJgbTvLsgZbu6cnk5WCKqhTX8zy'}])
####buckets item #####
Bucket(desc='qT1c7kbJ5o19XgfqYB3KsXGuqTHs9LQLKD', size=148, value=1848076100, coins=[{'num_sig': 1, 'type': 'p2pkh', 'height': 178576, 'prevout_n': 1, 'x_pubkeys': ['ff043587cf035252541a80000000dfa62369aa98c14d99cdd059fa3ad2bf1661791b53e535bccbed4d95695e0c58024c9858692ab58356f63d05feb388094a13b5859f9e8314f751cd7648101540eb01000200'], 'value': 1848076100, 'prevout_hash': '98de1dea4c99f8d1ce5f76c6a86bc8a4bdac05df4647a4c9926dcc657c99dc59', 'coinbase': False, 'signatures': [None], 'address': 'qT1c7kbJ5o19XgfqYB3KsXGuqTHs9LQLKD'}])
####buckets item #####
qdBDeM1aJgbTvLsgZbu6cnk5WCKqhTX8zy

IN ADDTION,i try to send Qtum to others ,everything works well!!!

Can't update from Standard wallet

I can't update my standard wallet. It only creates a new one with a different address. The standard one won't show my MED tokens that was sent 3 days ago. I have QTUM in my wallet. Thanks

View on block explorer Crash

Traceback (most recent call last):
File "/Users/codeface/QtumWorkspace/qtum-electrum/qtum_electrum/gui/qt/history_list.py", line 271, in
menu.addAction(_("View on block explorer"), lambda: open_browser(tx_URL))
File "/Users/codeface/QtumWorkspace/qtum-electrum/qtum_electrum/util.py", line 822, in open_browser
for name in webbrowser._tryorder:
TypeError: 'NoneType' object is not iterable
Abort trap: 6

disable connecting select on first open

It is not necessary for common users to select this, and gives them a lot confusion.
For those who wants to specify the servers, they can edit the config file directly.

Crash on macOS

When I run "Qtum Electrum" it pops up a dialog box asking for the password. After entering it the app exits immediately. Running it from the command shows the following output:

[ecc] warning: libsecp256k1 library not available, falling back to python-ecdsa
Traceback (most recent call last):
  File "qtum_electrum/daemon.py", line 328, in init_gui
  File "qtum_electrum/gui/qt/__init__.py", line 296, in main
  File "qtum_electrum/gui/qt/__init__.py", line 187, in wrapper
  File "qtum_electrum/gui/qt/__init__.py", line 208, in start_new_window
  File "qtum_electrum/gui/qt/__init__.py", line 245, in _start_wizard_to_select_or_create_wallet
  File "qtum_electrum/gui/qt/installwizard.py", line 325, in run_upgrades
  File "qtum_electrum/base_wizard.py", line 144, in upgrade_storage
TypeError: waiting_dialog() got an unexpected keyword argument 'on_finished'

I'm running on macOS 10.14.3.

Electrum Qtum Wallet MED tokens issue

Hi,

I have a problem sending MED tokens from my Electrum Qtum wallet to Gate.io. The error message is:

choose_buckets - sender address has no u txo

Can anyone help, please?

Thanks
Jester78

paymentrequest_pb2.py

Trying to run from linux source:
Error: could not find paymentrequest_pb2.py. Create it with 'protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto'
Ran protoc don't fix the issue. The files exist:
lib/paymentrequest_pb2.py lib/paymentrequest.proto lib/paymentrequest.py

ModuleNotFoundError: No module named 'Cryptodome'

On Ubuntu 17.10

./qtum-electrum

Traceback (most recent call last):
  File "./qtum-electrum", line 54, in check_imports
    import eth_utils
  File "/home/jeff/.local/lib/python3.6/site-packages/eth_utils/__init__.py", line 5, in <module>
    from .abi import (  # noqa: F401
  File "/home/jeff/.local/lib/python3.6/site-packages/eth_utils/abi.py", line 1, in <module>
    from .crypto import keccak
  File "/home/jeff/.local/lib/python3.6/site-packages/eth_utils/crypto.py", line 1, in <module>
    from eth_hash.auto import keccak as keccak_256
  File "/home/jeff/.local/lib/python3.6/site-packages/eth_hash/auto.py", line 4, in <module>
    from eth_hash.utils import (
  File "/home/jeff/.local/lib/python3.6/site-packages/eth_hash/utils.py", line 3, in <module>
    import eth_hash.backends.pycryptodomex
  File "/home/jeff/.local/lib/python3.6/site-packages/eth_hash/backends/pycryptodomex.py", line 1, in <module>
    from Cryptodome.Hash import (
ModuleNotFoundError: No module named 'Cryptodome'
Error: No module named 'Cryptodome'. Try 'sudo pip install <module-name>'

Then
sudo pip install Cryptodome or sudo pip3 install Cryptodome says No matching distribution found for Cryptodome

Wallet doesn't start

After following the compilation instructions, and after having tried binary builds for both Windows and macOS (and having them both not start), I am opening this issue to paste the CLI output.

$ ./run_qtum_electrum 
[ecc] warning: libsecp256k1 library not available, falling back to python-ecdsa
Traceback (most recent call last):
  File "/root/Documents/qtum/qtum-electrum/qtum_electrum/gui/qt/__init__.py", line 285, in main
    self.init_network()
  File "/root/Documents/qtum/qtum-electrum/qtum_electrum/gui/qt/__init__.py", line 279, in init_network
    wizard = InstallWizard(self.config, self.app, self.plugins, None)
TypeError: __init__() takes 4 positional arguments but 5 were given

Fiat value is wrong

The fiat value of Qtum is referenced to the price of Bitcoin when US$ is chosen. As a result, the total value quoted is totally wrong.

ImportError no module named 'eth_abi' on Android device

When I run contrib/make_apk to debug on android mobile,the app crashed.I checked the log and found some error as below:
07-12 14:55:22.247 754 754 I cnss-daemon: NDA_LLADDR received\r
'b'07-12 14:55:22.741 27620 27660 I python : Traceback (most recent call last):
07-12 14:55:22.741 27620 27660 I python : File "main.py", line 75, in \r
'b'07-12 14:55:22.742 27620 27660 I python : imp.load_module('qtum_electrum', *imp.find_module('lib'))
07-12 14:55:22.742 27620 27660 I python : File "/data/user/0/org.qtum.qelectrum/files/app/crystax_python/stdlib.zip/imp.py", line 244, in load_module
07-12 14:55:22.742 27620 27660 I python : File "/data/user/0/org.qtum.qelectrum/files/app/crystax_python/stdlib.zip/imp.py", line 216, in load_package
07-12 14:55:22.742 27620 27660 I python : File "", line 693, in _load
07-12 14:55:22.743 27620 27660 I python : File "", line 673, in _load_unlocked\r
'b'07-12 14:55:22.743 27620 27660 I python : File "", line 662, in exec_module
07-12 14:55:22.743 27620 27660 I python : File "", line 222, in _call_with_frames_removed
07-12 14:55:22.743 27620 27660 I python : File "./lib/init.py", line 3, in \r
'b'07-12 14:55:22.744 27620 27660 I python : from .wallet import Synchronizer, Wallet
07-12 14:55:22.744 27620 27660 I python : File "./lib/wallet.py", line 44, in
07-12 14:55:22.744 27620 27660 I python : from .qtum import *
07-12 14:55:22.744 27620 27660 I python : File "./lib/qtum.py", line 7, in
07-12 14:55:22.744 27620 27660 I python : from eth_abi import encode_abi

07-12 14:55:22.745 27620 27660 I python : ImportError: No module named 'eth_abi'\r

'b'07-12 14:55:22.801 27620 27660 I python : Python for android ended.\rom .qtum import *
07-12 14:55:22.744 27620 27660 I python : File "./lib/qtum.py", line 7, in
07-12 14:55:22.744 27620 27660 I python : from eth_abi import encode_abi
07-12 14:55:22.745 27620 27660 I python : ImportError: No module named 'eth_abi'\r
'b'07-12 14:55:22.801 27620 27660 I python : Python for android ended.\r

I checked the requirements.txt,but there is no eth_api found.
What should I do to import 'eth-api'?

qtum-electrum build by myself on mac os,but not work.

@icodeface ,
After following the instructions build sucessfully qtum-electrum v0.18.4 on mac os, and install the Qtum-electrum-osx-V0.18.4.dmg sucessfully , run it no reaction(no dialog pops up,no warning) .
I use the Qtum-electrum-osx-V0.18.4.dmg (download from https://github.com/qtumproject/qtum-electrum/releases) to install , it' ok.
I haven't find differences between the two, Can you help me?
Thank you !

macOS High Sierra:Version 10.13.3

Error with "pip3 install -r requirements.txt"

There is a problem while building the code in DEBIAN Stretch.
Many warnings appear after executing "pip3 install -r requirements.txt", like :
hidapi/libusb/hid.c error: unknown type name 'libusb_device_handle'
or
hidapi/libusb/hid.c error: unknown type name 'libusb device'

Lost Address

Created a new wallet and added a smart contact for PUT.
Sent a small amount from another wallet and when I tried to use QTUM-Electrum to check it froze and crashed for unknown reason. Most likely it was due to pc and all of the apps I was running.
Restarted the app and the smart contact wallet address is missing.
Re-added the smart contact but now the wallet address is missing.
Restarted the app to make sure second wallet address does not disappear - it remained in app.

How do I retrieve the previous address and re-associate it to the app?

First address is QZrn7KmcDQQBZJwYFYPMG3B3sMhQGgbrDe
Second address is QW9ry2hsUtVEgXxaJMk3xTbRDtwmh65f1D

Wrong address path for selected coin

device: trezor one
firmware: v1.6.1

qtum-electrum version 0.18.4
on Windows and macOS

When I click on the display address, the trzor screen shows the wrong address path for the selected coin.
When you click Continue, the address shown on the trevor screen (headed by m) is different from the actual address on the computer (headed by q).

IMG_1413.jpg
IMG_9265.jpg

Electrum bitcoin wallet phishing attack

The Electrum bitcoin wallet had a phishing attack and mitigations described below. Should these mitigations be updated for Qtum Electrum?

spesmilo/electrum#4968

spesmilo/electrum#4953

qt: show_message and friends display plaintext by default
spesmilo/electrum@5dc240d
SomberNight committed 13 days ago

gui: prepend broadcast_transaction errors with explanatory message
spesmilo/electrum@5248613
SomberNight committed 13 days ago

kivy network dialog: update server and proxy properly โ€ฆ
spesmilo/electrum@b491a30
SomberNight committed 13 days ago

UnboundLocalError: local variable 'date' referenced before assignment

Traceback (most recent call last):
File "/xxx/qtum-electrum/qtum_electrum/gui/qt/main_window.py", line 803, in update_tabs
self.history_list.update()
File "/xxx/qtum-electrum/qtum_electrum/gui/qt/util.py", line 532, in update
self.on_update()
File "/xxx/qtum-electrum/qtum_electrum/util.py", line 297, in
return lambda *args, **kw_args: do_profile(args, kw_args)
File "/xxx/qtum-electrum/qtum_electrum/util.py", line 293, in do_profile
o = func(*args, **kw_args)
File "/xxx/qtum-electrum/qtum_electrum/gui/qt/history_list.py", line 146, in on_update
start_date = date.today()
UnboundLocalError: local variable 'date' referenced before assignment

Emergency: receiving token problem

Hi, i am a qtum electrum wallet user, i made a withdrawal transfer from mi all coin account and this is the TXID: 6e76c1c7afaf18c774a6106cfc4d9006551cba65f285e1a847a7774119ea258a

I was ell done with all data correct to this account QYPA9pCj3mJXRqQ3sUaGCsx2EmvWidZehR
But the withdrawal never arrived to my qtum electrum wallet. Please which has been the problem? may we solve it? sxuppously qtum electrum wallet is a qtum wallet, what can we do?

image 2018-02-16 20 12 15

ZeroDivisionError: division by zero

Crash Report

This crash report was reported through the automatic crash reporting system ๐Ÿค–

Traceback

  File "C:/Users/bauerj/Documents/GitHub/electrum\gui\qt\main_window.py", line 544, in show_about
    1/0

ZeroDivisionError: division by zero

Reporter

This issue was reported by 3 user(s):

Qtum Electrum Version Python Version Operating System Wallet Type Locale
b'3.0.3-367-g3838fdb'3.1 Windows-10-10.0.16299-SP0 standard de_DE
b'3.0.3-367-g3838fdb'3.1 Windows-10-10.0.16299-SP0 standard de_DE
b'3.0.3-367-g3838fdb'3.1 Windows-10-10.0.16299-SP0 standard de_DE

Additional Information

Test


Test


Test


Failed to compile output issue

Got a major problem with the wallet. I installed the wallet using a Trezor on MACos and around Christmas time I uploaded some Qtum to the wallet. This week I am trying to move the Qtum to a Ledger nano. Everything seems fine until I try and send the transaction where I get a "failed to compile output" warning. I've scoured the net trying to find a solution but even though it is a known issue and attempts to solve it in my case fail. I have installed a new wallet in Windows and with the Trezor, I can see the coins but I still get the same warning. I suspect the Private keys held in the Trezor keeps the coins safe and if I can use another Trezor supported wallet then maybe i'm able to access them. Anyone know of another Trezor supported Qtum wallet?

Qtum electrum wallet

trying to reclaim my wallet ( desktop) after computer crash. Downloaded the wallet and got an icon on the desktop but it won't open. I've got all the password and passphrases

None of this work.

Tried both options from the instructions on my Ubuntu 16.04 LTS and none of them worked.

./electrum bash: ./electrum: Permission denied

I also tried the dev version, I get so many pip errors it's simply stupid and after fixing one the next one comes up.

Fucking waste of time...

QTUM electrum wallet not connected

I just created a QTUM Electrum wallet and its stating not connected, I did a internet search and it appears the Electrum wallet has been working on their severs since December.
Anyone able to connect to check their balance.

ValueError: not enough values to unpack (expected 6, got 4)

Crash Report

This crash report was reported through the automatic crash reporting system ๐Ÿค–

Traceback

  File "qtum_electrum/gui/qt/main_window.py", line 2371, in export_history_dialog
  File "qtum_electrum/gui/qt/main_window.py", line 2391, in do_export_history

ValueError: not enough values to unpack (expected 6, got 4)

Reporter

This issue was reported by 2 user(s):

Qtum Electrum Version Python Version Operating System Wallet Type Locale
0.18.8 3.6.2 (default, Aug 28 2018, 13:46:40)
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)] Darwin-17.5.0-x86_64-i386-64bit imported ?
0.18.8 3.6.2 (default, Aug 28 2018, 13:46:40)
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)] Darwin-17.7.0-x86_64-i386-64bit imported ?

Additional Information

The reporting user(s) did not provide additional information.

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-45xh527h/publicsuffix/

Hello everyone. I'm encountering an issue during dependencies installation. I'm using Ubuntu 18.04 as OS and Docker as the platform. The output below:

Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-45xh527h/publicsuffix/setup.py", line 19, in <module> long_description=get_long_description(), File "/tmp/pip-build-45xh527h/publicsuffix/setup.py", line 13, in get_long_description read_doc("LICENSE") File "/tmp/pip-build-45xh527h/publicsuffix/setup.py", line 7, in read_doc return open(os.path.join(os.path.dirname(__file__), name)).read() File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 23: ordinal not in range(128)

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-45xh527h/publicsuffix/

sweep failed

error: {'code': 1, 'message': 'the transaction was rejected by network rules.\n\nmandatory-script-verify-flag-failed (Signature is found in scriptCode) ...

QTUM Addresses Beginning With "M"

A user reported a QTUM address beginning with an "M" created by the Electrum wallet, such as MEUpxFraYcLQMnXQxiwRhWx6NkNmvU8s6H

This address appears to be a valid address and work for transactions, but is disconcerting to the user.

Here is a screen shot from the user:

electrum addresses 4-29-2018

qtum.py:NameError: name 'hmac' is not defined

Traceback (most recent call last):
File "/Users/codeface/QtumWorkspace/qtum-electrum/qtum_electrum/gui/qt/seed_dialog.py", line 155, in on_edit
b = self.is_seed(s)
File "/Users/codeface/QtumWorkspace/qtum-electrum/qtum_electrum/qtum.py", line 202, in
is_seed = lambda x: bool(seed_type(x))
File "/Users/codeface/QtumWorkspace/qtum-electrum/qtum_electrum/qtum.py", line 193, in seed_type
if is_new_seed(x):
File "/Users/codeface/QtumWorkspace/qtum-electrum/qtum_electrum/qtum.py", line 170, in is_new_seed
s = bh2u(hmac_sha_512(b"Seed version", x.encode('utf8')))
File "/Users/codeface/QtumWorkspace/qtum-electrum/qtum_electrum/qtum.py", line 164, in
hmac_sha_512 = lambda x, y: hmac.new(x, y, hashlib.sha512).digest()
NameError: name 'hmac' is not defined
Abort trap: 6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.