Repository navigation
Conversation
A Paper Wallet displays the cryptocurrency's logo in its center, loaded from slip39/layout/<SYMBOL>.png. Only a few cryptocurrencies (BNB, BTC, CRO, DOGE, ETH, LTC, XRP) have one, so eg. `slip39 -c DASH -w password` failed with FileNotFoundError: .../DASH.png, after the PDF was already partly written. Leave the center of the wallet blank when there is no logo.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Paper Wallet shows the cryptocurrency's logo in its center, loaded from
slip39/layout/<SYMBOL>.png. Only a few cryptocurrencies (BNB, BTC, CRO, DOGE, ETH, LTC, XRP) have one, so, for example,slip39 -c DASH -w passwordfails withFileNotFoundError: .../DASH.png, after the PDF is already partly written.This leaves the center of the wallet blank when there is no logo.
slip39/layout/pdf.py, anos.path.existscheck.test_wallet_without_logoinslip39/output_test.py(skipped whenscryptisn't installed, as BIP-38 wallets need it); it fails with theFileNotFoundErroron currentmasterand passes with this change.pytest(without the invoice/communications tests): 42 passed, 4 skipped;recovery_test.py::test_dft_smokefails on Python 3.14 when numpy isn't installed (the pure-Pythonidftfallback), with or without this change.