https://github.com/mrz1836/sigil
๐ฎ Personal multi-chain wallet CLI โ unlock your BSV, BTC, and ETH
https://github.com/mrz1836/sigil
bitcoin bitcoinsv bsv btc cli crypto eth multi-chain wallet
Last synced: 3 months ago
JSON representation
๐ฎ Personal multi-chain wallet CLI โ unlock your BSV, BTC, and ETH
- Host: GitHub
- URL: https://github.com/mrz1836/sigil
- Owner: mrz1836
- License: mit
- Created: 2026-01-28T16:46:59.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2026-02-26T15:56:14.000Z (3 months ago)
- Last Synced: 2026-02-26T21:55:48.859Z (3 months ago)
- Topics: bitcoin, bitcoinsv, bsv, btc, cli, crypto, eth, multi-chain, wallet
- Language: Go
- Homepage:
- Size: 2.61 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
- Support: .github/SUPPORT.md
- Agents: .github/AGENTS.md
Awesome Lists containing this project
README
# ๐ฎย ย Sigil
**Terminal-based multi-chain cryptocurrency wallet for power users**
### Project Navigation
๐ย Installation
โกย Quickย Start
๐ย Documentation
๐ย Security
๐ ๏ธย Codeย Standards
๐งชย Examplesย &ย Tests
๐คย AIย Usage
โ๏ธย License
๐คย Contributing
๐ฅย Maintainers
### ๐ฅ Demo

