{"id":30076508,"url":"https://github.com/0xheartcode/daemonwallet","last_synced_at":"2026-04-12T16:01:50.201Z","repository":{"id":306655199,"uuid":"1014296047","full_name":"0xheartcode/DaemonWallet","owner":"0xheartcode","description":"POC - EVM EOA wallet in terminal connecting to Google Chrome","archived":false,"fork":false,"pushed_at":"2025-07-26T20:25:30.000Z","size":447,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2025-07-26T23:40:06.731Z","etag":null,"topics":["evm-blockchain","poc","terminal","vibecoded","wallet","wip"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xheartcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-07-05T12:39:43.000Z","updated_at":"2025-07-26T21:37:19.000Z","dependencies_parsed_at":"2025-07-26T23:50:13.832Z","dependency_job_id":null,"html_url":"https://github.com/0xheartcode/DaemonWallet","commit_stats":null,"previous_names":["0xheartcode/daemonwallet"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/0xheartcode/DaemonWallet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xheartcode%2FDaemonWallet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xheartcode%2FDaemonWallet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xheartcode%2FDaemonWallet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xheartcode%2FDaemonWallet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xheartcode","download_url":"https://codeload.github.com/0xheartcode/DaemonWallet/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xheartcode%2FDaemonWallet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269441137,"owners_count":24417580,"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-08-08T02:00:09.200Z","response_time":72,"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":["evm-blockchain","poc","terminal","vibecoded","wallet","wip"],"created_at":"2025-08-08T15:09:44.049Z","updated_at":"2025-10-30T12:45:57.891Z","avatar_url":"https://github.com/0xheartcode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Daemon Wallet\n\n**A secure Ethereum wallet using Chrome Native Messaging**\n\n## Overview\n\nDaemon Wallet implements a secure wallet architecture where private keys are managed by a CLI application that communicates with a Chrome extension via Native Messaging. This follows the security model pioneered by KeePassXC.\n\n### Architecture\n\n```\nBrowser DApp -\u003e Chrome Extension -\u003e Native Messaging -\u003e Daemon Service -\u003e Keystore\n```\n\n- **Browser DApp**: Any Web3-enabled website\n- **Chrome Extension**: Injects Web3 provider, forwards requests\n- **Daemon Service**: Terminal application handling approvals\n- **Keystore**: Encrypted wallet storage on local filesystem\n\n## Installation\n\n```shell\n# Install all dependencies\n$ make install\n\n# Create a new wallet (enforces one wallet maximum)\n$ make create-wallet\n\n# Start the daemon (with auto-reload keystore)\n$ make start-daemon\n\n# Create additional accounts (HD derivation)\n$ make create-account\n\n# Export all wallet data (dangerous!)\n$ make export-wallet\n```\n\n## Quick Start\n\n1. **Create a wallet**\n   ```shell\n   $ cd packages/cli\n   $ ./bin/wallet-cli create\n   ```\n\n2. **Start the daemon**\n   ```shell\n   $ cd packages/daemon\n   $ ./bin/daemon-wallet-service\n   ```\n\n3. **Install Chrome extension** (see extension package)\n\n4. **Connect to a DApp** and approve transactions in your terminal\n\n## Project Structure\n\n```\ndaemonWallet/\n├── packages/\n│   ├── core/       # Shared libraries (keystore, crypto, config)\n│   ├── cli/        # Wallet management CLI tool\n│   ├── daemon/     # Native messaging daemon service\n│   └── extension/  # Chrome extension (not included)\n├── scripts/        # Build and installation scripts\n└── docs/          # Documentation\n```\n\n## Development\n\n```shell\n# Run all tests\n$ make test\n\n# Start daemon in development mode\n$ make dev\n\n# Check daemon status\n$ make daemon-status\n\n# See all commands\n$ make help\n```\n\n## Security Model\n\n1. **Private keys never leave the CLI** - The browser extension cannot access keys\n2. **Terminal-based approval** - All transactions require explicit approval\n3. **Encrypted storage** - Keys are encrypted with scrypt + AES-256-GCM\n4. **Manual lock only** - No auto-lock timeout (unlock persists until manual lock or restart)\n5. **State machine validation** - All requests validated through security pipeline\n6. **Circuit breakers** - Automatic error recovery and protection\n7. **Account visibility control** - Hide/show accounts without deleting them\n\n## Configuration\n\nConfiguration is stored in `~/.daemon-wallet/config.json`:\n\n```json\n{\n  \"networks\": {\n    \"mainnet\": { \"rpc\": \"...\", \"chainId\": 1 },\n    \"sepolia\": { \"rpc\": \"...\", \"chainId\": 11155111 }\n  },\n  \"security\": {\n    \"unlockTimeout\": 900,\n    \"allowBrowserUnlock\": false,\n    \"requireApproval\": true\n  }\n}\n```\n\n## Native Messaging Setup\n\nThe daemon must be registered as a native messaging host:\n\n1. Create host manifest at:\n   - Linux: `~/.config/google-chrome/NativeMessagingHosts/`\n   - macOS: `~/Library/Application Support/Google/Chrome/NativeMessagingHosts/`\n\n2. Host manifest format:\n   ```json\n   {\n     \"name\": \"com.daemonwallet.host\",\n     \"description\": \"Daemon Wallet Native Host\",\n     \"path\": \"/absolute/path/to/daemon-wallet-service\",\n     \"type\": \"stdio\",\n     \"allowed_origins\": [\"chrome-extension://YOUR_EXTENSION_ID/\"]\n   }\n   ```\n\n## API Reference\n\nSee individual package READMEs:\n- [Core API](packages/core/README.md) - Keystore and utilities\n- [CLI Commands](packages/cli/README.md) - Wallet management\n- [Daemon API](packages/daemon/README.md) - Native messaging protocol\n\n## Contributing\n\nThis is a proof of concept. Contributions are welcome:\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Submit a pull request\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xheartcode%2Fdaemonwallet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xheartcode%2Fdaemonwallet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xheartcode%2Fdaemonwallet/lists"}