【发布时间】:2017-08-24 13:20:40
【问题描述】:
由于https://github.com/coinbase/gdax-node#the-authenticated-api-client
const key = 'your_api_key';
const b64secret = 'your_b64_secret';
const passphrase = 'your_passphrase';
const apiURI = 'https://api.gdax.com';
const sandboxURI = 'https://api-public.sandbox.gdax.com';
const authedClient = new Gdax.AuthenticatedClient(key, b64secret, passphrase, apiURI);
什么是 b64secret?我在哪里/如何得到它?它是 gdax 提供的字符串吗?我应该生成它吗?
我承认对密码学了解不多。
感谢您的帮助或有用的链接。
【问题讨论】:
-
"b64" 大概只是代表base64,一种将二进制数据(例如加密密钥)编码为可打印 ASCII 字符的算法。我猜 GDAX 密码是用 base64 编码的,以便于复制和粘贴到您的代码中。
标签: authentication cryptography gdax-api