diff --git a/docs/seed_qr/printable_templates/12words_seedqr_template.pdf b/docs/seed_qr/printable_templates/12words_seedqr_template.pdf deleted file mode 100644 index 4c4cf14f..00000000 Binary files a/docs/seed_qr/printable_templates/12words_seedqr_template.pdf and /dev/null differ diff --git a/docs/seed_qr/printable_templates/24words_seedqr_template.pdf b/docs/seed_qr/printable_templates/24words_seedqr_template.pdf deleted file mode 100644 index e5ea1cc5..00000000 Binary files a/docs/seed_qr/printable_templates/24words_seedqr_template.pdf and /dev/null differ diff --git a/docs/seed_qr/printable_templates/Seed_QR_Card.pdf b/docs/seed_qr/printable_templates/Seed_QR_Card.pdf deleted file mode 100644 index c7df3fbd..00000000 Binary files a/docs/seed_qr/printable_templates/Seed_QR_Card.pdf and /dev/null differ diff --git a/docs/seed_qr/printable_templates/compact_seedqr/12words_compactseedqr_template.pdf b/docs/seed_qr/printable_templates/compact_seedqr/12words_compactseedqr_template.pdf deleted file mode 100644 index d5924541..00000000 Binary files a/docs/seed_qr/printable_templates/compact_seedqr/12words_compactseedqr_template.pdf and /dev/null differ diff --git a/docs/seed_qr/printable_templates/compact_seedqr/24words_compactseedqr_template.pdf b/docs/seed_qr/printable_templates/compact_seedqr/24words_compactseedqr_template.pdf deleted file mode 100644 index 0bf49c79..00000000 Binary files a/docs/seed_qr/printable_templates/compact_seedqr/24words_compactseedqr_template.pdf and /dev/null differ diff --git a/docs/seed_qr/printable_templates/dots_21x21.pdf b/docs/seed_qr/printable_templates/dots_21x21.pdf new file mode 100644 index 00000000..d5a38c59 Binary files /dev/null and b/docs/seed_qr/printable_templates/dots_21x21.pdf differ diff --git a/docs/seed_qr/printable_templates/dots_25x25.pdf b/docs/seed_qr/printable_templates/dots_25x25.pdf new file mode 100644 index 00000000..625f5fc7 Binary files /dev/null and b/docs/seed_qr/printable_templates/dots_25x25.pdf differ diff --git a/docs/seed_qr/printable_templates/dots_29x29.pdf b/docs/seed_qr/printable_templates/dots_29x29.pdf new file mode 100644 index 00000000..a43fa0c8 Binary files /dev/null and b/docs/seed_qr/printable_templates/dots_29x29.pdf differ diff --git a/docs/seed_qr/printable_templates/grid_21x21.pdf b/docs/seed_qr/printable_templates/grid_21x21.pdf new file mode 100644 index 00000000..ebef81b4 Binary files /dev/null and b/docs/seed_qr/printable_templates/grid_21x21.pdf differ diff --git a/docs/seed_qr/printable_templates/grid_25x25.pdf b/docs/seed_qr/printable_templates/grid_25x25.pdf new file mode 100644 index 00000000..bfdaf9ef Binary files /dev/null and b/docs/seed_qr/printable_templates/grid_25x25.pdf differ diff --git a/docs/seed_qr/printable_templates/grid_29x29.pdf b/docs/seed_qr/printable_templates/grid_29x29.pdf new file mode 100644 index 00000000..59177397 Binary files /dev/null and b/docs/seed_qr/printable_templates/grid_29x29.pdf differ diff --git a/docs/seed_qr/printable_templates/grid_wfingerprint_21x21.pdf b/docs/seed_qr/printable_templates/grid_wfingerprint_21x21.pdf new file mode 100644 index 00000000..062dc80e Binary files /dev/null and b/docs/seed_qr/printable_templates/grid_wfingerprint_21x21.pdf differ diff --git a/docs/seed_qr/printable_templates/grid_wfingerprint_21x21_4-up.pdf b/docs/seed_qr/printable_templates/grid_wfingerprint_21x21_4-up.pdf new file mode 100644 index 00000000..0036b76e Binary files /dev/null and b/docs/seed_qr/printable_templates/grid_wfingerprint_21x21_4-up.pdf differ diff --git a/docs/seed_qr/printable_templates/mnemonic_12words_wfingerprint.pdf b/docs/seed_qr/printable_templates/mnemonic_12words_wfingerprint.pdf new file mode 100644 index 00000000..4cb9f2b8 Binary files /dev/null and b/docs/seed_qr/printable_templates/mnemonic_12words_wfingerprint.pdf differ diff --git a/docs/seed_qr/printable_templates/mnemonic_12words_wfingerprint_4up.pdf b/docs/seed_qr/printable_templates/mnemonic_12words_wfingerprint_4up.pdf new file mode 100644 index 00000000..4bc041ab Binary files /dev/null and b/docs/seed_qr/printable_templates/mnemonic_12words_wfingerprint_4up.pdf differ diff --git a/docs/seed_qr/printable_templates/mnemonic_24word_wfingerprint.pdf b/docs/seed_qr/printable_templates/mnemonic_24word_wfingerprint.pdf new file mode 100644 index 00000000..bc6ad3d8 Binary files /dev/null and b/docs/seed_qr/printable_templates/mnemonic_24word_wfingerprint.pdf differ diff --git a/docs/seed_qr/printable_templates/mnemonic_24word_wfingerprint_4-up.pdf b/docs/seed_qr/printable_templates/mnemonic_24word_wfingerprint_4-up.pdf new file mode 100644 index 00000000..c8f9d5ec Binary files /dev/null and b/docs/seed_qr/printable_templates/mnemonic_24word_wfingerprint_4-up.pdf differ diff --git a/docs/seed_qr/printable_templates/template_generator.py b/docs/seed_qr/printable_templates/template_generator.py deleted file mode 100644 index f0ed2f27..00000000 --- a/docs/seed_qr/printable_templates/template_generator.py +++ /dev/null @@ -1,294 +0,0 @@ -import math - -def generate_qr_template(qr_size, num_words=24, block_size=5, show_timing_marks=False): - if num_words == 24: - word_cols = 2 - else: - word_cols = 1 - - html = """ - - - - - - - - """ - - html += """ - - - -
- """ - for i in range(1, num_words + 1): - if i == 13: - html += """ - - """ - html += f"""
- {i}: ____________________________ -
- """ - html += "
" - - y_names = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,X,Y,Z" - - html += """""" - html += f"""""" - for j in range(0, math.ceil(qr_size/block_size)): - html += f"""""" - html += "" - - for i in range(0, qr_size): - html += """\n""" - if i % block_size == 0: - html += f"""""" - for j in range(0, qr_size): - html += f"""""" - html += """\n""" - html += "
{j + 1}
{y_names.split(",")[int(i / block_size)]}·
" - - html += " - - """ - - return html - - - -if __name__ == "__main__": - import argparse - - parser = argparse.ArgumentParser( - description=""" - Generates a blank QR code template at 21x21, 25x25, or 29x29. - - ex: python3 qr_code_template.py 25 12 - ex: python3 qr_code_template.py 29 24 - - Optionally change the block size divider guides: - - python3 qr_code_template.py 29 24 --block_size 6 - """, - formatter_class=argparse.RawTextHelpFormatter - ) - - # Required positional arguments - parser.add_argument('qr_size', - type=int, - choices=[21, 25, 29], - help="QR code size. 21 for 21x21, 25 for 25x25, 29 for 29x29") - parser.add_argument('num_words', - type=int, - choices=[12, 24], - help="Number of words in the mnemonic seed. 12 or 24") - - # Add optional arguments - parser.add_argument('-b', '--block_size', - type=int, - default=5, - help="Size of the manual entry zoom blocks") - parser.add_argument('-t', '--timing_marks', - action='store_true', - default=False, - help="Show timing marks (the dashed blocks linking the three large registration boxes") - args = parser.parse_args() - - html = generate_qr_template(qr_size=args.qr_size, num_words=args.num_words, block_size=args.block_size, show_timing_marks=args.timing_marks) - file = open(f"{args.num_words}words_seedqr_template-{args.qr_size}x{args.qr_size}.html", "w") - file.write(html) - file.close() - diff --git a/docs/seed_qr/printable_templates/21x21_trading_card.pdf b/docs/seed_qr/printable_templates/trading_card_21x21_w12words.pdf similarity index 100% rename from docs/seed_qr/printable_templates/21x21_trading_card.pdf rename to docs/seed_qr/printable_templates/trading_card_21x21_w12words.pdf diff --git a/docs/seed_qr/printable_templates/25x25_trading_card.pdf b/docs/seed_qr/printable_templates/trading_card_25x25_w24words.pdf similarity index 100% rename from docs/seed_qr/printable_templates/25x25_trading_card.pdf rename to docs/seed_qr/printable_templates/trading_card_25x25_w24words.pdf diff --git a/docs/seed_qr/printable_templates/29x29_trading_card.pdf b/docs/seed_qr/printable_templates/trading_card_29x29_w24words.pdf similarity index 100% rename from docs/seed_qr/printable_templates/29x29_trading_card.pdf rename to docs/seed_qr/printable_templates/trading_card_29x29_w24words.pdf diff --git a/docs/seed_qr/printable_templates/xpub_wfingerprint.pdf b/docs/seed_qr/printable_templates/xpub_wfingerprint.pdf new file mode 100644 index 00000000..28688c97 Binary files /dev/null and b/docs/seed_qr/printable_templates/xpub_wfingerprint.pdf differ