1.0.0 • Published 5 years ago
insomnia-plugin-ftx-signing v1.0.0
insomnia-plugin-ftx-signing
All private FTX API calls require an authentication SIGN header (HMAC-SHA256) (see here.
This plugin (when installed) checks all outgoing requests to see if:
- The request is going to https://ftx.com/api
- An Insomnia environment variable
API_SECRETexists - A request header
FTX-TSis present
If the above conditions are met, this plugin:
- Computes the HMAC signature based on timestamp, request method, endpoint path and request body
- Appends the
FTX-SIGNheader with the computed digest.
This plugin is heavily based on insomnia-plugin-binance-signing
1.0.0
5 years ago