Giter Club home page Giter Club logo

electrum's Introduction

Electrum Port - Lightweight VERGE client

Licence: MIT Licence
Original Author: Thomas Voegtlin
Modified to be compatible with the Verge Blockchain
Language: Python (>= 3.6)
Homepage: https://vergecurrency.com

https://github.com/vergecurrency/electrum/workflows/Lint%20Electrum/badge.svg?branch=master

https://github.com/vergecurrency/electrum/workflows/Windows%20Electrum/badge.svg?branch=master

https://github.com/vergecurrency/electrum/workflows/MacOS%20build/badge.svg?branch=master

https://img.shields.io/github/downloads/vergecurrency/electrum/total

Getting started

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

sudo apt-get install python3-pyqt5

If you downloaded the official package (tar.gz), you can run Electrum from its root directory without installing it on your system; all the python dependencies are included in the 'packages' directory. To run Electrum from its root directory, just do:

./run_electrum

You can also install Electrum on your system, by running this command:

sudo apt-get install python3-setuptools
python3 -m pip install .[fast]

This will download and install the Python dependencies used by Electrum instead of using the 'packages' directory. The 'fast' extra contains some optional dependencies that we think are often useful but they are not strictly needed.

If you cloned the git repository, you need to compile extra files before you can run Electrum. Read the next section, "Development Version".

Development version

Check out the code from GitHub:

git clone git://github.com/vergecurrency/electrum.git
cd electrum
git submodule update --init

Run install (this should install dependencies):

python3 -m pip install .[fast]

Compile the protobuf description file:

sudo apt-get install protobuf-compiler
protoc --proto_path=electrum --python_out=electrum electrum/paymentrequest.proto

Create translations (optional):

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

Creating Binaries

Linux (tarball)

See contrib/build-linux/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.

electrum's People

Contributors

admin-slush avatar akshayaurora avatar bauerj avatar blinkystitt avatar cculianu avatar chrisglass avatar dabura667 avatar darrindaigle avatar ecdsa avatar echterago avatar fluffypony avatar genjix avatar haarts avatar jeremyrand avatar jimboman77 avatar justinvforvendetta avatar lzsaver avatar m0mchil avatar marpme avatar matejcik avatar neocogent avatar ovidiusoft avatar rofl0r avatar romanz avatar sombernight avatar stefaang avatar swat69 avatar toxeus avatar wozz avatar ysangkok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

electrum's Issues

No connection on latest electrum version

Debug output as follows:

E/i | interface.[electrum.verge.dev:50002] | Exception in wrapper_func: UnsupportedAlgorithm('Backend object does not implement ScryptBackend.')
Traceback (most recent call last):
File "/home/user/Downloads/electrumverge/electrum/electrum/util.py", line 988, in wrapper
return await func(*args, **kwargs)
File "/home/user/Downloads/electrumverge/electrum/electrum/interface.py", line 334, in wrapper_func
return await func(self, *args, **kwargs)
File "/home/user/Downloads/electrumverge/electrum/electrum/interface.py", line 358, in run
await self.open_session(ssl_context)
File "/home/user/Downloads/electrumverge/electrum/electrum/interface.py", line 465, in open_session
await group.spawn(self.monitor_connection)
File "/home/user/.local/lib/python3.7/site-packages/aiorpcx/curio.py", line 242, in aexit
await self.join()
File "/home/user/.local/lib/python3.7/site-packages/aiorpcx/curio.py", line 211, in join
raise task.exception()
File "/home/user/Downloads/electrumverge/electrum/electrum/interface.py", line 501, in run_fetch_blocks
self.mark_ready()
File "/home/user/Downloads/electrumverge/electrum/electrum/interface.py", line 370, in mark_ready
chain = blockchain.check_header(self.tip_header)
File "/home/user/Downloads/electrumverge/electrum/electrum/blockchain.py", line 612, in check_header
if b.check_header(header):
File "/home/user/Downloads/electrumverge/electrum/electrum/blockchain.py", line 247, in check_header
header_hash = hash_header(header)
File "/home/user/Downloads/electrumverge/electrum/electrum/blockchain.py", line 86, in hash_header
return hash_raw_header(serialize_header(header))
File "/home/user/Downloads/electrumverge/electrum/electrum/blockchain.py", line 91, in hash_raw_header
return hash_encode(getPoWHash(header_bytes))
File "/home/user/Downloads/electrumverge/electrum/electrum/blockchain.py", line 38, in
getPoWHash = lambda x: Scrypt(salt=x, length=32, n=1024, r=1, p=1, backend=backend).derive(x)
File "/home/user/anaconda3/lib/python3.7/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py", line 29, in init
_Reasons.BACKEND_MISSING_INTERFACE
cryptography.exceptions.UnsupportedAlgorithm: Backend object does not implement ScryptBackend.

