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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file defy-0.4.0.tar.gz.

File metadata

  • Download URL: defy-0.4.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for defy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ad105391177696ff46eb0380489ec57cddac81211f481611c1de8d298473d41b
MD5 3012072893bbded8a1863c2ad37b1399
BLAKE2b-256 e4fb5598961dd5f8360905fd495604bd5d7fd6e7bfffd88dd37ec4d82fd9fd36

See more details on using hashes here.

File details

Details for the file defy-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: defy-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for defy-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 943058dfaf5fcd75584df4793b8de1ac019eb3c50979fb8e74e664552e2437e0
MD5 9c2b560736e075cc70582763b2731e15
BLAKE2b-256 276661f302f735acd8589a76c8665b790ef5000d0c62fc89fee71b7e89679baa

See more details on using hashes here.

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