Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
/ MMM-Coinbase Public archive

A module for Michael Teeuw's MagicMirror project that displays your crypto-currencies Coinbase balance.

License

Notifications You must be signed in to change notification settings

mlbonniec/MMM-Coinbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-Coinbase

A module for Michael Teeuw's MagicMirror project that displays your crypto-currency Coinbase balance.
The module is now compatible with all crypto-currencies available on Coinbase. However, only Bitcoin and Ethereum icons are available. For the other crypto-currencies, the currency symbol is displayed. (e.g. LTC for Litecoin)

How it works

After installing the module and configuring the Coinbase API with your account, the module displays your crypto-currency balance in real time. It is updated every 5 seconds.

Screenshot

Prerequisites

  • MagicMirror2
  • Node.js
  • npm
  • Coinbase account

Installing

Installing the module is quite straight forward

Step 1 - Install the module

cd ~/MagicMirror/modules
git clone https://github.com/mlbonniec/MMM-Coinbase.git
cd MMM-Coinbase
npm install

Step 2 - Create your coinbase API keys

"Step-1" "Step-2" "Step-3"

Go to API Access

Click + New API Key

Check BTC Wallet (or LTC Wallet, ETH ...) and wallet:accounts:read

"Step-4" "Step-5"

Click Create

Copy API Key and API Secret Key

Step 3 - Add module to ~MagicMirror/config/config.js

Add this configuration into config.js file's

{
    module: "MMM-Coinbase",
    position: "top_left", // put it where you want it
    header: "Coinbase", // optional
        config: {
            apiKey: "YOUR API KEY", // the key previously copied
            apiSecret: "YOUR API SECRET KEY",
            wallet: ["BTC", "LTC"], // list of currencies to display
            icons: true, // currently only Ethereum and Bitcoin supported
            label: false  // shows currency labels (e.g. BTC, ETH and so on)
        }
}

Updating

Go to the module’s folder inside MagicMirror modules folder and pull the latest version from GitHub and install:

git pull
npm install

Configuring

Here is the configurable part of the module

Option Description
apiKey API Key from Coinbase.

Type: string REQUIRED
Example:1iO5VjY2bdC3HucJ
Default value: none
apiSecret API Secret Key from Coinbase.

Type: string REQUIRED
Example:OwABcDaA5fxK3QTV3gjwvOk358juuXti
Default value: none

Use

Now you can fully use MagicMirror and the MMM-Coinbase module to display your wallets ! Enjoy it well !

Contributing

If you find any problems, bugs or have questions, please open a GitHub issue in this repository.

Contributors

  • nabbl thank you for your great work!