1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-10 09:58:59 +00:00
trezor-firmware/test.py

11 lines
264 B
Python
Raw Normal View History

2015-01-11 15:43:07 +00:00
#!/usr/bin/python
from TrezorCrypto import HDNode
x = HDNode('xpub6BcjTvRCYD4VvFQ8whztSXhbNyhS56eTd5P3g9Zvd3zPEeUeL5CUqBYX8NSd1b6Thitr8bZcSnesmXZH7KerMcc4tUkenBShYCtQ1L8ebVe')
y = x.public_ckd(0)
for i in range(1000):
z = y.public_ckd(i)
print i, z.address()