@tungfa read this, skip to TL;DR part for "just make it work" without explanation.
Long Version:
ok happy to update guides but need better instructions please in which step (and what todo) with
Exactly...
Nothing a sane person would look for tells you that you need to install github.com/trezor/python-trezor. But, you don't want to clone it and build it. There's an easier way, which is also not mentioned. Even more, part of that build is hidapi, which python-trezor will automatically try to build without telling you, has dependencies which are also not mentioned... So...
Do this first
Code:
sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
sudo apt-get install autotools-dev autoconf automake libtool
You'll also need to make sure this is installed, which it might already be for some people:
Code:
sudo apt-get install python-pip
Then at the atlassian page (
https://dashpay.atlassian.net/wiki/display/DOC/Install) you'll find this, which is not entirely accurate anymore:
Code:
sudo apt-get install python-qt4 python-pip python-slowaes
sudo pip install https://www.dash.org/binaries/Electrum-DASH-2.4.1_Linux_x86_64-Installer.bin
electrum
Line 2 and 3 don't work, and I wouldn't expect them to work, either... They also don't need to work or even be there...
You'll notice Line 1 includes python-pip.
You'll also notice that, in spite of updating their page with some more infos, Satoshi Labs still neglects to mention python-pip; the thing that actually does the installing of python-trezor AND hidapi... Not sure why they omitted it from what I told them to add there, but it definitely won't work without it.
Then you can:
Code:
[sudo [-H]] pip install trezor
And then finally:
Code:
cd ~/
wget https://www.dash.org/binaries/Electrum-DASH-2.4.1_Linux_x86_64-Installer.bin
chmod 764 Electrum-DASH-2.4.1_Linux_x86_64-Installer.bin
./Electrum-DASH-2.4.1_Linux_x86_64-Installer.bin
TL;DR:
************************************************************************************************************************
Some of this could probably be put on the same line, but I kept is segregated by source for auditing.
Some of them may actually depend on others, so may be redundant.
Doing it this way makes sure it all happens regardless.
************************************************************************************************************************
So, I condensed this to a simple script:
Code:
sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
sudo apt-get install autotools-dev autoconf automake libtool
sudo apt-get install python-qt4 python-pip python-slowaes
sudo apt-get install python-dev cython git
sudo pip install setuptools
sudo [-H] pip install trezor
cd ~/
wget https://www.dash.org/binaries/Electrum-DASH-2.4.1_Linux_x86_64-Installer.bin
chmod 764 Electrum-DASH-2.4.1_Linux_x86_64-Installer.bin
./Electrum-DASH-2.4.1_Linux_x86_64-Installer.bin
I've tested this and it works every time now.
Towards the end of it, the Electrum installer asks where you want to stick it. I choose option "1" for global user access by sticking it somewhere already in the $PATH variable.
Run electrum-dash by typing this
If you chose something that's not "1," as mentioned above, then you must be smart enough to know what you have to do to run it.
************************************************************************************************************************
NOTE:
Some of this might not be needed. But, it doesn't hurt anything.
MOAR NOTE:
The "pip install trezor" execution may or may not require -H.
EVEN MOAR NOTE:
I realize this project is under construction, but the raw "Use DASH with Trezor" functionality has been up and running for months. More importantly, it's being linked on the official dash.org/downloads page at this very moment, so there needs to be some way for it to work. It's already got a nifty .onion server to connect to, so you don't have to pass an exit node to use it. Cool. But, it doesn't have any MasterNode handling features at the moment. There was an older version that did, but it was incomplete and I'm sure that's the part that's being worked on really hard right now.
If it's going to be live on the official page, there needs to be instructions that actually work. Granted, 80% of it is compensating for seems almost like deliberate sabotage by Satoshi Labs... I told them exactly what to add, and they deliberately left out the most obvious and necessary part... Besides, it's DASH's product that needs to support it, so why not just put the info there?
I get the feeling that the parties involved with the electrum-dash code want to send a message uphill similar to "It's not ready yet, it shouldn't be linked on the main page." But it is linked, some kind of working instructions need to exist... Even if it's something my derpy dumb ass came up with.