1
0

Move hardware wallet to trezor/

On second thoughts it does go better there.
This commit is contained in:
Neil Booth
2015-12-27 18:23:46 +09:00
parent 669cf74789
commit 11e1c62f28
3 changed files with 184 additions and 181 deletions

View File

@@ -1,7 +1,5 @@
from electrum.wallet import BIP32_Hardware_Wallet
from plugins.trezor.client import trezor_client_class
from plugins.trezor.plugin import TrezorCompatiblePlugin
from plugins.trezor.plugin import TrezorCompatiblePlugin, TrezorCompatibleWallet
try:
from trezorlib.client import proto, BaseClient, ProtocolMixin
@@ -10,9 +8,8 @@ except ImportError:
TREZOR = False
class TrezorWallet(BIP32_Hardware_Wallet):
class TrezorWallet(TrezorCompatibleWallet):
wallet_type = 'trezor'
root_derivation = "m/44'/0'"
device = 'Trezor'