• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Trezor for Darkcoin

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:
 
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:
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
 
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?
 
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. ;)
 
Good news (from IRC #darkcoin channel)!!!

[20:17:34] * Propulsion (~Propulsio@unaffiliated/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)
 
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
 
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
 
So we dont need that farting block explorer? I wonder why they've sent me that message. Here is it:

Darkcoin is already supported by the latest Trezor firmware, as per https://github.com/trezor/trezor-mcu/blob/master/firmware/coins.c

vertoe : I believe the issue is with Encompass that have not yet enabled the Trezor plugin.

But if you want to test it out, just "enable" the Trezor support yourself (by removing the comment "#" in Encompass /plugins/Trezor.py L53) - I don't have a spare Trezor handy to test it. If you do - be my guest. My bet is, that it will work out of the box... because Encompass is based on a fork of Electrum 2.0... where the plugins where cloned un-modified.

The only* thing that Encompass did was to make generic the Electrum code that was generic to ALL coins, and group the "custom specs" of individual coins, into a directory called "/lib/chains". Making a port to Electrum super easy, for any coins - even for someone like me....

*= genius
 
Last edited by a moderator:
Darkcoin is already supported by the latest Trezor firmware, as per https://github.com/trezor/trezor-mcu/blob/master/firmware/coins.c

I am aware of that, please see my posts above, a conversation with a TREZOR developer. I'm in contact with them for more than 2 months now. And they told me to get Darkcoin added to TREZOR, we need a BIP-44-compliant blockchain explorer. That's why I'm so puzzled now that they simply added DRK without any hesitation.

vertoe : I believe the issue is with Encompass that have not yet enabled the Trezor plugin.
The encompass TREZOR plugin is untouched as far as I know and thus should only work for Bitcoin yet, does it? It would be great if Propulsion could comment on that.
 
The encompass TREZOR plugin is untouched as far as I know and thus should only work for Bitcoin yet, does it? It would be great if Propulsion could comment on that.
I've yet to even clone encompass so currently, no idea. If it's a water downed version of the original Electrum client, I'm not too interested in it. I'll test it with trezor this weekend.

I am aware of that, please see my posts above, a conversation with a TREZOR developer. I'm in contact with them for more than 2 months now. And they told me to get Darkcoin added to TREZOR, we need a BIP-44-compliant blockchain explorer. That's why I'm so puzzled now that they simply added DRK without any hesitation.
This is from reddit: https://www.reddit.com/r/TREZOR/comments/2dnw2i/whats_planned_for_the_next_firmware_release/
reddit said:
klokanx 2 points 6 months ago*
  • Account labels are in the scope of one of the further releases, but it probably would not be the next one.

  • receiving address verification should be there according to this post:http://www.reddit.com/r/Bitcoin/comments/2dn9gw/trezor_concern/cjr4mks

  • LTC is supported by Trezor, but not by the LTC software. Specifically, there is no BIP44 compatible blockchain explorer. If you have one, you can use Trezor for LTC. Ask your favourite LTC developer to build one. Trezor guys are not working on this. In fact, they don't use their own BIP44 explorer for BTC either, but they pay for BoP server licence that has this capability.
slush0 2 points 6 months ago

To be 100% correct, BIP44 isn't necessary. Any BIP32 wallet with TREZOR support will work (maybe Electrum?).​

BIP44 is important only to see the same address as generated in myTREZOR​
I'm thinking when they had those requirements Electrum wasn't an option at the time. You can check out my pull request to trezor-mcu to see the conversation with Slush before adding it.
 
I already saw that first hand last Monday and I quoted in my previous post:
[20:17:34] * Propulsion (~Propulsio@unaffiliated/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)
I'm just not sure if "DRK works on Trezor straight out of the box", is what I'm asking.
 
I already saw that first hand last Monday and I quoted in my previous post:

I'm just not sure if "DRK works on Trezor straight out of the box", is what I'm asking.
I can't confirm it. This is all very confusing for me because everyone says something different. If I had a Trezor, I would test it for you, but sorry I can't answer that question for you.
 
this is exactly what happens when there are 'News" spread which are NO News !

http://satoshilabs.com/news/
- there is nothing on their webpage/ blog about Darkcoin
- vertoe is in email contact with them direct, wouldn't they have told him
- i am in touch with them as well as i am waiting for joint PR efforts
and sure they would have contacted us if this was officially released !

Was it officially released
NO it was NOT
so can we please stop posting this nonsense about trezor integration on twitter and wherever else this is going on !
it will come out, these things take time as we know, props has it running already, but that does not mean everybody is capable of integrating it !

Will it be integrated, yes sure.
Is it working, maybe.
Should we wait for an official release, DEFINATELY !
 
Ok, here's the current status.

I've made changes to the firmware to generate and accept Darkcoin addresses.

A couple days ago, I pushed the changes to the Official Firmware Repository which were accepted.

Which now means that once Trezor pushes a new firmware update which you can download from https://mytrezor.com, darkcoin will be included.

Currently the latest official firmware version is 1.3.1 from the website which means that they haven't tagged the latest commits and created an updated firmware version.

It'll be ready and "Fully supported out of the box" once the new firmware is available for download from their website.
 
Ok, here's the current status.

I've made changes to the firmware to generate and accept Darkcoin addresses.

A couple days ago, I pushed the changes to the Official Firmware Repository which were accepted.

Which now means that once Trezor pushes a new firmware update which you can download from https://mytrezor.com, darkcoin will be included.

Currently the latest official firmware version is 1.3.1 from the website which means that they haven't tagged the latest commits and created an updated firmware version.

It'll be ready and "Fully supported out of the box" once the new firmware is available for download from their website.
and on the desktop side? how do you create transactions?
 
Back
Top