{"id":23326806,"url":"https://github.com/8go/trezorlistpublicaddresses","last_synced_at":"2026-05-15T21:06:45.717Z","repository":{"id":90889133,"uuid":"248742372","full_name":"8go/TrezorListPublicAddresses","owner":"8go","description":":page_with_curl: tiny utility tool to list batches of public Bitcoin addresses from your Trezor device, offline, multi-accounts :lock:","archived":false,"fork":false,"pushed_at":"2020-03-20T13:10:11.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T14:50:42.767Z","etag":null,"topics":["addresses","bitcoin","btc","cli","crypto","cryptocurrencies","ofline","privacy","privacy-protection","python","python3","terminal-based","trezor","trezor-device","trezor-wallet"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/8go.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-20T11:48:04.000Z","updated_at":"2024-02-09T15:44:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"854ba27e-c25a-4a21-bcd1-58f8c1c612df","html_url":"https://github.com/8go/TrezorListPublicAddresses","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/8go/TrezorListPublicAddresses","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2FTrezorListPublicAddresses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2FTrezorListPublicAddresses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2FTrezorListPublicAddresses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2FTrezorListPublicAddresses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/8go","download_url":"https://codeload.github.com/8go/TrezorListPublicAddresses/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2FTrezorListPublicAddresses/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33080416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addresses","bitcoin","btc","cli","crypto","cryptocurrencies","ofline","privacy","privacy-protection","python","python3","terminal-based","trezor","trezor-device","trezor-wallet"],"created_at":"2024-12-20T19:33:59.455Z","updated_at":"2026-05-15T21:06:45.711Z","avatar_url":"https://github.com/8go.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :page_with_curl: TrezorListPublicAddresses :lock:\n\nThis is a tiny utility tool to list batches of public Bitcoin addresses from your Trezor device. \nThis small Python program by default lists the first 100 public Bitcoin addresses for the first 3 \naccounts for all 3 address types (classic 1-addresses, p2sh-segwit 3-addresses, and native segwit bc1-addresses).\n\n# Features\n\n* You can print batches of public Bitcoin addresses, any number you want, 10, 100, 1000 or higher.\n* You can print BIP44, BIP49 and BIP84 addresses. I.e. you can list classic 1-addresses, p2sh-segwit 3-addresses, and/or native segwit bc1-addresses.\n* You can print the addresses for multiple accounts.\n* You can print external and internal (change) addresses.\n* It works offline. No internet needed.\n* Just one small file of about 4KB.\n* Easy to verify correctness yourself. This program really just has a single line of interesting code,\nwhere it calls `btc.get_address(...)` from the Python trezorlib repeatedly with some \nappropriate arguments to ask the Trezor device for the public Bitcoin addresses.\n* Works with Trezor passphrases, allows passphrase to be entered on the device (i.e. the Trezor itself) resulting in highest level of security.\n* Written in Python\n* Open source, you can view it and modify it.\n \n# Runtime requirements\n\n  * [Trezor](https://www.trezor.io) device, or compatible hardware wallet device\n  * [Python](https://www.python.org/) v3.4+\n  * [trezorlib from trezor-firmware](https://github.com/trezor/trezor-firmware/tree/master/python/src/trezorlib), If you have [python-trezor](https://wiki.trezor.io/Using_trezorctl_commands_with_Trezor#Install_python-trezor) installed on your PC or if you have [trezorctl](https://wiki.trezor.io/Using_trezorctl_commands_with_Trezor) working, then you have this already installed. \n\n# Building\n\n* These is nothing to build. It is just a single Python file. Copy it anywhere. \n\n# Running it, Using it\n\n* After downloading or copying the file, change the file permissions such that you can execute the file. E.g. on Linux do a `chmod 544` or similar.\n* Connect your Trezor device and start program with `TrezorListPublicAddresses.py` or `./TrezorListPublicAddresses.py` or `python TrezorListPublicAddresses.py` or `python3 TrezorListPublicAddresses.py`.\n* If and only if desired you can edit it with your favorite text editor to change some parameters like amount of addresses, accounts, etc.\n* Tell your friends :)\n\n# Alternatives\n\nIf you don't like this program you can use the following alternatives:\n* [trezorctl](https://wiki.trezor.io/Using_trezorctl_commands_with_Trezor), read also [How to create bulk of addresses](https://wiki.trezor.io/Create_a_bulk_of_addresses_using_the_trezorctl_command). This is ok for Trezor One. This works also for Trezor Model T if you have no passphrase or you are entering the passphrase on the host. However, `trezorctl` will *not* work (as of March 2020 with latest firmware updates) if you have a passphrase and want to enter it on the device, because in this case the Trezor Model T will ask you for the passphrase at the generation of *every single address*! However, entering the passphrass on the host, i.e. keyboard, is *not* the safest option, and hence not recommended for high security.\n* If you have your extended public key for a given address type and a given account then you can use tools like these two to compute your public addresses. But just for getting addresses these tools are not as convenient. \n  * https://github.com/dan-da/hd-wallet-derive : offline, computes addresses given some info (e.g. xpub, xpriv, etc.)\n  * https://github.com/dan-da/hd-wallet-addrs : offline computes addresses, online computes balances for some given input (xpub, xpriv, etc.)\n  \n\u003c/\u003e on :octocat: with :heart:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8go%2Ftrezorlistpublicaddresses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F8go%2Ftrezorlistpublicaddresses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8go%2Ftrezorlistpublicaddresses/lists"}