项目作者: KaiWitt

项目描述 :
Check the balance of an xpub and its addresses
高级语言: Rust
项目地址: git://github.com/KaiWitt/xpub-balance.git
创建时间: 2021-05-05T12:20:59Z
项目社区:https://github.com/KaiWitt/xpub-balance

开源协议:MIT License

下载


xpub-balance

Checks the balance of an xpub and its addresses, uses Esplora to collect address information.

Also works with the other extended public key types (ypub and zpub)

Usage

  1. xpub-balance 0.1.0
  2. Checks the balance of an xpub and its addresses
  3. USAGE:
  4. xpub-balance.exe [FLAGS] [OPTIONS] <xpub> [ARGS]
  5. FLAGS:
  6. -c, --change Show change instead of receive addresses. Doesn't effect the total balance calculation
  7. -h, --help Prints help information
  8. -o, --offline Only show addresses. No reqests will be send
  9. -V, --version Prints version information
  10. OPTIONS:
  11. -e, --esplora <esplora> Use a specific Esplora URL [default: https://blockstream.info/api/]
  12. -n <n> Total number of indexes to check. Each index has two addresses: a receive and a change
  13. address. Relevant for the total balance calculation [default: 100]
  14. ARGS:
  15. <xpub> Extended public key of your wallet account. Either xpub, ypub or zpub
  16. <start> First index to print [default: 0]
  17. <end> Last index to print [default: 15]

Example

  1. $xpub-balance xpub6BosfCnifzxcFwrSzQiqu2DBVTshkCXacvNsWGYJVVhhawA7d4R5WSWGFNbi8Aw6ZRc1brx
  2. MyWMzG3DSSSSoekkudhUd9yLb6qx39T9nMdj 0 10
  3. 0/0 1LqBGSKuX5yYUonjxT5qGfpUsXKYYWeabA 0 sat 12 txs
  4. 0/1 1Ak8PffB2meyfYnbXZR9EGfLfFZVpzJvQP 0 sat 4 txs
  5. 0/2 1MNF5RSaabFwcbtJirJwKnDytsXXEsVsNb 0 sat 6 txs
  6. 0/3 1MVGa13XFvvpKGZdX389iU8b3qwtmAyrsJ 0 sat 2 txs
  7. 0/4 1Gka4JdwhLxRwXaC6oLNH4YuEogeeSwqW7 0 sat 2 txs
  8. 0/5 19a7HGg32ecPQo49rDeM2NSFJHPqrwSJto 0 sat 9 txs
  9. 0/6 1GuMEkKyqqRz3jKZJPNxZNoJv72rRDm88o 0 sat 7 txs
  10. 0/7 1B1wDxGPrfqWSi4qvQvaPdunD6kon3CeDG 0 sat 4 txs
  11. 0/8 1BMZTqDtNogSEs1oZoGxRqfR6jS2tVxvHX 0 sat 4 txs
  12. 0/9 1DUrqK4hj6vNNUTWXADpbqyjVWUYFD7xTZ 0 sat 2 txs
  13. 0/10 146emAmGumhnsT9nPCALU2JWeS4koxfFRB 0 sat 2 txs
  14. -> total balance : 0 sat
  15. -> total transactions: 98 txs