## ๐ Installation
**Sigil** requires a [supported release of Go](https://golang.org/doc/devel/release.html#policy).
### Install via go install
```bash
go install github.com/mrz1836/sigil/cmd/sigil@latest
```
### Build from source
```bash
git clone https://github.com/mrz1836/sigil.git
cd sigil
go build -o bin/sigil ./cmd/sigil
```
## โก Quick Start
Get up and running with these essential commands:
### Create a wallet
```bash
sigil wallet create main
```
Creates a new HD wallet with BIP39 mnemonic phrase.
### Check balances
```bash
sigil balance show --wallet main
```
Displays balances across all supported chains (ETH, USDC, BSV).
### Get a receiving address
```bash
sigil receive --wallet main --chain bsv --qr --label "Re-up time!"
```
Generates a new receiving address for the specified chain.
### Check for incoming funds
```bash
sigil receive --wallet main --chain bsv --check
```
Checks for incoming transactions to your wallet.
### Send a transaction
```bash
sigil tx send --wallet main --to 0x742d35Cc663... --amount 0.00001 --chain eth
sigil tx send --wallet main --to 1A1zP1eP5QGef... --amount 0.00001 --chain bsv
```
Sends cryptocurrency to the specified address.
### Back up your wallet
```bash
sigil backup create --wallet main
```
Creates an encrypted backup of your wallet.
### Keep sigil up to date
```bash
# Check for a new release
sigil upgrade --check
# Install the latest release
sigil upgrade
# If you're running a dev/commit build, add --force
sigil upgrade --force
```
Downloads the latest binary from GitHub, verifies SHA256, and replaces in-place. See [`upgrade`](docs/CLI.md#upgrade) for flags.
> ๐ **For complete command reference and advanced features, see the [CLI Documentation โ](docs/CLI.md)**
## ๐ Documentation
View the comprehensive documentation for Sigil:
| Document | Description |
|---------------------------------|------------------------------------------------------|
| **[CLI.md](docs/CLI.md)** | Complete command reference and usage guide |
> **Heads up!** Sigil is designed with minimal dependencies and maximum security. All cryptographic operations use battle-tested libraries:
> - **filippo.io/age** for encryption
> - **golang.org/x/crypto** for cryptographic primitives
> - **cosmos/go-bip39** for BIP39 mnemonic generation
### Supported Chains
| Chain | Status | Description |
|-------|--------|-------------|
| โ
Bitcoin SV (BSV) | **Supported** | UTXO-based transaction support |
| โ
Ethereum (ETH) | **Supported** | Full transaction and balance support |
| โ
USDC | **Supported** | ERC-20 token on Ethereum network |
| ๐ง Bitcoin (BTC) | **Planned** | Coming in future release |
| ๐ง Bitcoin Cash (BCH) | **Planned** | Coming in future release |
### Key Features
- ๐ **HD Wallet Support** โ BIP39 mnemonic phrases with BIP32/BIP44 derivation
- ๐ก๏ธ **Shamir's Secret Sharing** โ Split your wallet seed into multiple shares for enhanced security
- ๐ฐ **Multi-Chain Balances** โ Check balances across all supported networks
- ๐ค **Transaction Management** โ Create, sign, and broadcast transactions
- ๐ **Secure Sessions** โ Encrypted session management using OS keychain
- ๐ค **Agent Tokens** โ Programmatic access for automation
- ๐พ **Encrypted Backups** โ Secure wallet backup and restoration
- ๐งฉ **UTXO Management** โ Advanced coin control for Bitcoin-based chains
- ๐ฑ **QR Code Support** โ Terminal-based QR code generation and scanning
## ๐ Security
### Important Disclaimer
> โ ๏ธ **Experimental Software โ Use at Your Own Risk**
>
> Sigil is experimental, open-source software provided "AS-IS" without warranty. By using Sigil, you acknowledge:
>
> - **You control your keys:** Sigil never transmits or stores your private keys. Lost mnemonics are unrecoverable.
> - **Transactions are final:** Cryptocurrency transactions are irreversible.
> - **No formal audit:** This software has not undergone professional security auditing.
> - **No liability:** Authors accept no responsibility for loss of funds or damages.
>
> **Do not use Sigil with funds you cannot afford to lose.**
For security issues, see our [Security Policy](.github/SECURITY.md) or contact: [sigil@mrz1818.com](mailto:sigil@mrz1818.com)
### Additional Documentation & Repository Management
Development Setup (Getting Started)
Install [MAGE-X](https://github.com/mrz1836/go-mage) build tool for development:
```bash
# Install MAGE-X for development and building
go install github.com/magefile/mage@latest
go install github.com/mrz1836/go-mage/magex@latest
magex update:install
```
Wallet Discovery & Migration
Sigil can discover and sweep funds from other BSV wallets by scanning multiple BIP44 derivation paths. This is essential for recovering funds from defunct providers or migrating from other wallets.
### Supported Derivation Schemes
Sigil automatically scans these derivation paths to find your funds:
| Derivation Scheme | Path | Supported Wallets |
|-------------------|------|-------------------|
| **BSV Standard** | `m/44'/236'/0'/...` | [RelayX](https://relayx.com/), [RockWallet](https://rockwallet.com/), [Twetch](https://twetch.com/), [Centbee](https://www.centbee.com/) โ , Trezor, Ledger, KeepKey |
| **Bitcoin Legacy** | `m/44'/0'/0'/...` | [MoneyButton](https://www.moneybutton.com/) โ , [ElectrumSV](https://electrumsv.io/) |
| **Bitcoin Cash** | `m/44'/145'/0'/...` | [Exodus](https://www.exodus.com/), Simply.Cash โ , BCH fork splits |
| **HandCash Legacy** | `m/0'/...` | [HandCash 1.x](https://handcash.io/) (legacy version only) |
โ *Service discontinued or shut down*
### Defunct BSV Services Supported
Sigil provides a recovery path for users of these defunct BSV services:
- **[Centbee](https://www.centbee.com/)** โ Popular BSV mobile wallet that ceased operations in 2026. Uses BSV Standard derivation (`m/44'/236'/...`) with 4-digit PIN as BIP39 passphrase.
- **[MoneyButton](https://www.moneybutton.com/)** โ Popular BSV wallet and identity provider that shut down in 2023. Used Bitcoin Legacy derivation (`m/44'/0'/...`).
- **Simply.Cash** โ Mobile BSV wallet that ceased operations. Used Bitcoin Cash derivation path (`m/44'/145'/...`).
- **[HandCash 1.x](https://handcash.io/)** โ Early versions of HandCash used a non-standard legacy path (`m/0'/...`). Note: HandCash 2.0+ uses proprietary non-exportable keys and cannot be imported.
### Active Wallets Supported
Sigil also supports migrating from active BSV wallets:
- **[RelayX](https://relayx.com/)** โ BSV wallet and token platform
- **[RockWallet](https://rockwallet.com/)** โ Multi-chain mobile wallet with BSV support
- **[Twetch](https://twetch.com/)** โ BSV social media platform with integrated wallet
- **[ElectrumSV](https://electrumsv.io/)** โ Desktop BSV wallet
- **[Exodus](https://www.exodus.com/)** โ Multi-chain desktop/mobile wallet
### Hardware Wallets
- **Trezor** โ Hardware wallet with BSV support
- **Ledger** โ Hardware wallet with BSV support
- **KeepKey** โ Hardware wallet with BSV support
### Usage
Discover funds from another wallet's mnemonic:
```bash
sigil wallet discover --mnemonic "your twelve or twenty-four word phrase"
```
For Centbee wallets (uses 4-digit PIN as passphrase):
```bash
sigil wallet discover --mnemonic "your phrase" --passphrase "1234"
```
See the [CLI Documentation](docs/CLI.md#wallet-discover) for complete details on wallet discovery and fund recovery.
Binary Deployment
This project uses [goreleaser](https://github.com/goreleaser/goreleaser) for streamlined binary deployment to GitHub. To get started, install it via:
```bash
brew install goreleaser
```
The release process is defined in the [.goreleaser.yml](.goreleaser.yml) configuration file.
### Supported Platforms
- **Linux:** amd64, arm64
- **macOS:** amd64, arm64
- **Windows:** amd64, arm64
### Release Process
Then create and push a new Git tag using:
```bash
magex version:bump bump=patch push=true
```
This process ensures consistent, repeatable releases with properly versioned artifacts and citation metadata.
Build Commands
View all build commands
```bash script
magex help
```
Common commands:
- `magex build` โ Build the binary
- `magex test` โ Run test suite
- `magex lint` โ Run all linters
- `magex deps:update` โ Update dependencies
GitHub Workflows
Sigil uses the **Fortress** workflow system for comprehensive CI/CD:
- **fortress-test-suite.yml** โ Complete test suite across multiple Go versions
- **fortress-code-quality.yml** โ Code quality checks (gofmt, golangci-lint, staticcheck)
- **fortress-security-scans.yml** โ Security vulnerability scanning
- **fortress-coverage.yml** โ Code coverage reporting to Codecov
- **fortress-release.yml** โ Automated binary releases via GoReleaser
See all workflows in [`.github/workflows/`](.github/workflows/).
Updating Dependencies
To update all dependencies (Go modules, linters, and related tools), run:
```bash
magex deps:update
```
This command ensures all dependencies are brought up to date in a single step, including Go modules and any managed tools. It is the recommended way to keep your development environment and CI in sync with the latest versions.
## ๐งช Examples & Tests
All unit tests run via [GitHub Actions](https://github.com/mrz1836/sigil/actions) and use [Go version 1.25.6](https://go.dev/doc/go1.25). View the [configuration file](.github/workflows/fortress.yml).
Run all tests (fast):
```bash script
magex test
```
Run all tests with race detector (slower):
```bash script
magex test:race
```
### Test Coverage
View coverage report:
```bash script
magex test:coverage
```
Coverage reports are automatically uploaded to [Codecov](https://codecov.io/gh/mrz1836/sigil) on every commit.
## ๐ ๏ธ Code Standards
Read more about this Go project's [code standards](.github/CODE_STANDARDS.md).
## ๐ค AI Usage & Assistant Guidelines
Read the [AI Usage & Assistant Guidelines](.github/CLAUDE.md) for details on how AI is used in this project and how to interact with AI assistants.
## ๐ฅ Maintainers
| [
](https://github.com/mrz1836) |
|:------------------------------------------------------------------------------------------------:|
| [MrZ](https://github.com/mrz1836) |
## ๐ค Contributing
View the [contributing guidelines](.github/CONTRIBUTING.md) and please follow the [code of conduct](.github/CODE_OF_CONDUCT.md).
### How can I help?
All kinds of contributions are welcome :raised_hands:!
The most basic way to show your support is to star :star2: the project, or to raise issues :speech_balloon:.
You can also support this project by [becoming a sponsor on GitHub](https://github.com/sponsors/mrz1836) :clap:
or by making a [**bitcoin donation**](https://mrz1818.com/?tab=tips&utm_source=github&utm_medium=sponsor-link&utm_campaign=sigil&utm_term=sigil&utm_content=sigil) to ensure this journey continues indefinitely! :rocket:
[](https://github.com/mrz1836/sigil/stargazers)
## ๐ License
[](LICENSE)