node-red-contrib-coinbase 0.0.4
Some Coinbase related nodes for Node RED
node-red-contrib-coinbase
Some Coinbase related nodes for Node RED
How to use
- Get a Coinbase API key and secret from here
- Instantiate a new Client node from the library
- Enter key and secret
- Click on the renew button right next the the Account property and select a Account
- Use output from Client node as input for the other nodes
Get buy price node
Connect with Client node and enter Currency pair property (e.g. ETH-EUR or BTC-USD).
Get account node
Connect with Client node. Node will output something like the following on msg.account
{
"id": "2bbf394c-193b-5b2a-9155-3b4732659ede",
"name": "My Wallet",
"primary": true,
"type": "wallet",
"currency": "BTC",
"balance": {
"amount": "39.59000000",
"currency": "BTC"
},
"native_balance": {
"amount": "395.90",
"currency": "USD"
},
"created_at": "2015-01-31T20:49:02Z",
"updated_at": "2015-01-31T20:49:02Z",
"resource": "account",
"resource_path": "/v2/accounts/2bbf394c-193b-5b2a-9155-3b4732659ede"
}
One word on entering the coinbase key and secret
Node RED provide credential properties. This properties will not exported in the flow file when the flows are exported. Further information can be found here.
Todo
- Send, Request, Transaction nodes
- More?