insomnia-plugin-ftx-signing

1.0.0 • Public • Published

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_SECRET exists
  • A request header FTX-TS is 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-SIGN header with the computed digest.

This plugin is heavily based on insomnia-plugin-binance-signing

Readme

Keywords

none

Package Sidebar

Install

npm i insomnia-plugin-ftx-signing

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.65 kB

Total Files

4

Last publish

Collaborators

  • diegomura