Skip to main content

A command line tool to lookup balance on blockchain network

Project description

Upload Python Package Python Test codecov CodeQL License: MIT

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

Prerequisite

  • (Optional) In case you would like to use Binance wallet lookup

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]

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

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.4.0.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

defy-0.4.0-py3-none-any.whl (21.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page