Receive tab: QR code invalid

The Coinomi app recognizes the QR code in the 'receive tab' as a bitcoin address.
QR is ok if I open it from the 'Addresses tab' with a right-click -> Details->Show QR code.

Can't connect

I've been trying to get this to connect to a server for 3 hours. Nothing is working and there's nothing resembling support anywhere I can find and every single article I can find about this issue doesn't work.

Please help.

How do you get this to connect to a server?

I'm using Release v4.0.0-beta3 because the newest version didn't have any Windows binaries and I can't compile them

Not connecting new ver 4.0.3

I downloaded the new version Electrum-XVG 4.0.3 but it does not connect to the network like the old version.
I already broke my head, but I could not find the cause!
Please help me
P.S. I also disabled the Windows firewall - did not help
1622998697890
1622998920968

send: TypeError

During the send procedere, I'm getting this error, but the transaction is broadcasted.
(Win10, latest v4.0.0-beta3:)

image
After pressing Send:

image

electrumwallet install on linuxmint

Hi,

Honestly I'm desperate I'm a linux user for some time but to install electrumxvg I don't know how to succeed.

I think I have installed all the dependencies but I can't run it.

./run_electrum

/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:154: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from google.protobuf.pyext import _message
/usr/lib/python3/dist-packages/google/protobuf/internal/containers.py:182: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
MutableMapping = collections.MutableMapping
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
Traceback (most recent call last):
File "./run_electrum", line 80, in
from electrum.logging import get_logger, configure_logging
File "/home/kaizox/Downloads/electrum-4.0.4/electrum/init.py", line 11, in
from . import daemon
File "/home/kaizox/Downloads/electrum-4.0.4/electrum/daemon.py", line 41, in
from jsonrpcclient.clients.aiohttp_client import AiohttpClient
ModuleNotFoundError: No module named 'jsonrpcclient.clients.


*error message

I followed the commands on this site and tried to make my linuxien head work with dependances python and version.

https://github.com/vergecurrency/electrum

But I'm stalling, let me know if you have a recommendation.

Linux Mint 20.2

Unconfirmed Transaction stuck in Mem Pool

Wallet initially created on linux / electrum-xvg
Finally found a working / synching wallet (windows / electrum)

I got an error, which I did not copy (about some quotes required on a field) but the transaction has been created and just sit there unconfirmed
https://verge-blockchain.info/tx/3af9bf6f5b4208c1a8be413b5413ff35b8c0ead242ea13ecde69fe4218dba576

It also appears as the only one pending in the queue, with other transactions passing through

I cannot seem to cancel it with electrum

Any help appreciated.

problem python3-module

Hello,

I'm running Linux mint 20.1 and I thought I had fulfilled all the requirements to use electrumverge

But I have this message when I enter this command:
$./run_electrum
Error: No module named 'pyaes'. Try 'sudo python3 -m pip install '

Can someone help me?

electrum not sync

Hi,

I just imported my private key on electrum with a history of transactions of several years but I have a problem all the transactions are displayed not verified while they are on the blockchain.

How can I do to sync well having only one server in onion?

[Packaging] Make this wallet available as flatpak package on FlatHub

Hi. Can you, kindly, make your wallet available as flatpak package on FlatHub? This way, you will make your wallet available for almost all Linux distros & users. Flatpak is a universal generic Linux package & is secure & sandbox.

Flatpak is much better than AppImage formate, being more secure & more convenient & easier to packaged than AppImage.

File blockchain_header gets corrupted

Electrum version v4 alpha2 : #a53a8db

after a few minutes, the run_electrum ls logging this error in the console and the connection is lost to the server:

