Skip to main content
morax

Morax

forthebadge forthebadge forthebadge forthebadge forthebadge forthebadge

Morax aims to provide monitoring of Coinbase assets on the command line. It capable of fetching the wallet balance, wallet worth, wallet address and a graph of the crypto asset's price for the day.


Installation

$ pip3 install morax

Usage

⚠️ It is to be noted that this is a proof of concept and by using it, you hereby agree that I'm not responsible for any issues that may occur. Currently MacOS and Linux distributions are supported.

Supported coins

  • BTC
  • ETH
  • LTC
  • MANA
  • XLM

Initialization

morax -l

Authentication

This tool uses OAuth2.0 for authentication. Since OAuth2.0 requires a redirect URL, Refer to repo containing the source code used to setup a server to return the code parameter required to authenticate the user. Coinbase issues an access token for each wallet (BTC, ETH, LTC, etc), hence using this method of authentication, the user can only access the wallet they selected on the login page. To switch to other wallets, a 'switch' command is provided which will take the user back to Coinbase to authorize another wallet.

Commands

  • login
  • wallet
  • switch
  • graph
  • refresh

Usage

morax <command>

init

Used to initialize the tool, redirecting the user to the Coinbase authenication page for login. If this command is run within 2 hours of login, the access token is renewed for another two hours.

Usage

morax -i

wallet

Used to display wallet information including current spot price of crypto asset, balance amount in wallet, worth of balance amount in INR, and wallet address.

Usage

morax -w

graph

Used to visualize the price fluctuations of crypto asset as a graph.

Usage

morax -g

switch

Used to switch to another wallet. Redirects the user back to Coinbase OAuth page. The user is expected to select the desired wallet to switch to.

Usage

morax -s

refresh

Force refresh access token.

Usage

morax -r

Want to add support for your favourite crypto asset ?

Please see Guidelines for more information.

How to contribute?

Please see Contributing guidelines for more information.

Like it?

🌟 this repo to show support. Let me know you liked it on Twitter.

License

MIT © Punid Ramesh

Release files for morax 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for morax 1.0.7
File Interpreter ABI Platform
morax-1.0.7-py3-none-any.whl Python 3 none any Details

Release files / morax-1.0.7-py3-none-any.whl

Download URL morax-1.0.7-py3-none-any.whl
Size 30.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
878036542e542b74cd4a1775fd91d8b74d346e3d815d0255d29cbf77b0686515
BLAKE2b-256 checksum
How to use checksums
e57525fa8f1c9a96b44a70ca60db2eabf9d4a24bb145209ca918eaa333bc6df1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

1.0.7 This release

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page