Electrum Dark

ELM4ever

Member
Feb 9, 2015
64
66
58
Today, I just offered the Encompass team a bounty of $1000 to speed up the integration of Trezor to Encompass.

Electrum BTC now supports Trezor.
Electrum-LTC 2.0.2 now supports Trezor.

Encompass the Electrum-style wallet, that efficiently provides multicoins support (BTC-LTC-DRK - and many more), should also be Trezor friendly!

EDIT: The bounty is also open to anyone that can provide Trezor support to Encompass - a working pull request on the Encompass Github page will vouch as a valid entry.
 
Last edited by a moderator:
  • Like
Reactions: yidakee

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
The wallet picks the seed words from a list of possible words. WRITE THEM down on a piece of paper. The password to encrypt the wallet information is yours to choose.
I've seen the list. What I'm asking is: Is there anyway we can create our own phrase in creating the seed? I guess it's not possible and there's a reason for this limitation?
 

duffman

New Member
Jan 17, 2015
16
31
13
I've seen the list. What I'm asking is: Is there anyway we can create our own phrase in creating the seed? I guess it's not possible and there's a reason for this limitation?
I'm sorry, moli. I do not think that is possible. As Thomas said: meatbags are not good at generating really random phrases.

The important variable for IRC is "report_hostname = electrum-drk.club"

Please ensure that ports 50001 and 50002 are forwarded to your drk server internal IP address (router configuration).

PS: I also use my server internal IP address for "host = 192.168.xxx.xxx" in my electrum-drk.conf file.

EDIT: I was able to connect to your server if I entered the electrum-drk.club manually. And you are on IRC. You must have done something right. Now, it could be just a question of propagating your server to the other clients. With Vertoe pull request, that will help.
I found a workaround for my problem. My provider does not like irc (irrsi also refuses to work), so some changes were necessary in the electrum-drk-server/src/ircthread.py file:

Code:
1a2
> import ssl
119a121
>             ssl_factory = irc.connection.Factory(wrapper=ssl.wrap_socket)
121c123
<                 c = client.server().connect('irc.freenode.net', 6667, self.nick, self.password, ircname=self.ircname)
---
>                 c = client.server().connect('irc.freenode.net', 7000, self.nick, self.password, ircname=self.ircname, connect_factory=ssl_factory)
Hey there!

Code:
~$ electrum-drk-server peers
[
    "D_ReizalehT",
    "D_drkclub",
    "D_WhyNotMe",
    "D_dct"
]
 
  • Like
Reactions: moli and thelazier

ELM4ever

Member
Feb 9, 2015
64
66
58
Ok. Everyone wanted to have an Electrum-style wallet and now that we have a system in place, it is not used?

There are 4 Electrum-servers to support the DRK network at the moment.

My server logged under 15 connections over the last month.

If the community is not interested, we can just shut them down - why waste the electricity? Unlike the DRK masternodes, Electrum-drk-servers don't receive any money from keeping up with the DRK blockchain, other than your donations...

As a reminder, the (Electrum-style) client with DRK support is available at https://github.com/mazaclub/encompass/releases

BTW: the mazaclub devs accepted the bounty challenge to implement Trezor to Encompass by mid-April... Is there anyone in the Darkcoin community that can do it better and faster?
 
Last edited by a moderator:
  • Like
Reactions: moli

Kong

Member
Apr 9, 2014
55
15
48
Ok. Everyone wanted to have an Electrum-style wallet and now that we have a system in place, it is not used?

There are 4 Electrum-servers to support the DRK network at the moment.

My server logged under 15 connections over the last month.

If the community is not interested, we can just shut them down - why waste the electricity? Unlike the DRK masternodes, Electrum-drk-servers don't receive any money from keeping up with the DRK blockchain, other than your donations...

As a reminder, the (Electrum-style) client with DRK support is available at https://github.com/mazaclub/encompass/releases

BTW: the mazaclub devs accepted the bounty challenge to implement Trezor to Encompass by mid-April... Is there anyone in the Darkcoin community that can do it better and faster?
I have a spare raspi 2 and a fixed ip address, i could set an electrum server up, if someone gives me some help....
 

ELM4ever

Member
Feb 9, 2015
64
66
58
I have a spare raspi 2 and a fixed ip address, i could set an electrum server up, if someone gives me some help....
Thanks! more servers always helps! But we need more "clients" at the moment.

