GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - 0xyydeca/GoSignerVaultCLI: ๐Ÿ” Go-powered CLI tool for generating secure cold wallets and signing EVM transactions offline. Ideal for air-gapped systems, it features encrypted keystores, modular chain configs, and zero external dependencies. Built for devs, validators, and power users. โšก

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
cmd
cmd
 
 
core
core
 
 
keystore
keystore
 
 
tx
tx
 
 
.gitignore
.gitignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
config.toml
config.toml
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 

Repository files navigation

๐Ÿ” GoSignerVaultCLI: Go-Powered Cold Wallet CLI & Transaction Signer

GoSignerVaultCLI is a lightweight, secure, and extensible command-line interface (CLI) wallet and transaction signer built in Go. Designed for crypto enthusiasts, developers, and validators, GoSignerVaultCLI allows you to securely generate and manage private keys offline, sign transactions for Ethereum-compatible blockchains, and export signed payloads for broadcast.

Ideal for air-gapped environments or minimal setups, GoSignerVaultCLI focuses on security-first architecture, zero external dependencies, and extensibility for any EVM-based chain.


โœจ Features

  • ๐Ÿ”‘ Generate Cold Wallet Keys Securely generate new wallets (private/public keypairs) using Go's crypto/ecdsa and save them to encrypted keystore files.

  • ๐Ÿ›ก๏ธ Offline Transaction Signing Import or paste unsigned transactions, sign them locally, and export raw signed transactions to be broadcast separately.

  • ๐Ÿ”— Ethereum & EVM-Compatible Full support for Ethereum, Polygon, BNB Smart Chain, Avalanche C-Chain, etc. via customizable chain configs.

  • ๐Ÿ“ Keystore Encryption Encrypt private keys using AES-256 and store them locally in password-protected JSON files.

  • ๐Ÿงฉ Modular Chain Configs Easily switch between supported networks or add your own by editing a simple TOML config.

  • ๐Ÿ”‹ Message Signing (EIP-191) Sign arbitrary messages using the eth_sign method for use in DApps, DAOs, and smart contract authentication.


๐Ÿ“‚ Project Structure

gosignervaultcli/
โ”‚
โ”œโ”€โ”€ cmd/                   # CLI logic (Cobra-based)
โ”‚   โ”œโ”€โ”€ keys.go            # Commands to generate/list/show keys
โ”‚   โ”œโ”€โ”€ sign.go            # Commands to sign transactions/messages
โ”‚   โ””โ”€โ”€ utils.go           # Helper functions for CLI
โ”‚
โ”œโ”€โ”€ core/                  # Core crypto logic
โ”‚   โ”œโ”€โ”€ wallet.go          # Key generation, encryption, decryption
โ”‚   โ”œโ”€โ”€ signer.go          # Transaction and message signing
โ”‚   โ””โ”€โ”€ chain_config.go    # EVM chain configuration struct
โ”‚
โ”œโ”€โ”€ keystore/              # Encrypted key file manager
โ”‚   โ”œโ”€โ”€ encrypt.go         # AES-based encryption helpers
โ”‚   โ””โ”€โ”€ keystore.go        # Load/save encrypted keys
โ”‚
โ”œโ”€โ”€ tx/                    # Transaction encoder/decoder
โ”‚   โ”œโ”€โ”€ txbuilder.go       # Raw transaction struct
โ”‚   โ””โ”€โ”€ broadcast.go       # Optional: broadcasting helper (for online setups)
โ”‚
โ”œโ”€โ”€ go.mod
โ””โ”€โ”€ README.md

๐Ÿš€ Getting Started

1. Clone the repo

git clone https://github.com/aryehky/gosignervaultcli
cd gosignervaultcli
go mod tidy

2. Build the CLI

go build -o gosignervaultcli main.go

3. Create a New Wallet

./gosignervaultcli keys generate --name mywallet

Enter a strong password to encrypt your keystore file.

4. Sign a Transaction (Offline)

./gosignervaultcli sign tx --input rawTx.json --wallet mywallet --output signedTx.json

5. Export for Broadcast

Upload the signedTx.json to an online machine and broadcast it with tools like Etherscan Gas Tracker or custom RPC broadcaster.


๐Ÿ›  Configuration

Edit config.toml to define custom EVM chains:

[ethereum]
rpc_url = "https://mainnet.infura.io/v3/YOUR_INFURA_KEY"
chain_id = 1
symbol = "ETH"

[polygon]
rpc_url = "https://polygon-rpc.com"
chain_id = 137
symbol = "MATIC"

๐Ÿงช Test Coverage

Run unit tests for core modules:

go test ./core/...
go test ./keystore/...

๐Ÿ”’ Security Considerations

  • Never share your keystore files or passwords.
  • Keep this app on an air-gapped device for maximum cold storage protection.
  • All private key handling is performed in-memory and securely zeroed after use.

๐Ÿ“„ License

MIT License


๐Ÿง  Inspiration

GoSignerVaultCLI is inspired by cold wallet tools like Gnosis Safe CLI, Ledger Live, and MyCrypto desktop but reimagined in Go for transparency, auditability, and minimal dependency footprint.


๐Ÿค Contributing

PRs welcome! Submit issues or feature requests under Issues.

About

๐Ÿ” Go-powered CLI tool for generating secure cold wallets and signing EVM transactions offline. Ideal for air-gapped systems, it features encrypted keystores, modular chain configs, and zero external dependencies. Built for devs, validators, and power users. โšก

Topics

aes-encryptionairgapclieip-191evmgolangkeystoremodular-configoffline-security

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.