GithubHelp home page GithubHelp logo

punidramesh / morax Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.97 MB

A slick CLI tool for monitoring your coinbase wallet

Home Page: https://pypi.org/project/morax/

License: MIT License

Python 83.79% HTML 16.21%
cli coinbase python

morax's Introduction

morax

Morax

forthebadge forthebadge forthebadge forthebadge forthebadge forthebadge

Morax aims to provide monitoring of Coinbase assets on the command line. It is 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 -l

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

morax's People

Contributors

dependabot[bot] avatar punidramesh avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.