If you want to be an Electrum-drk server:
1. Clone this Github repo. git clone ....
2. Read the HOWTO.md file carefully and follow the directions
3. You need to first setup darkcoind with txindex=1 in the config file. If you already have the blockchain, start ./darkcoind -reindex, once completed, re-start darkcoind with the txindex=1 in the config file. Reindexing the blockchain takes about 8 hours.
4. While it is re-indexing, create your certificates
5. Copy the sample Electrum server config file to /etc/electrum-drk.conf (or let run_electrum_drk_server guide you)
6. Modify the config file to include (sudo gedit /etc/electrum-drk.conf):
report_hostname (= your FQDN ) = drk.myserver.com (example, don't put a 101.203.xxx.xx IP address - looks bad in the client window)
host = YourInternalIPAddress (best if 192.168.XXX.XXX, e.g.: the IP of the server running Electrum-drk-server) - ensure that your router forwards the incoming ports to this IP (e.g.: 50001-50002, 8081-8082)
irc = yes
irc_nick = whatevertheF*youwant
ssl_certfile = path you gave to your server.crt file (in step 4)
ssl_keyfile = path you gave to your server.key file
path of leveldb, path = path you will give to your UTXO directory files
pruning limit = 10000
bitcoind section: username and password used in the darkcoind config file.
7. Create the UTXOs with sudo ./electrum-drk-server start (also takes about 8 hours). You can start creating the UTXOs as soon as some block have been indexed on darkcoind.
PM me if you need extra help.
 
Last edited by a moderator:

Kong

Member
Apr 9, 2014
55
15
48
Thanks, i am a linux newbie, but with your great explanation i think that i can get this server to run. Got also masternodes to run with back then zero linux experience.... :) So, this will be a new challenge :)
 
  • Like
Reactions: ELM4ever

QuantumExplorer

Active Member
Core Developer
Aug 20, 2014
126
161
93
ELM4ever I'm making a light wallet for the iPhone right now, and I think it would be awesome to use your electrum servers at least for some aspects like "getaddressunspent".

Keep your servers running, they will be used a lot once I release (which could be in quite a while sadly since I really have a lot to cover).
 

thefrog

Member
May 25, 2014
57
26
58
Hi,
any plans on making forward with the electrum wallets ?
Like, could we talk to Hive and ask them to include DASH ? Or port Encompass to Android and iOS ?
I am asking because I would set up an electrum server if it is of some use.
Or, maybe the masternodes could work as electrum servers as well ?
 

ELM4ever

Member
Feb 9, 2015
64
66
58
Hi,
any plans on making forward with the electrum wallets ?
Like, could we talk to Hive and ask them to include DASH ? Or port Encompass to Android and iOS ?
I am asking because I would set up an electrum server if it is of some use.
Or, maybe the masternodes could work as electrum servers as well ?
Maybe - but we have other plans for Electrum-style servers in the future.

Encompass (a fork of Electrum) is the only one supporting Dash (any other custom version wouldn't make sense - so easy to add a coin to Encompass). It is already working as a normal client, with 3-4 servers supporting it. Furthermore, I am currently testing their implementation with Trezor support. Trezor has committed a pull-request to include Dash in their firmware 1.3.3 (trezor/trezor-mcu/coin.c) (already on Github, but yet to be released as a signed version by SatoshiLabs). Once SatoshiLabs releases their next firmware, Encompass will automatically support the Trezor. I haven't found any bugs so far. Encompass supports BTC, LTC, DASH, MZC, VIA (only the last two don't have Trezor support yet - SatoshiLabs don't believe that they have enough Market cap to include them in their firmware...). With Encompass, only one click is needed to swap between coin wallets, and the same Trezor wallet can accommodate all three coins on one unit. The first true Multi-coin HW wallet in the world! Encompass made it possible - version 0.5.0 is what you are looking for. If you want to experiment with their beta version at https://github.com/mazaclub/encompass and provide them with feedbacks - it would be great!
 
Last edited by a moderator:
  • Like
Reactions: moli and UdjinM6

donho

Member
Masternode Owner/Operator
Apr 16, 2014
96
20
58
Maybe - but we have other plans for Electrum-style servers in the future.

Encompass (a fork of Electrum) is the only one supporting Dash (any other custom version wouldn't make sense - so easy to add a coin to Encompass). It is already working as a normal client, with 3-4 servers supporting it. Furthermore, I am currently testing their implementation with Trezor support. Trezor has committed a pull-request to include Dash in their firmware 1.3.3 (trezor/trezor-mcu/coin.c) (already on Github, but yet to be released as a signed version by SatoshiLabs). Once SatoshiLabs releases their next firmware, Encompass will automatically support the Trezor. I haven't found any bugs so far. Encompass supports BTC, LTC, DASH, MZC, VIA (only the last two don't have Trezor support yet - SatoshiLabs don't believe that they have enough Market cap to include them in their firmware...). With Encompass, only one click is needed to swap between coin wallets, and the same Trezor wallet can accommodate all three coins on one unit. The first true Multi-coin HW wallet in the world! Encompass made it possible - version 0.5.0 is what you are looking for. If you want to experiment with their beta version at https://github.com/mazaclub/encompass and provide them with feedbacks - it would be great!
sounds great, especially regarding the recent Trezor firmware release. Do you have a TREZOR and got a chance to try it out with Encompass yet?
Will have a look into Encompass right now :)
 

ELM4ever

Member
Feb 9, 2015
64
66
58
sounds great, especially regarding the recent Trezor firmware release. Do you have a TREZOR and got a chance to try it out with Encompass yet?
Will have a look into Encompass right now :)
Yes, on Encompass Trezor works great with BTC, LTC, and DASH, all on the same unit.
In a few weeks, Encompass plan to release version 0.5, that will also support multisignature on all their supported coins.
 
  • Like
