{"id":15021109,"url":"https://github.com/jimtje/walletlib","last_synced_at":"2025-10-27T13:30:59.351Z","repository":{"id":43739232,"uuid":"231177712","full_name":"jimtje/walletlib","owner":"jimtje","description":"Unified interface to work with cryptocurrency wallet.dat, .wallet, .key files. Can automatically attempt to figure out what type of coin a .dat wallet contains via its prefix.","archived":false,"fork":false,"pushed_at":"2022-02-20T18:04:01.000Z","size":302,"stargazers_count":26,"open_issues_count":2,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-05T08:05:06.913Z","etag":null,"topics":["altcoin","bitcoin","bitcoin-wallet","blockchain","crypto","cryptocurrency","cryptocurrency-wallet","dogecoin","dogecoin-wallet","litecoin","litecoin-wallet","python","pywallet","wallet","wallet-files","wallets","wallets-management"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimtje.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-01T05:08:19.000Z","updated_at":"2024-12-29T01:09:03.000Z","dependencies_parsed_at":"2022-08-22T11:21:28.789Z","dependency_job_id":null,"html_url":"https://github.com/jimtje/walletlib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimtje%2Fwalletlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimtje%2Fwalletlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimtje%2Fwalletlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimtje%2Fwalletlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimtje","download_url":"https://codeload.github.com/jimtje/walletlib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238497712,"owners_count":19482302,"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","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":["altcoin","bitcoin","bitcoin-wallet","blockchain","crypto","cryptocurrency","cryptocurrency-wallet","dogecoin","dogecoin-wallet","litecoin","litecoin-wallet","python","pywallet","wallet","wallet-files","wallets","wallets-management"],"created_at":"2024-09-24T19:56:08.793Z","updated_at":"2025-10-27T13:30:54.050Z","avatar_url":"https://github.com/jimtje.png","language":"Python","readme":"# walletlib\n![PyPI - Python Version](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9-blue)\n\n\n\nUnified interface to programmatically open and extract data from cryptocurrency wallet backup files\n\n## Quick Start with Docker - Start here if you simply need to dump the contents of a wallet file\n\n### Make sure that the files you are trying to open are in one directory.\n\n```bash\n$ docker pull jimzhou/walletlib:latest\n$ docker run -v /path/to/your/wallet/folder:/app jimzhou/walletlib:latest wallet.dat -o wallet_output.txt --keys -p password\n```\nOutput file will be in the directory with the wallet. --keys and -p are optional\n\n\n\n## Quick Start with installation\n\nThis module requires Python 3.7+\n\nNote: prior to installation, make sure that BerkeleyDB 4.8+ is installed.\n\nWith Homebrew:\n```bash\n$ brew install berkeley-db@4\n```\n\nOn Ubuntu\n```\n$ sudo apt-get install libdb++-dev python3-bsddb3\n```\n\n```bash\n$ pip install walletlib\n```\nA convenient cli script is available after installation.\n```bash\n$ python -m dumpwallet wallet.dat -o output.txt\n```\nor\n```bash\n$ dumpwallet wallet.dat -o output.txt\n$ dumpwallet wallet-protobuf -o output.txt --keys\n```\n\n## Features\n- Automatic reading of version byte and WIF prefix from default keys\n- Dumping just keys or all data\n- Read only access of wallet files\n\n## Installation\nThe simplest way to install walletlib is using pip.\n```bash\n$ pip install walletlib\n```\nYou can also clone this repo and then run\n```bash\n$ python setup.py install\n```\n## Usage\n```python\nimport walletlib\n\nwallet = walletlib.Walletdat.load(\"path/to/wallet.dat\")\nwallet.parse(passphrase=\"password\")\nwallet.dump_all(filepath=\"output.txt\")\nwallet.dump_keys(filepath=\"output_keys.txt\")\n\n```\nBitcoinj wallets:\n\n```python\nimport walletlib\n\nwallet = walletlib.ProtobufWallet.load(\"path/to/wallet-protobuf\")\nwallet.parse()\nwallet.dump_all(filepath=\"output.txt\")\nwallet.dump_keys(filepath=\"output_keys.txt\")\n```\n\n## Roadmap\n- [x] wallet.dat\n  - [x] Encrypted keys\n  - [x] Auto-identify prefix\n  - [x] Decrypt encrypted keys\n  - [x] p2pkh Wallets\n  - [ ] Bech32 wallets\n- [x] Bitcoinj/Dogecoinj/Altcoinj wallets\n  - [x] Open unencrypted wallet-protobuf/multibit .wallet/.key files\n  - [ ] Decrypt encrypted wallets\n- [ ] Coinomi protobuf wallets\n- [ ] Blockchain.com wallet.aes.json\n- [ ] Documentation\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimtje%2Fwalletlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimtje%2Fwalletlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimtje%2Fwalletlib/lists"}