Trezor for Darkcoin

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Finally received a Trezor! Pretty happy with it. I've flashed a custom firmware to it and it now supports Darkcoin and Darkcoin testnet addresses. Fully functional.

Seems like it'll be possible make a pull request on the official Trezor repository so it can be ready to go officially without a warning of "Using unofficial software".

Anyway here's some pics:
1.jpg
3.jpg
4.jpg
2.jpg

This thing's cool. Highly recommend it!
 

moli

Grizzled Member
Aug 5, 2014
3,261
1,837
1,183
Finally received a Trezor! Pretty happy with it. I've flashed a custom firmware to it and it now supports Darkcoin and Darkcoin testnet addresses. Fully functional.

Seems like it'll be possible make a pull request on the official Trezor repository so it can be ready to go officially without a warning of "Using unofficial software".

Anyway here's some pics:
View attachment 1057
View attachment 1058
View attachment 1060
View attachment 1061

This thing's cool. Highly recommend it!
OMG.... Propulsion, congratulations!!!!! So cool!!! So awesome!!!! :cool:
Now I have to get one for myself!!! lol :D
 
  • Like
Reactions: fernando

ErrorId

Member
Mar 9, 2014
158
41
88
Canada
Finally received a Trezor! Pretty happy with it. I've flashed a custom firmware to it and it now supports Darkcoin and Darkcoin testnet addresses. Fully functional.

Seems like it'll be possible make a pull request on the official Trezor repository so it can be ready to go officially without a warning of "Using unofficial software".

Anyway here's some pics:

SNIP

This thing's cool. Highly recommend it!
Congrats, that's pretty sweet and keeps your DRK safe.

Now if you could only hack it to start masternodes. :)
 
Last edited by a moderator:
  • Like
Reactions: souptacular

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
What What What
are we ready with this integration ?!?
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
Congrats... I've been eyeing up one for a long time now and good to see DRK starting to see some functionality on it. Look forward to what's to come. :)
 

moli

Grizzled Member
Aug 5, 2014
3,261
1,837
1,183
trezor - german
Here's the article that explains "trezor" I read a few months ago and it stuck to my head:
http://www.coindesk.com/review-bitcoin-vault-trezor-lives-name/
By virtue of its design, Trezor can be used to sign transactions on 'unsafe' computers and is impervious to keyloggers and many other vectors of attack, so even if your host PC is compromised, the attacker has no way of getting your private key.

That's also where the device gets its name, as 'trezor' translates into 'vault' in most Slavic languages, including Czech.
GT translates it as Czech, and it's spelled "tresor" in German. But whatever the name is, I'm glad it was created. :)
 
  • Like
Reactions: tungfa

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
I do not get it
is it integrated or is it not ?!
can i get a translations please ?!

Props is saying: we are far off
Tao is Tweeting DRK on Trezor
Moli is saying only Satochilabs can implement the firmware

Satochilab came towards us with this idea,
should i get back to them and start the conversation as we have it working now ?!
:what:
 

moli

Grizzled Member
Aug 5, 2014
3,261
1,837
1,183
I do not get it
is it integrated or is it not ?!
can i get a translations please ?!

Props is saying: we are far off
Tao is Tweeting DRK on Trezor
Moli is saying only Satochilabs can implement the firmware

Satochilab came towards us with this idea,
should i get back to them and start the conversation as we have it working now ?!
:what:
Hey, I didn't say only Satoshilabs can implement the firmware. You saw Propulsion's Trezor and what he said. I don't know all the techie nitty-gritty how to get Darkcoin function on Trezor but if you read what moocowmoo said, you can see a glimpse of it:
Modifying trezor's firmware to support darkcoin is trivial. (This is why Propulsion or anyone can do it)
Getting that firmware to install on a trezor without enabling developer mode would require the cooperation of satoshilabs.
(Only they can generate a signature for the new firmware that a trezor will accept.)
Then mytrezor.com would have to be forked/updated.
Trezor is a hierarchical deterministic (HD) hardware device, and here are the current compatible wallets with Trezor:
http://doc.satoshilabs.com/trezor-f...h-wallets-are-compatible-with-trezor-hardware

Do you see Darkcoin wallet on that list? Yes? No? :tongue:
 
Last edited by a moderator:

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
Hey, I didn't say only Satoshilabs can implement the firmware. You saw Propulsion's Trezor and what he said. I don't know all the techie nitty-gritty how to get Darkcoin function on Trezor but if you read what moocowmoo said, you can see a glimpse of it:

Trezor is a hardware (HD) device, and here are the current compatible wallets with Trezor hardware:

http://doc.satoshilabs.com/trezor-f...h-wallets-are-compatible-with-trezor-hardware

