{"id":14980230,"url":"https://github.com/andkom/php-bitcoin-wallet","last_synced_at":"2025-07-31T06:34:53.228Z","repository":{"id":51280157,"uuid":"141572879","full_name":"andkom/php-bitcoin-wallet","owner":"andkom","description":"A simple PHP library for reading Bitcoin wallet.dat file.","archived":false,"fork":false,"pushed_at":"2022-10-16T11:59:54.000Z","size":48,"stargazers_count":18,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-28T16:00:05.774Z","etag":null,"topics":["bitcoin","bitcoin-protocol","bitcoin-wallet","php","php-library"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/andkom.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}},"created_at":"2018-07-19T11:57:12.000Z","updated_at":"2025-04-25T16:59:36.000Z","dependencies_parsed_at":"2022-09-07T15:01:04.212Z","dependency_job_id":null,"html_url":"https://github.com/andkom/php-bitcoin-wallet","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/andkom/php-bitcoin-wallet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andkom%2Fphp-bitcoin-wallet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andkom%2Fphp-bitcoin-wallet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andkom%2Fphp-bitcoin-wallet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andkom%2Fphp-bitcoin-wallet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andkom","download_url":"https://codeload.github.com/andkom/php-bitcoin-wallet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andkom%2Fphp-bitcoin-wallet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267998781,"owners_count":24178616,"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-07-31T02:00:08.723Z","response_time":66,"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":["bitcoin","bitcoin-protocol","bitcoin-wallet","php","php-library"],"created_at":"2024-09-24T14:01:29.156Z","updated_at":"2025-07-31T06:34:53.169Z","avatar_url":"https://github.com/andkom.png","language":"PHP","readme":"## PHP Bitcoin Wallet\n\nA simple PHP library for reading Bitcoin wallet.dat file.\n\n### Installation\n\n```bash\ncomposer require andkom/php-bitcoin-wallet\n```\n\n### Usage\n\n```PHP\n\u003c?php\n\nuse AndKom\\Bitcoin\\Wallet\\Wallet;\n \n// create wallet instance\n$wallet = new Wallet();\n$wallet-\u003eread(\"/path/to/wallet.dat\");\n \n// check if wallet is encrypted\nif ($wallet-\u003eisEncrypted()) {\n \n    // print wallet master key\n    echo $wallet-\u003egetMasterKey()-\u003egetEncryptedKey() . \"\\n\";\n     \n    // decrypt wallet\n    $wallet-\u003edecrypt(\"password\");\n}\n \n// print stored keys\nforeach ($wallet-\u003egetKeys() as $key) {\n    echo $key-\u003egetPrivateKey()-\u003etoWif() . \" =\u003e \" . $key-\u003egetPublicKey()-\u003egetAddress()-\u003egetAddress() . \"\\n\";\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandkom%2Fphp-bitcoin-wallet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandkom%2Fphp-bitcoin-wallet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandkom%2Fphp-bitcoin-wallet/lists"}