Accessing the Network Tool Library
The following directory contains the files needed to interact with the library:
/home/<USERNAME>/hollaex-kit/server/utils/hollaex-network-lib
In the .js file you will use to run whatever commands desired, three elements must be passed:
  • apiKey
  • apiSecret
  • activation_code
If you know your exchange's ID, the field exchange_id can also be passed.
These attributes are passed as such:
1
const Network = require('hollaex-network-lib');
2
3
const client = new Network({
4
apiKey: '<MY_API_KEY>',
5
apiSecret: '<MY_API_SECRET>'
6
activation_code: '<MY_ACTIVATION_CODE>'
7
});
Copied!
The field apiExpiresAfter can also be passed, which denotes the length of time (in seconds) each request is valid for. By default this value is 60.
The exchanges activation key can be accessed in the following manner:
  1. 1.
    Access your exchanges settings with the tab in the top left
  2. 2.
    Enter the General settings page
  3. 3.
    Scroll to the bottom, click the eye icon to reveal the code and copy it
Alternatively, by accessing the secrets file in the settings directory of the HollaEx Kit, all 3 required codes can be found.
Copy link