E/i | interface.[electrum.marpmedev.xyz:50002] | Exception in wrapper_func: TypeError("unsupported operand type(s) for -: 'int' and 'str'",)
Traceback (most recent call last):
File "/home/ben/electrum2/electrum/util.py", line 988, in wrapper
return await func(*args, **kwargs)
File "/home/ben/electrum2/electrum/interface.py", line 334, in wrapper_func
return await func(self, *args, **kwargs)
File "/home/ben/electrum2/electrum/interface.py", line 358, in run
await self.open_session(ssl_context)
File "/home/ben/electrum2/electrum/interface.py", line 465, in open_session
await group.spawn(self.monitor_connection)
File "/home/ben/.local/lib/python3.6/site-packages/aiorpcx/curio.py", line 242, in aexit
await self.join()
File "/home/ben/.local/lib/python3.6/site-packages/aiorpcx/curio.py", line 211, in join
raise task.exception()
File "/home/ben/electrum2/electrum/interface.py", line 502, in run_fetch_blocks
await self._process_header_at_tip()
File "/home/ben/electrum2/electrum/interface.py", line 514, in _process_header_at_tip
_, height = await self.step(height, header)
File "/home/ben/electrum2/electrum/interface.py", line 572, in step
return await self._resolve_potential_chain_fork_given_forkpoint(good, bad, bad_header)
File "/home/ben/electrum2/electrum/interface.py", line 622, in _resolve_potential_chain_fork_given_forkpoint
b = forkfun(bad_header) # type: Blockchain
File "/home/ben/electrum2/electrum/blockchain.py", line 264, in fork
self.save_header(header)
File "/home/ben/electrum2/electrum/blockchain.py", line 188, in func_wrapper
return func(self, *args, **kwargs)
File "/home/ben/electrum2/electrum/blockchain.py", line 447, in save_header
self.swap_with_parent()
File "/home/ben/electrum2/electrum/blockchain.py", line 357, in swap_with_parent
if not self._swap_with_parent():
File "/home/ben/electrum2/electrum/blockchain.py", line 375, in _swap_with_parent
if self.parent.get_chainwork() >= self.get_chainwork():
File "/home/ben/electrum2/electrum/blockchain.py", line 188, in func_wrapper
return func(self, *args, **kwargs)
File "/home/ben/electrum2/electrum/blockchain.py", line 565, in get_chainwork
work_in_single_header = self.chainwork_of_header_at_height(cached_height)
File "/home/ben/electrum2/electrum/blockchain.py", line 544, in chainwork_of_header_at_height
work = ((2 ** 256 - target - 1) // (target + 1)) + 1
TypeError: unsupported operand type(s) for -: 'int' and 'str'
E/i | interface.[electrum.marpmedev.xyz:50002] | Exception in wrapper_func: AssertionError((0, 1),)
Traceback (most recent call last):
File "/home/ben/electrum2/electrum/util.py", line 988, in wrapper
return await func(*args, **kwargs)
File "/home/ben/electrum2/electrum/interface.py", line 334, in wrapper_func
return await func(self, *args, **kwargs)
File "/home/ben/electrum2/electrum/interface.py", line 358, in run
await self.open_session(ssl_context)
File "/home/ben/electrum2/electrum/interface.py", line 465, in open_session
await group.spawn(self.monitor_connection)
File "/home/ben/.local/lib/python3.6/site-packages/aiorpcx/curio.py", line 242, in aexit
await self.join()
File "/home/ben/.local/lib/python3.6/site-packages/aiorpcx/curio.py", line 211, in join
raise task.exception()
File "/home/ben/electrum2/electrum/interface.py", line 502, in run_fetch_blocks
await self._process_header_at_tip()
File "/home/ben/electrum2/electrum/interface.py", line 514, in _process_header_at_tip
_, height = await self.step(height, header)
File "/home/ben/electrum2/electrum/interface.py", line 572, in step
return await self._resolve_potential_chain_fork_given_forkpoint(good, bad, bad_header)
File "/home/ben/electrum2/electrum/interface.py", line 622, in _resolve_potential_chain_fork_given_forkpoint
b = forkfun(bad_header) # type: Blockchain
File "/home/ben/electrum2/electrum/blockchain.py", line 264, in fork
self.save_header(header)
File "/home/ben/electrum2/electrum/blockchain.py", line 188, in func_wrapper
return func(self, *args, **kwargs)
File "/home/ben/electrum2/electrum/blockchain.py", line 444, in save_header
assert delta == self.size(), (delta, self.size())
AssertionError: (0, 1)

After deleting the file blockchain header the client is able to connect again until the error occurs again, the issue is reproducible.

can not connect

i can not connect to my electrum verge wallet. i dont understand why i can not post about it? it is a bug and i does not work. and this is the site im send to for help when i press help from my wallet and i cant find any help. how am i supost to find help if i cant ask for it?

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.