Due to 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);
What is b64secret? Where/how can i get it? Is it string that gdax provides and should i generate it?
I can admit that do not know much about cryptography.
Thank you for help or useful link.
Your b64 secret is just your secret. For what its worth...
You can use the gdax-java library to do this (or any of the variants in other languages already written and referenced from the gdax api docs).
If you're intent on writing your own implementation, here's a method you can use to sign your messages:
ensure your time is correct as requests are signed with time sensitive signatures.
From GDAX Authentication:
The Secret is the
b64secret
variable value.