xwallet

module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: MIT

README

xwallet

A tool for converting BIP39 mnemonic phrases to addresses and private keys, creating and signing transactions.

It's inspired by iancoleman/bip39.

API Reference Build and Create Github Release Coverage Status Go Report Card MIT License

Features

  • generate mnemonic
  • generate addresses and private keys
  • create and sign transactions

Installation

Download a binary from the releases page and place it in a directory in your $PATH.

Go users
go get github.com/keng42/xwallet

CLI Usage

Display supported networks
xwallet network ls
Generate random mnemonic
xwallet mnemonic new

# specify words length
xwallet mnemonic new --words=24
Generate new addresses
xwallet address new

# specify options
xwallet address new \
  --network="btc" \
  --mnemonic="term mushroom resemble heavy calm tribe leader aim coyote polar during neglect" \
  --path="bip44" \
  --start=0 \
  --end=2 \
  --harden=false

Networks support address generation

  • AC - Asiacoin
  • ACC - Adcoin
  • AGM - Argoneum
  • ANON - ANON
  • ARYA - Aryacoin
  • AUR - Auroracoin
  • AXE - Axe
  • BCA - Bitcoin Atom
  • BCH - Bitcoin Cash
  • BEET - Beetlecoin
  • BELA - Belacoin
  • BITG - Bitcoin Green
  • BLK - BlackCoin
  • BND - Blocknode
  • BOLI - Bolivarcoin
  • BRIT - Britcoin
  • BSC - Binance Smart Chain
  • BSD - Bitsend
  • BST - BlockStamp
  • BSV - BitcoinSV
  • BTA - Bata
  • BTC - Bitcoin
  • BTC - Bitcoin RegTest
  • BTC - Bitcoin Testnet
  • BTCP - Bitcoin Private
  • BTCPt - Bitcoin Private Testnet
  • BTCZ - Bitcoinz
  • BTDX - BitCloud
  • BTG - Bitcoin Gold
  • BTX - Bitcore
  • CCN - Cannacoin
  • CDN - Canadaecoin
  • CESC - Cryptoescudo
  • CLAM - Clams
  • CLO - Callisto
  • CLUB - Clubcoin
  • CMP - Compcoin
  • CPU - CPUchain
  • CRAVE - Crave
  • CRP - CranePay
  • CRW - Crown
  • CRW - Crown (Legacy)
  • CSC - CasinoCoin
  • DASH - Dash
  • DASH - Dash Testnet
  • DFC - Defcoin
  • DGB - Digibyte
  • DGC - Digitalcoin
  • DIVI - DIVI
  • DIVI - DIVI Testnet
  • DMD - Diamond
  • DNR - Denarius
  • DOGE - Dogecoin
  • DOGEt - Dogecoin Testnet
  • DXN - DEXON
  • ECN - Ecoin
  • EDRC - Edrcoin
  • EFL - Egulden
  • ELLA - Ellaism
  • EMC2 - Einsteinium
  • EOS - EOSIO
  • ERC - Europecoin
  • ERE - EtherCore
  • ESN - Ethersocial Network
  • ETC - Ethereum Classic
  • ETH - Ethereum
  • EWT - EnergyWeb
  • EXCC - ExchangeCoin
  • EXCL - Exclusivecoin
  • EXP - Expanse
  • FIO - Foundation for Interwallet Operability
  • FIRO - Firo (Zcoin rebrand)
  • FIX - FIX
  • FIX - FIX Testnet
  • FJC - Fujicoin
  • FLASH - Flashcoin
  • FRST - Firstcoin
  • FTC - Feathercoin
  • GAME - GameCredits
  • GBX - Gobyte
  • GCR - GCRCoin
  • GRC - Gridcoin
  • HNC - Helleniccoin
  • HNS - Handshake
  • HUSH - Hush (Legacy)
  • HUSH - Hush3
  • INSN - Insane
  • IOP - Iop
  • IOV - Starname
  • IXC - Ixcoin
  • JBS - Jumbucks
  • KMD - Komodo
  • KOBO - Kobocoin
  • LBC - Library Credits
  • LCC - Litecoincash
  • LDCN - Landcoin
  • LINX - Linx
  • LKR - Lkrcoin
  • LTC - Litecoin
  • LTCt - Litecoin Testnet
  • LTZ - LitecoinZ
  • LUNA - Terra
  • LYNX - Lynx
  • MAZA - Maza
  • MEC - Megacoin
  • MIX - MIX
  • MNX - Minexcoin
  • MOAC - MOAC
  • MONA - Monacoin
  • MONK - Monkey Project
  • MUSIC - Musicoin
  • NANO - Nano
  • NAV - Navcoin
  • NEBL - Neblio
  • NEOS - Neoscoin
  • NIX - NIX Platform
  • NLG - Gulden
  • NMC - Namecoin
  • NRG - Energi
  • NRO - Neurocoin
  • NSR - Nushares
  • NVC - Novacoin
  • NYC - Newyorkc
  • OK - Okcash
  • OMNI - Omnicore
  • ONION - DeepOnion
  • ONX - Onixcoin
  • PART - Particl
  • PHR - Phore
  • PINK - Pinkcoin
  • PIRL - Pirl
  • PIVX - PIVX
  • PIVX - PIVX Testnet
  • POA - Poa
  • POSW - POSWcoin
  • POT - Potcoin
  • PPC - Peercoin
  • PRJ - ProjectCoin
  • PSB - Pesobit
  • PUT - Putincoin
  • R-BTC - RSK
  • RBY - Rubycoin
  • RDD - Reddcoin
  • RITO - Ritocoin
  • RPD - Rapids
  • RUNE - THORChain
  • RVN - Ravencoin
  • RVR - RevolutionVR
  • SAFE - Safecoin
  • SCRIBE - Scribe
  • SDC - ShadowCash
  • SDC - ShadowCash Testnet
  • SLM - Slimcoin
  • SLM - Slimcoin Testnet
  • SLP - Simple Ledger Protocol
  • SLR - Solarcoin
  • SLS - Salus
  • SMLY - Smileycoin
  • STASH - Stash
  • STASH - Stash Testnet
  • STRAT - Stratis
  • SUGAR - Sugarchain
  • SWTC - Jingtum
  • SYS - Syscoin
  • tBND - Blocknode Testnet
  • THC - Hempcoin
  • THT - Thought
  • TOA - Toa
  • tR-BTC - RSK Testnet
  • TRX - Tron
  • TSTRAT - Stratis Testnet
  • TUGAR - Sugarchain Testnet
  • TWINS - TWINS
  • TWINS - TWINS Testnet
  • UNO - Unobtanium
  • USC - Ultimatesecurecash
  • USNBT - NuBits
  • VASH - Vpncoin
  • VET - VeChain
  • VIA - Viacoin
  • VIA - Viacoin Testnet
  • VIVO - Vivo
  • VTC - Vertcoin
  • WC - Wincoin
  • WGR - Wagerr
  • XAX - Artax
  • XBC - Bitcoinplus
  • XLM - Stellar
  • XMY - Myriadcoin
  • XRP - Ripple
  • XUEZ - Xuez
  • XVC - Vcash
  • XVG - Verge
  • XWC - Whitecoin
  • XWCC - Whitecoin Classic
  • XZC - Zcoin (rebranded to Firo)
  • ZCL - Zclassic
  • ZEC - Zcash
  • ZEN - Horizen
  • ELA - Elastos
  • GRS - Groestlcoin
  • GRS - Groestlcoin Testnet
  • NAS - Nebulas
  • ZBC - ZooBlockchain

