- a
- m
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +jjmardlin is my blockchain ID. https://onename.com/jjmardlin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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; |
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: