{"id":17720343,"url":"https://github.com/fortesp/bitcoinaddress","last_synced_at":"2025-12-14T10:57:05.733Z","repository":{"id":40651001,"uuid":"120218335","full_name":"fortesp/bitcoinaddress","owner":"fortesp","description":"Bitcoin Wallet Address Generator","archived":false,"fork":false,"pushed_at":"2023-08-06T16:11:51.000Z","size":77,"stargazers_count":161,"open_issues_count":11,"forks_count":54,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-09-25T13:44:25.013Z","etag":null,"topics":["address","bc1","bech32","bitcoin","bitcoin-address","bitcoinaddress","cryptocurrency","generator","key","python","segwit","wallet","wif"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/bitcoinaddress/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fortesp.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","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}},"created_at":"2018-02-04T20:01:05.000Z","updated_at":"2025-09-24T11:11:04.000Z","dependencies_parsed_at":"2024-06-19T01:34:01.417Z","dependency_job_id":"64c4868b-158a-4916-b73d-219fb7471e00","html_url":"https://github.com/fortesp/bitcoinaddress","commit_stats":{"total_commits":35,"total_committers":5,"mean_commits":7.0,"dds":"0.11428571428571432","last_synced_commit":"da9dd65e529600bc7ad0b5427c91bbff533fe773"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/fortesp/bitcoinaddress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortesp%2Fbitcoinaddress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortesp%2Fbitcoinaddress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortesp%2Fbitcoinaddress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortesp%2Fbitcoinaddress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fortesp","download_url":"https://codeload.github.com/fortesp/bitcoinaddress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortesp%2Fbitcoinaddress/sbom","scorecard":{"id":407397,"data":{"date":"2025-08-11","repo":{"name":"github.com/fortesp/bitcoinaddress","commit":"da9dd65e529600bc7ad0b5427c91bbff533fe773"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/28 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2020-163 / GHSA-8qxj-f9rh-9fg2","Warn: Project is vulnerable to: PYSEC-2019-177 / GHSA-pwfw-mgfj-7g3g","Warn: Project is vulnerable to: GHSA-wj6h-64fc-37mp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T21:43:15.575Z","repository_id":40651001,"created_at":"2025-08-18T21:43:15.575Z","updated_at":"2025-08-18T21:43:15.575Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27726759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["address","bc1","bech32","bitcoin","bitcoin-address","bitcoinaddress","cryptocurrency","generator","key","python","segwit","wallet","wif"],"created_at":"2024-10-25T15:26:42.220Z","updated_at":"2025-12-14T10:57:05.712Z","avatar_url":"https://github.com/fortesp.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Bitcoin Address\n\n[![](https://img.shields.io/github/v/release/fortesp/bitcoinaddress)](https://github.com/fortesp/bitcoinaddress)\n[![](https://img.shields.io/github/stars/fortesp/bitcoinaddress.svg)](https://github.com/fortesp/bitcoinaddress)\n[![](https://img.shields.io/github/issues/fortesp/bitcoinaddress)](https://github.com/fortesp/bitcoinaddress)\n[![](https://img.shields.io/github/license/fortesp/bitcoinaddress?style)](https://github.com/fortesp/bitcoinaddress)\n\n### Bitcoin Wallet Address Generator\n\nThis is a simple Bitcoin non-deterministic wallet address generator coded in Python 3. It generates a Private Key in different\nformats (hex, wif and compressed wif) and corresponding Public Addresses, raw, P2WPKH addresses starting with prefix 1, P2SH addresses\nstarting with prefix 3 as part of Segwit soft fork and Bech32 addresses with prefix bc1 P2WPKH and P2WSH.\n\n## Installation\n\n```\npip install bitcoinaddress\n```\n\n## Usage\n\n###### Example 1 - Mainnet\n\n```python\nfrom bitcoinaddress import Wallet\n\nwallet = Wallet()\nprint(wallet)\n```\n\n###### Output:\n\n```\nPrivate Key HEX: 03902e4f09664bc177fe4e090dcd9906b432b50f15fb6151984475c1c75c35b6\nPrivate Key WIF: 5HqrbgkWPqBy6dvCE7FoUiMuiCfFPRdtRsyi6NuCM2np8qBZxq5\nPrivate Key WIF compressed: KwLdv6T2jmhQbswnYrcL9KZHerTpVyjozp1JNjfP5QuD3GchCwCc \n            \nPublic Key: 04c5389a31ce6149c28ba20d14db8540b2319e5a65000a2919fbf7a6296e7840b53f883a9483fb7f2b43f3eacd857c904d1b70ecc168571b64d8f1ab82b57eea88 \nPublic Key compressed: 02c5389a31ce6149c28ba20d14db8540b2319e5a65000a2919fbf7a6296e7840b5\n\nPublic Address 1: 1Bu6YxH64nfvhdDsYNEP8PftoBMqgusdPS   \nPublic Address 1 compressed: 18i5PtPisxbGiGGEviW7HPcnfNPmcsscwH   \nPublic Address 3: 38dRrGx5YbrnRWuWcJv5i2XHjYUnHE2wvv  \nPublic Address bc1 P2WPKH: bc1q2jxe5azr6zmhk3258av7ul6cqtu4eu4mps8f4p    \nPublic Address bc1 P2WSH: bc1qdveuf0egtfdnd2fnsp0lzfukn2e58czf8323ky6xt8ydew4ecfcqv3ettx  \n```\n\n###### Example 2 - Testnet\n\n```python\nfrom bitcoinaddress import Wallet\n\nwallet = Wallet(testnet=True)\nprint(wallet)\n```\n\n###### Output:\n\n```\nPrivate Key HEX: 064f8f0bebfa2f65db003b56bc911535614f2764799bc89091398c1aed82e884\nPrivate Key WIF: 91dhN38UTmqGtd3zG1GnDdnyivAP5LnWJQyyj7V7pqthirHAj4X\nPrivate Key WIF compressed: cMny9rPzDAt58r8BjECeamPwN1eQSAKrKrrVNsd78AoCjcWxuVym \n            \nPublic Key: 04f7a01e30388dea9673db8cdb48b985441db785382efbcecc05abac079a6304818a907f886b0d0518e345a0288a6f1e09072f2b11d4ccb75bc67ec6c71dfef800 \nPublic Key compressed: 02f7a01e30388dea9673db8cdb48b985441db785382efbcecc05abac079a630481\n\nPublic Address 1: mwdHSyBBHMbcy8rogvzssvDrGyffRo3amQ   \nPublic Address 1 compressed: n4VzeGfAyZGR7xCXiKmABvnKXojTFJrmKH   \nPublic Address 3: 2MtJ3jPSD2AYgbF25fq9cm1aUCPhSmWUMcJ  \nPublic Address bc1 P2WPKH: tb1qlsw8qqe2aa2avzn9t9nsfjy8kwwgarwcfvfqlh    \nPublic Address bc1 P2WSH: tb1qp53qkcsth8ffuvr00cnlg5hde03aszzeq7y0layklhd4nwkxzejs99tlh3\n```\n\n###### Example 3 - Import Private Key\n\n```python\nfrom bitcoinaddress import Wallet\n\nwallet = Wallet('5HqrbgkWPqBy6dvCE7FoUiMuiCfFPRdtRsyi6NuCM2np8qBZxq5')\nprint(wallet)\n```\n\n###### Output:\n\n```\nPrivate Key HEX: 03902e4f09664bc177fe4e090dcd9906b432b50f15fb6151984475c1c75c35b6\nPrivate Key WIF: 5HqrbgkWPqBy6dvCE7FoUiMuiCfFPRdtRsyi6NuCM2np8qBZxq5\nPrivate Key WIF compressed: KwLdv6T2jmhQbswnYrcL9KZHerTpVyjozp1JNjfP5QuD3GchCwCc \n            \nPublic Key: 04c5389a31ce6149c28ba20d14db8540b2319e5a65000a2919fbf7a6296e7840b53f883a9483fb7f2b43f3eacd857c904d1b70ecc168571b64d8f1ab82b57eea88 \nPublic Key compressed: 02c5389a31ce6149c28ba20d14db8540b2319e5a65000a2919fbf7a6296e7840b5\n\nPublic Address 1: 1Bu6YxH64nfvhdDsYNEP8PftoBMqgusdPS   \nPublic Address 1 compressed: 18i5PtPisxbGiGGEviW7HPcnfNPmcsscwH   \nPublic Address 3: 38dRrGx5YbrnRWuWcJv5i2XHjYUnHE2wvv  \nPublic Address bc1 P2WPKH: bc1q2jxe5azr6zmhk3258av7ul6cqtu4eu4mps8f4p    \nPublic Address bc1 P2WSH: bc1qdveuf0egtfdnd2fnsp0lzfukn2e58czf8323ky6xt8ydew4ecfcqv3ettx\n```\n\n###### Example 4 - Check attributes\n\n```python\nfrom bitcoinaddress import Wallet\n\nwallet = Wallet()\nprint(wallet.key.__dict__)\nprint(wallet.key.__dict__['mainnet'].__dict__)\nprint(wallet.key.__dict__['testnet'].__dict__)\nprint(wallet.address.__dict__)\nprint(wallet.address.__dict__['mainnet'].__dict__)\nprint(wallet.address.__dict__['testnet'].__dict__)\n```\n\n## License and other\n\nThis software is distributed under the terms of the MIT License. See the file 'LICENSE' in the root directory of the present\ndistribution, or http://opensource.org/licenses/MIT.\n\nBech32 address scripts source from https://github.com/sipa/bech32/tree/master/ref/python\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortesp%2Fbitcoinaddress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffortesp%2Fbitcoinaddress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortesp%2Fbitcoinaddress/lists"}