I hereby claim:
- I am mardlin on github.
- I am jjmardlin (https://keybase.io/jjmardlin) on keybase.
- I have a public key whose fingerprint is C367 AA4F 5404 3A31 9434 70D1 7818 71A6 1E12 924D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /* | |
| * A simple script for building an authorization redirect URL for your Coinbase Connect app. | |
| * Follow the ##STEPS | |
| */ | |
| /* ##STEP1**: To generate an Authorization URI for a Sandbox App, set this to TRUE | |
| * Hint: If you're using this script, you probably want to start on the Sandbox | |
| */ | |
| var useSandbox = true; |
| ## In response to https://community.coinbase.com/t/exchange-api-order-placement-results-in-a-missing-product-id/6818 | |
| import json, hmac, hashlib, time, base64, requests | |
| from requests.auth import AuthBase | |
| # Sandbox credentials and code. Key has all permissions. | |
| API_KEY = '' | |
| API_SECRET = '' | |
| API_PASS = '' |
| Verifying that +jjmardlin is my blockchain ID. https://onename.com/jjmardlin |
| #!/usr/bin/env node | |
| // npm install crypto | |
| var crypto = require('crypto'); | |
| // npm install request | |
| var request = require('request'); | |
| // Set these in your ENVironment, or replace them with the actual string | |
| // sandbox: |
| var Client = require('./coinbase-node').Client; | |
| var client = new Client({ | |
| 'apiKey': 'bTSRsOipbMgBfYb6', | |
| 'apiSecret': 'lzAsP0prLfpGruFBbJPZM1XtBZiD9R5D', | |
| 'baseApiUri': 'https://api.sandbox.coinbase.com/v2/', | |
| }); | |
| client.getAccounts({}, function(err, accounts) { |