Do you see Darkcoin wallet on that list? Yes? No? :tongue:
Hold on
I need my glasses for that .....?!
NO
(as i am not totally retarted)

that is why i am asking if i should get back in touch with them direct again
as we had email conversations before
as they want us to implement this.

So is our firmware ready to be implemented by them
 

moli

Grizzled Member
Aug 5, 2014
3,261
1,837
1,183
Hold on
I need my glasses for that .....?!
NO
(as i am not totally retarted)

that is why i am asking if i should get back in touch with them direct again
as we had email conversations before
as they want us to implement this.

So is our firmware ready to be implemented by them
You have to ask vertoe or Propulsion.
Satoshilabs has been in touch with you?
 
  • Like
Reactions: tungfa

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Adding Darkcoin or any alt-coin to Trezor is easy.

Right now, it still needs commits to be pushed to the Official Trezor Firmware Repository so that they can enable Darkcoin "officially". (no un-official firmware warning)

Like moo said, it's trivial. So right now, Trezor is at the point in development where unofficially, it can generate Darkcoin addresses from a bip33 seed and restore the entire account if needed.

Here are the complications at the moment.
Officially, it supports litecoin, namecoin, bitcoin, testnet, and primecoin out of the box. What's really convoluted about the website mytrezor.com is is that it changes the coin type by using sub domains. For instance, bitcoin testnet is https://test.mytrezor.com Yet mytrezor.com doesn't have https://litecoin.mytrezor.com or namecoin.mytrezor.com It's odd/not optimal.​

This isn't an issue directly affecting Darkcoin but rather the entire usability of multiple account types on a Trezor. It would be easier if https://mytrezor.com just had a drop down to select the coin type and account that you would like to use.​


Workarounds and Progress
  • Trezor has a command line interface.
You can bypass the website mytrezor entirely by setting up the trezor through the cli like darkcoind the daemon.
Bash:
./trezorctl
usage: trezorctl [-h] [-v] [-t {usb,serial,pipe,socket,bridge}] [-p PATH] [-j]
                 {change_pin,clear_session,decrypt_keyvalue,decrypt_message,encrypt_keyvalue,encrypt_message,firmware_update,get_address,get_entropy,get_features,get_public_node,list,list_coins,load_device,ping,recovery_device,reset_device,set_homescreen,set_label,sign_message,verify_message,wipe_device}
Still though, you need a daemon to send coins from a Trezor.
Electrum-Dark
  • The final piece to the puzzle
Finishing the Electrum port will allow a seamless GUI experience to easily send and receive with a Trezor device.​
  • Why?
All a Trezor does is sign a raw transaction. It's more of a vault than an atm. You still need to have a full daemon to broadcast the signed TX to the network.
TLDR
  • Finish Electrum Darkcoin port.
  • Have commits to Trezor firmware be approved and released by Slush and co.
  • Step 3?????
  • Done, except for regularly updating Electrum port with original repository.
It's a lousy rushed written summary but I hope it helps everyone understand the progress of expanding this currencies ecosystem.

If you have any questions, ask tungfa. ;)
 

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
  • Like
Reactions: moli and tungfa

moli

Grizzled Member
Aug 5, 2014
3,261
1,837
1,183
Good news (from IRC #darkcoin channel)!!!

[20:17:34] * Propulsion ([email protected]/propulsion) has joined
[20:18:07] <Propulsion> lol I'm back. So Darkcoins now officially supported with Trezor.
[20:18:11] <Propulsion> https://github.com/trezor/trezor-mcu/commit/65d734df58566d11365a3cf0d66f79811ac35381
[20:18:25] <coingun> wh0000t!!!!
[20:18:28] <coingun> ata boy prop!
[20:18:28] <Propulsion> The commit has been accepted into their official firmware.
[20:18:43] <Propulsion> WoooooO111!
[20:18:52] <Propulsion> lol alright ttyl.
[20:18:54] * Propulsion has quit (Client Quit)
 

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
So we dont need that farting block explorer? I wonder why they've sent me that message. Here is it:

Adding Darkcoin to firmware is easy. What you need to do first is to
have Darkcoin blockchain explorer that understands BIP44 (i.e. can
generate addresses from xpub and provide their balances and transaction
history of the account). Something like:

https://blockchain.info/xpub/xpub6C...fDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz

When this is ready we can talk about adding support to firmware.

--
Best Regards / S pozdravom,

Pavol "stick" Rusnak
SatoshiLabs.com
 

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
And:

Not on the firmware side. TREZOR device is more-or-less coin agnostic.
It just needs to know names of the coins and their address types and
maximum fees per KB.

The funnier part is on the desktop side, where you need bip44
blockexplorer and a way to build the transactions. I guess you are on
the right track, but if not feel tree to consult mytrezor sources here:
https://github.com/trezor/webwallet