Reactions: UdjinM6 and moli

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Yes, on Encompass Trezor works great with BTC, LTC, and DASH, all on the same unit.
In a few weeks, Encompass plan to release version 0.5, that will also support multisignature on all their supported coins.
Could you demonstrate how to get Trezor to work with Encompass? Thank you.
 
  • Like
Reactions: MrZilch

ELM4ever

Member
Feb 9, 2015
64
66
58
Like Electrum 2.1, create a new wallet - select Create New Wallet - Hardware wallet type, then Trezor - that's it. Then you can go to Wallet --> Change Currency and select the currency you want (Trezor itself supports only BTC, LTC, Dash) - so MZC and VIA, also supported by Encompass won't be supported by the Trezor (yet).

However, you can't use the Encompass versions that are pre-packaged for Windows. Only release 0.5 will have the Windows binaries with Trezor support. However, you can download the latest Github repo (/mazaclub/encompass) and try it. Note that you also have to manually install the Trezor Github repo (/trezor/python-trezor). Follow the instructions of the respective readme files.
 
  • Like
Reactions: UdjinM6 and moli

ELM4ever

Member
Feb 9, 2015
64
66
58
Encompass Lightweight wallet v 0.5.0 is finally out.

Multi-currency Electrum style wallet with support for:

- DASH, BTC, LTC standard wallets
- DASH, BTC, LTC Trezor wallets,
- DASH, BTC, LTC multi-signatures wallets (2 of 2 / 2 of 3)

Linux, OSX, Windows binaries (and source) available at https://github.com/mazaclub/encompass/releases

With Encompass I can hold my stashes of BTC, LTC and DASH on only one Trezor ! Very cool !

World first!
 
Last edited by a moderator:

UdjinM6

Official Dash Dev
Dash Core Team
Moderator
May 20, 2014
3,638
3,538
1,183
I don't have Trezor so haven't tested this part but in general (sending/receiving) it seems to work well. Synced in no time literally (Dash blockchain headers is only 20 MB). And btw to get Encompass synced on Dash network you have to switch from SSL to TCP in Network Settings (or at least I wasn't able to sync on SSL, not sure).

So, yeah, huge "Thank you!" to ELM4ever for pushing this and also to everyone who contributed code and who run Electrum servers for Dash!
 

akhavr

Active Member
Oct 11, 2014
767
384
133
In the encompas code:


DEFAULT_SERVERS = {
'electrum.darkcointalk.org':DEFAULT_PORTS, # propulsion
'drk1.electrum-servers.us':DEFAULT_PORTS, # elm4ever
'electrum.drk.siampm.com':DEFAULT_PORTS, # thelazier
'electrum-drk.club':DEFAULT_PORTS, # duffman
}

Plus mine drk.p2pay.com
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
In the encompas code:


DEFAULT_SERVERS = {
'electrum.darkcointalk.org':DEFAULT_PORTS, # propulsion
'drk1.electrum-servers.us':DEFAULT_PORTS, # elm4ever
'electrum.drk.siampm.com':DEFAULT_PORTS, # thelazier
'electrum-drk.club':DEFAULT_PORTS, # duffman
}

Plus mine drk.p2pay.com
Thanks. I just went back one page up and saw those also. Thanks for confirming. :)