mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-28 22:15:42 +00:00
-> trezor.io
This commit is contained in:
parent
08cfe0d8c6
commit
2e1da5f337
@ -57,7 +57,7 @@ also found in ``tools/helloworld.py``
|
|||||||
print(client.features)
|
print(client.features)
|
||||||
|
|
||||||
# Get the first address of first BIP44 account
|
# Get the first address of first BIP44 account
|
||||||
# (should be the same address as shown in mytrezor.com)
|
# (should be the same address as shown in wallet.trezor.io)
|
||||||
bip32_path = client.expand_path("44'/0'/0'/0/0")
|
bip32_path = client.expand_path("44'/0'/0'/0/0")
|
||||||
address = client.get_address('Bitcoin', bip32_path)
|
address = client.get_address('Bitcoin', bip32_path)
|
||||||
print('Bitcoin address:', address)
|
print('Bitcoin address:', address)
|
||||||
|
@ -23,7 +23,7 @@ def main():
|
|||||||
print(client.features)
|
print(client.features)
|
||||||
|
|
||||||
# Get the first address of first BIP44 account
|
# Get the first address of first BIP44 account
|
||||||
# (should be the same address as shown in mytrezor.com)
|
# (should be the same address as shown in wallet.trezor.io)
|
||||||
bip32_path = client.expand_path("44'/0'/0'/0/0")
|
bip32_path = client.expand_path("44'/0'/0'/0/0")
|
||||||
address = client.get_address('Bitcoin', bip32_path)
|
address = client.get_address('Bitcoin', bip32_path)
|
||||||
print('Bitcoin address:', address)
|
print('Bitcoin address:', address)
|
||||||
|
@ -176,7 +176,7 @@ def main():
|
|||||||
print(client.features)
|
print(client.features)
|
||||||
|
|
||||||
# Get the first address of first BIP44 account
|
# Get the first address of first BIP44 account
|
||||||
# (should be the same address as shown in mytrezor.com)
|
# (should be the same address as shown in wallet.trezor.io)
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
proto_types.TxOutputType(
|
proto_types.TxOutputType(
|
||||||
|
Loading…
Reference in New Issue
Block a user