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.
$ pip3 install morax
- BTC
- ETH
- LTC
- MANA
- XLM
morax -l
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.
- login
- wallet
- switch
- graph
- refresh
morax <command>
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.
morax -l
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.
morax -w
Used to visualize the price fluctuations of crypto asset as a graph.
morax -g
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.
morax -s
Force refresh access token.
morax -r
Please see Guidelines for more information.
Please see Contributing guidelines for more information.
🌟 this repo to show support. Let me know you liked it on Twitter.
MIT © Punid Ramesh