Skip to content
/ xwallet Public

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

License

Notifications You must be signed in to change notification settings

keng42/xwallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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