{"id":41897755,"url":"https://github.com/zscole/safe-message-cli","last_synced_at":"2026-01-25T14:37:22.305Z","repository":{"id":301728100,"uuid":"1010135708","full_name":"zscole/safe-message-cli","owner":"zscole","description":"Sign and verify messages with Gnosis Safe","archived":false,"fork":false,"pushed_at":"2025-06-30T23:45:46.000Z","size":755,"stargazers_count":13,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-10T13:58:17.450Z","etag":null,"topics":["eip1271","ethereum","gnosis-safe","message-signing","multisig","safe-app","smart-contract-wallet"],"latest_commit_sha":null,"homepage":"https://safetools.io","language":"CSS","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/zscole.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":"2025-06-28T12:25:53.000Z","updated_at":"2025-07-02T10:17:28.000Z","dependencies_parsed_at":"2025-06-28T13:42:20.882Z","dependency_job_id":null,"html_url":"https://github.com/zscole/safe-message-cli","commit_stats":null,"previous_names":["zscole/safe-message-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zscole/safe-message-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zscole%2Fsafe-message-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zscole%2Fsafe-message-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zscole%2Fsafe-message-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zscole%2Fsafe-message-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zscole","download_url":"https://codeload.github.com/zscole/safe-message-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zscole%2Fsafe-message-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28754293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"last_error":"SSL_read: 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":["eip1271","ethereum","gnosis-safe","message-signing","multisig","safe-app","smart-contract-wallet"],"created_at":"2026-01-25T14:37:22.221Z","updated_at":"2026-01-25T14:37:22.294Z","avatar_url":"https://github.com/zscole.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Safe Tools\n\nThe easiest way to sign and verify messages with your Gnosis Safe. Built for simple, reliable message signing with an authentic retro terminal interface. Features EIP-712 message signing, EIP-1271 verification, and MEW/MyCrypto-compatible output formats.\n\n[![Live App](https://img.shields.io/badge/Live%20App-safetools.io-12ff80?style=flat-square)](https://www.safetools.io)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](LICENSE)\n\n## 🚀 Quick Start\n\n### Use the Safe App\n\n1. Go to [app.safe.global](https://app.safe.global)\n2. Open the **Apps** tab in your Safe\n3. Click **Add Custom App**\n4. Paste: `https://www.safetools.io`\n\nOnce added, Safe Tools will appear in your Safe's app drawer for easy message signing.\n\n### Install CLI Tools\n\n```bash\nnpm install -g safe-message-tools\n```\n\n## 🎯 What it's for\n\n- **Sign messages** from your Safe\n- **Authenticate** with apps and services  \n- **Prove Safe ownership** onchain or offchain\n- **Generate verifiable signatures** for any use case\n\n## 🛠️ Usage\n\n### Safe App Interface\n\nThe web interface provides an authentic retro terminal experience for signing messages directly from your Safe:\n\n- **Retro terminal UI**: Authentic 80s hacker aesthetic with scanlines and terminal effects\n- **Simple workflow**: Enter any message, approve the Safe transaction, get verifiable results  \n- **Multiple output formats**: Standard signature + MEW/MyCrypto-compatible JSON\n- **Copy-to-clipboard**: One-click copying for all signature data and JSON formats\n- **Multi-signature support**: Automatically handles Safe threshold requirements (2/3, 3/5, etc.)\n- **EIP-1271 verification**: Onchain signature validation using Safe's SignMessageLib contract\n\n### CLI Tools\n\nFor developers and automation:\n\n```bash\n# Sign with private key\nsafe-sign --safe 0x... --key 0x... --message \"Hello World\" --rpc https://...\n\n# Verify signature onchain\nsafe-verify --safe 0x... --signature 0x... --message \"Hello World\" --rpc https://... --onchain\n\n# Hardware wallet signing (Ledger)\nsafe-hw --safe 0x... --message \"Hello World\" --rpc https://...\n\n# Coordinate multiple signatures  \nsafe-collect --safe 0x... --message \"Hello World\" --rpc https://... --sig 0x... --signer 0x...\n```\n\n## 🏗️ How it works\n\nSafe Tools uses the official Safe SignMessageLib contract and EIP-1271 standard:\n\n1. **EIP-712 hashing**: Messages are hashed using Safe's domain separator for security\n2. **Onchain transaction**: Creates a transaction to SignMessageLib contract (`0xA65387F16B013cf2Af4605Ad8aA5ec25a2cbA3a2`)\n3. **Multi-signature coordination**: Safe interface handles threshold requirements automatically\n4. **Dual output formats**: Standard signature + MEW/MyCrypto-compatible JSON for broad compatibility\n5. **EIP-1271 verification**: Onchain signature validation that any service can verify\n6. **Cross-platform support**: Works in Safe Apps interface and as standalone CLI tools\n\n## 🔧 Development\n\n### Repository Structure\n\n```\n├── safe-app/          # Safe App (React + Vite)\n├── cli/               # Command-line tools  \n├── lib/               # Shared utilities\n└── package.json       # CLI package configuration\n```\n\n### Local Development\n\n```bash\n# Clone repository\ngit clone https://github.com/zscole/safe-message-cli.git\ncd safe-message-cli\n\n# Install dependencies\nnpm run install-all\n\n# Start development server\nnpm run dev\n```\n\nThe Safe App will be available at `http://localhost:5174` - add this URL as a custom app in your Safe interface for testing.\n\n### Building\n\n```bash\n# Build Safe App for production\nnpm run build\n\n# Install CLI tools globally from source\nnpm install -g .\n```\n\n## 📋 Output Formats\n\n### Standard Signature Output\n- Original message text\n- Safe address used for signing\n- Signature/transaction hash\n- EIP-1271 verification status\n\n### MEW/MyCrypto-Compatible JSON\n```json\n{\n  \"address\": \"0x9CFe9dc15b6cA16147dF1b93E487bAaDd422F693\",\n  \"msg\": \"Prove ownership of Safe for domain verification\", \n  \"sig\": \"0xbfddd739e0a9a49d6885ccded16267760649505bdd589703cc833364904a9e4c\",\n  \"version\": \"2\"\n}\n```\n\n## 📋 Standards\n\n- **EIP-712**: Typed data signing with Safe domain separation\n- **EIP-1271**: Onchain signature verification standard\n- **Safe Apps SDK**: Official integration with Safe interface\n- **MEW/MyCrypto**: Compatible JSON signature format\n- **Browser compatible**: No Node.js dependencies in web interface\n\n## 🛡️ Security\n\n- Uses official Safe SignMessageLib contract (`0xA65387F16B013cf2Af4605Ad8aA5ec25a2cbA3a2`)\n- No custom smart contracts deployed\n- All operations require Safe owner approval\n- Open source and auditable code\n\n## 📄 License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n\n## 🔗 Links\n\n- **Live App**: https://www.safetools.io\n- **Safe Apps**: Add as custom app in your Safe interface\n- **GitHub**: https://github.com/zscole/safe-message-cli\n\n---\n\nBuilt by [Zak Cole](https://x.com/0xzak) at [Number Group](https://numbergroup.xyz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzscole%2Fsafe-message-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzscole%2Fsafe-message-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzscole%2Fsafe-message-cli/lists"}