DeFy CLI
is a command line tool to lookup wallet and DeFi platforms balance on blockchain network
$ defy all 0x60226a096fdcc916xxxx1feb94f21096fdd9f2a1
Wallet Price Balance Balance ($)
-------- ------- --------- -------------
Warden 0.67 134.2319 89.95
ADA 1.21 260.1230 315.08
LINK 32.80 18.7821 616.00
Binance Price Balance Balance ($)
--------- ------- --------- -------------
ATOM 21.05 37.1745 782.70
Binance Futures Position PNL ROE % Balance ($)
----------------- ---------- -------- ------- -------------
LUNAUSDT 148.25 32.8795 22.18 181.13
autofarm Deposit Reward (AUTO) Balance ($)
------------ --------- --------------- -------------
WBNB-AUTO LP 2.5237 0.0022 7218.35
Fulcrum Deposit Reward (BGOV) Balance ($)
--------- --------- --------------- -------------
LINK 18.7800 4.2001 759.39
ValueDefi Deposit Reward Balance Balance ($)
----------- --------- -------- --------- -------------
Warden-BUSD 980.7301 140.9000 1121.63 1873.24
Total Balance: $11835.84
Table of Contents
- DeFy CLI
- 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 |
|---|---|---|
| autofarm | Vaults | ✅ |
| Fulcrum (BSC) | Farm | ✅ |
| ValueDefi | vSafe | ✅ |
Support Exchanges
| Exchange | Features | Support |
|---|---|---|
| Binance | Fiat and Spot | ✅ |
| USDⓈ-M Futures | ✅ |
Support Networks
| Network | Support |
|---|---|
| BSC Mainnet | ✅ |
Commands
defy all [ADDRESS]defy wallet [ADDRESS]defy exchangedefy binancedefy platform [ADDRESS]defy valuedefi [ADDRESS]defy fulcrum [ADDRESS]defy autofarm [ADDRESS]
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 binance
Usage: defy binance [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.
defy valuedefi [ADDRESS]
Usage: defy valuedefi [OPTIONS] ADDRESS
Options:
-hsb, --hide-small-bal `True` to hide small balance in wallet,
default=false
-h, --help Show this message and exit.
defy fulcrum [ADDRESS]
Usage: defy fulcrum [OPTIONS] ADDRESS
Options:
-hsb, --hide-small-bal `True` to hide small balance in wallet,
default=false
-h, --help Show this message and exit.
defy autofarm [ADDRESS]
Usage: defy autofarm [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
$ w32tm /register
$ net start w32time
$ w32tm /resync
Release files for defy 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| defy-0.4.0.tar.gz | 11.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| defy-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:33.0 kB
Release files / defy-0.4.0.tar.gz
| Download URL | defy-0.4.0.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad105391177696ff46eb0380489ec57cddac81211f481611c1de8d298473d41b
|
|
BLAKE2b-256 checksum How to use checksums |
e4fb5598961dd5f8360905fd495604bd5d7fd6e7bfffd88dd37ec4d82fd9fd36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13
|
Release files / defy-0.4.0-py3-none-any.whl
| Download URL | defy-0.4.0-py3-none-any.whl |
|---|---|
| Size | 21.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
943058dfaf5fcd75584df4793b8de1ac019eb3c50979fb8e74e664552e2437e0
|
|
BLAKE2b-256 checksum How to use checksums |
276661f302f735acd8589a76c8665b790ef5000d0c62fc89fee71b7e89679baa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13
|