coinbase-api

How to request access to all of the user accounts using wallet:accounts:read?

我只是一个虾纸丫 提交于 2019-11-30 17:55:14
问题 When my app requests wallet:accounts:read permission using v2 of Coinbase API, the user is presented with a drop-down list of all accounts where he can choose only one of the three possible wallets. If my app wants to work with all three wallets (e.g. BTC, ETC, LTC), what is an elegant solution? Connecting with OAuth three times, each time requesting the user to grant access to a specific wallet is not a clean workaround. How can the app request permission to all of the accounts with a single

Cloud Functions for Firebase and third party api

大憨熊 提交于 2019-11-27 16:20:40
My problem is to make use of an API along with Firebase Functions, the API in question is Coinbase, I use the API with node, if I test in the terminal with the node command it works, however when I use it with Firebase Functions Does not work at all, I've been trying to solve the problem for almost a week now. The code is as follows> var functions = require('firebase-functions'); var Client = require('coinbase').Client; var client = new Client({ "apiKey": "xxxxxxxxxxxx", "apiSecret": "xxxxxxxxxxxxxxxxxxxxxxx" }); exports.helloWorld = functions.https.onRequest((request, response) => { this

Cloud Functions for Firebase and third party api

梦想的初衷 提交于 2019-11-26 22:26:50
问题 My problem is to make use of an API along with Firebase Functions, the API in question is Coinbase, I use the API with node, if I test in the terminal with the node command it works, however when I use it with Firebase Functions Does not work at all, I've been trying to solve the problem for almost a week now. The code is as follows> var functions = require('firebase-functions'); var Client = require('coinbase').Client; var client = new Client({ "apiKey": "xxxxxxxxxxxx", "apiSecret":