A command line tool to lookup balance on blockchain network
Project description
DeFy CLI
is a command line tool to lookup wallet and DeFi platforms balance on blockchain network
$ defy all 0x60226a096fdcc916xxxx1feb94f21096fdd9f2a1
Token Price Balance Balance ($)
------- ------- --------- -------------
ACS 65.86 0.1560 10.28
ADA 1.21 260.1230 314.87
LINK 32.02 18.7821 601.48
AUTO 3568.35 0.0004 1.34
WATCH 1.19 21.1767 25.16
Binance Price Balance Balance ($)
--------- ------- --------- -------------
ATOM 20.31 37.1745 754.86
ValueDefi Balance Reward Balance ($)
----------- --------- -------- -------------
Warden-BUSD 700.2664 72.4477 1289.95
Total Balance: $2348.17
Table of Contents
Prerequisite
- (Optional) In case you would like to use Binance wallet lookup
- Binance API Key
export binance_api_key=<BINANCE_API_KEY>
- Binance API Secret
export binance_api_secret=<BINANCE_API_SECRET>
- Binance API Key
Installation
$ pip install defy
Support Platforms
Platform | Features | Support |
---|---|---|
ValueDefi | vSafe | ✅ |
Support Exchanges
Exchange | Features | Support |
---|---|---|
Binance | - | ✅ |
Support Networks
Network | Support |
---|---|
BSC Mainnet | ✅ |
Commands
defy all [ADDRESS]
Usage: defy all [OPTIONS] ADDRESS
Options:
-hsb, --hide-small-bal `True` to hide small balance in wallet,
default=false
-h, --help Show this message and exit.
defy wallet [ADDRESS]
Usage: defy wallet [OPTIONS] ADDRESS
Options:
-hsb, --hide-small-bal `True` to hide small balance in wallet,
default=false
-h, --help Show this message and exit.
defy exchange
Usage: defy exchange [OPTIONS]
Options:
-hsb, --hide-small-bal `True` to hide small balance in wallet,
default=false
-h, --help Show this message and exit.
defy platform [ADDRESS]
Usage: defy platform [OPTIONS] ADDRESS
Options:
-hsb, --hide-small-bal `True` to hide small balance in wallet,
default=false
-h, --help Show this message and exit.
Known Issues
Timestamp for this request was 1000ms ahead of the server's time
Run the following commands to resync machine's clock
For Windows
$ net stop w32time
$ w32tm /unregister
$ net start w32time
$ w32tm /resync
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
defy-0.1.2.tar.gz
(6.4 kB
view hashes)
Built Distribution
defy-0.1.2-py3-none-any.whl
(11.0 kB
view hashes)