More info

BIP39 Mnemonic code for generating deterministic keys
Read more at the official BIP39 spec

BIP32 Hierarchical Deterministic Wallets
Read more at the official BIP32 spec
See the demo at bip32.org

BIP44 Multi-Account Hierarchy for Deterministic Wallets
Read more at the official BIP44 spec

BIP49 Derivation scheme for P2WPKH-nested-in-P2SH based accounts
Read more at the official BIP49 spec

BIP85 Deterministic Entropy From BIP32 Keychains
Read more at the official BIP85 spec

Directories

Path Synopsis
cmd
pkg
chains/atom
Package atom provides utilities for ATOM - Cosmos.
Package atom provides utilities for ATOM - Cosmos.
chains/bch
Package bch provides utilities for BCH - Bitcoin Cash.
Package bch provides utilities for BCH - Bitcoin Cash.
chains/btc
Package btc provides utilities for BTC - Bitcoin.
Package btc provides utilities for BTC - Bitcoin.
chains/crw
Package crw provides utilities for CRW - Crown.
Package crw provides utilities for CRW - Crown.
chains/csc
Package csc provides utilities for CSC - CasinoCoin.
Package csc provides utilities for CSC - CasinoCoin.
chains/eos
Package eos provides utilities for EOS - EOSIO.
Package eos provides utilities for EOS - EOSIO.
chains/eth
Package eth provides utilities for ETH - Ethereum.
Package eth provides utilities for ETH - Ethereum.
chains/fio
Package fio provides utilities for FIO - CasinoCoin.
Package fio provides utilities for FIO - CasinoCoin.
chains/hns
Package hns provides utilities for HNS - Handshake.
Package hns provides utilities for HNS - Handshake.
chains/nano
Package nano provides utilities for NANO - Nano.
Package nano provides utilities for NANO - Nano.
chains/nano/edwards25519
Package edwards25519 is a fork of golang's ed25519 implementation to use blake2b instead of sha3.
Package edwards25519 is a fork of golang's ed25519 implementation to use blake2b instead of sha3.
chains/rsk
Package rsk provides utilities for R-BTC - RSK
Package rsk provides utilities for R-BTC - RSK
chains/swtc
Package swtc provides utilities for SWTC - Jingtum.
Package swtc provides utilities for SWTC - Jingtum.
chains/trx
Package trx provides utilities for TRX - Tron.
Package trx provides utilities for TRX - Tron.
chains/xlm
Package xlm provides utilities for XLM - Stellar
Package xlm provides utilities for XLM - Stellar
chains/xrp
Package xrp provides utilities for XRP - Ripple.
Package xrp provides utilities for XRP - Ripple.
chains/xwc
Package xwc provides utilities for XWC - Whitecoin.
Package xwc provides utilities for XWC - Whitecoin.
mnemonic
Package mnemonic provides functions to generate mnemonic phrases.
Package mnemonic provides functions to generate mnemonic phrases.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL