Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Electrum Dark

Discussion in 'Projects' started by darkzero, Jun 29, 2014.

  1. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    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.
     
    #271 ELM4ever, Mar 13, 2015
    Last edited by a moderator: Mar 13, 2015
    • Like Like x 1
  2. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,261
    Likes Received:
    1,837
    Trophy Points:
    1,183
    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?
     
  3. duffman

    duffman New Member

    Joined:
    Jan 17, 2015
    Messages:
    16
    Likes Received:
    31
    Trophy Points:
    13
    I'm sorry, moli. I do not think that is possible. As Thomas said: meatbags are not good at generating really random phrases.

    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 Like x 2
  4. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    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?
     
    #274 ELM4ever, Mar 21, 2015
    Last edited by a moderator: Mar 21, 2015
    • Like Like x 1
  5. Kong

    Kong Member

    Joined:
    Apr 9, 2014
    Messages:
    55
    Likes Received:
    15
    Trophy Points:
    48
    I have a spare raspi 2 and a fixed ip address, i could set an electrum server up, if someone gives me some help....
     
  6. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    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.
     
    #276 ELM4ever, Mar 21, 2015
    Last edited by a moderator: Mar 21, 2015
  7. Kong

    Kong Member

    Joined:
    Apr 9, 2014
    Messages:
    55
    Likes Received:
    15
    Trophy Points:
    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 Like x 1
  8. QuantumExplorer

    QuantumExplorer Active Member
    Core Developer

    Joined:
    Aug 20, 2014
    Messages:
    123
    Likes Received:
    160
    Trophy Points:
    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).
     
    • Like Like x 5
  9. thefrog

    thefrog Member

    Joined:
    May 25, 2014
    Messages:
    57
    Likes Received:
    26
    Trophy Points:
    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 ?
     
  10. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    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!
     
    #280 ELM4ever, Apr 3, 2015
    Last edited by a moderator: Apr 3, 2015
    • Like Like x 2
  11. donho

    donho Member
    Masternode Owner/Operator

    Joined:
    Apr 16, 2014
    Messages:
    98
    Likes Received:
    21
    Trophy Points:
    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 :)
     
  12. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    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 Like x 2
  13. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,261
    Likes Received:
    1,837
    Trophy Points:
    1,183
    Could you demonstrate how to get Trezor to work with Encompass? Thank you.
     
    • Like Like x 1
  14. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    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 Like x 2
  15. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    drk.khavr.com moved to drk.p2pay.com and is back online.
     
  16. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    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!
     
    #286 ELM4ever, May 2, 2015
    Last edited by a moderator: May 2, 2015
    • Like Like x 8
  17. UdjinM6

    UdjinM6 Official Dash Dev
    Dash Core Team Moderator

    Joined:
    May 20, 2014
    Messages:
    3,637
    Likes Received:
    3,536
    Trophy Points:
    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!
     
    • Like Like x 3
  18. yidakee

    yidakee Well-known Member
    Foundation Member

    Joined:
    Apr 16, 2014
    Messages:
    1,812
    Likes Received:
    1,168
    Trophy Points:
    283
    This is very very cool !
     
    • Like Like x 1
  19. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,261
    Likes Received:
    1,837
    Trophy Points:
    1,183
    What is drk.p2pay.com for?

    Both of these sites show:
    This webpage is not available


    ERR_CONNECTION_REFUSED
     
  20. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    electrum-drk server, up and running. No website there.
     
  21. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,261
    Likes Received:
    1,837
    Trophy Points:
    1,183
    Ah.. ok. Thanks.

    akhavr , Do you know the list of all electrum-drk servers?
     
  22. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    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
     
  23. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,261
    Likes Received:
    1,837
    Trophy Points:
    1,183
    Thanks. I just went back one page up and saw those also. Thanks for confirming. :)