Add XFP to public.txt output
This commit is contained in:
parent
f3f80a1f15
commit
ca5f921dcc
@ -1,3 +1,7 @@
|
||||
## 2.0x - ??
|
||||
|
||||
- Public summary file now includes extended master key fingerprint near top of file.
|
||||
|
||||
## 2.0.1 - Apr 2019
|
||||
|
||||
- BIP39 Passphrase support: enter up to 100 characters to create
|
||||
|
||||
@ -415,8 +415,9 @@ def generate_public_contents():
|
||||
|
||||
yield ('''\
|
||||
# Coldcard Wallet Summary File
|
||||
## For wallet with master key fingerprint: 0x{xfp:08x}
|
||||
|
||||
## Wallet operates on blockchain: {nb}
|
||||
### Wallet operates on blockchain: {nb}
|
||||
|
||||
For BIP44, this is coin_type '{ct}', and internally we use symbol {sym} for this blockchain.
|
||||
|
||||
@ -424,11 +425,12 @@ For BIP44, this is coin_type '{ct}', and internally we use symbol {sym} for this
|
||||
|
||||
{xpub}
|
||||
|
||||
|
||||
Derived public keys, as may be needed for different systems:
|
||||
|
||||
|
||||
'''.format(nb=chain.name, xpub=chain.serialize_public(sv.node),
|
||||
sym=chain.ctype, ct=chain.b44_cointype))
|
||||
sym=chain.ctype, ct=chain.b44_cointype, xfp=sv.node.my_fingerprint()))
|
||||
|
||||
for name, path, addr_fmt in chains.CommonDerivations:
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user