由於https://github.com/coinbase/gdax-node#the-authenticated-api-clientGdax節點b64secret
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](https://en.wikipedia.org/wiki/Base64),一種用於將二進制數據(如加密密鑰)編碼爲可打印的ASCII字符的算法。我猜想GDAX的祕密是用base64編碼的,以便於複製和粘貼到你的代碼中。 –