ExchangeUnion / xud-docker

Streamlined setup of xud and all dependencies via docker 🐳
https://docs.exchangeunion.com
GNU Affero General Public License v3.0
5 stars 5 forks source link

Balance wrapper call #633

Open kilrau opened 4 years ago

kilrau commented 4 years ago
simnet > balance

Balance:
┌──────────┬───────────────┬────────────────────────────┬───────────────────────────────┐
│ Currency │ Total Balance │ Channel Balance (Tradable) │ Wallet Balance (Not Tradable) │
├──────────┼───────────────┼────────────────────────────┼───────────────────────────────┤
│ BTC      │ 2.5           │ 0 (2.5 inactive)           │ 0                             │
├──────────┼───────────────┼────────────────────────────┼───────────────────────────────┤
│ ETH      │ 29.99979      │ 10                         │ 19.99979                      │
├──────────┼───────────────┼────────────────────────────┼───────────────────────────────┤
│ LTC      │ 5             │ 0 (5 inactive)             │ 0                             │
└──────────┴───────────────┴────────────────────────────┴───────────────────────────────┘

┌──────────┬───────────────┬────────────────────────────┬───────────────────────────────┐
│ Currency │ Pending Trade │ Pending Deposit            │ Pending Withdrawal            │
├──────────┼───────────────┼────────────────────────────┼───────────────────────────────┤
│ BTC      │ 0             │ 0.16                       │ 0                             │
├──────────┼───────────────┼────────────────────────────┼───────────────────────────────┤
│ ETH      │ 0.5           │ 10                         │ 0                             │
├──────────┼───────────────┼────────────────────────────┼───────────────────────────────┤
│ LTC      │ 0             │ 0                          │ 0                             │
└──────────┴───────────────┴────────────────────────────┴───────────────────────────────┘
michael1011 commented 4 years ago

This depends on changes in https://github.com/boltzexchange/boltz-lnd. @reliveyy ping me when you start with this issue and we can work on this together.

reliveyy commented 4 years ago

@michael1011 @kilrau Is the 2nd table data come from a boltzcli call?

kilrau commented 4 years ago

@michael1011 @kilrau Is the 2nd table data come from a boltzcli call?

Best we'll hop on a call and go through it once we are through with the open PRs.

kilrau commented 4 years ago

Depends on https://github.com/connext/rest-api-client/issues/66