Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to configure addons in

...

Marionette:

  1. Register a new api-user in fireblocks (see https://support.fireblocks.io/hc/en-us/articles/4407823826194-Adding-new-API-users)

  2. Save the private key file on the deployment server (<marionette>/config/secrets/fireblocks_secret.key)

  3. Register webhook url.

  4. Add a new section to the global config file (<marionette>/global/config.yaml)

...

Code Block
{{#if fireblocks.enabled}}
  {{fireblocks.id}}:
    image: gitlab.tunex.io:5050/externals/fireblocks:latest
    hostname: {{fireblocks.id}}
    restart: always
    command: node index.js
    volumes:
      - ../config/fireblocks.json:/app/config.json
      - ../config/secrets/fireblocks_secret.key:/app/{{fireblocks.secretFileName}}
    depends_on:
      - db-bridge
    labels:
      - "traefik.http.routers.fireblocks.rule=Host(`{{base_url}}`) && PathPrefix(`/fireblocks/webhook`)"
      - "traefik.enable=true"
      - "traefik.http.services.fireblocks.loadbalancer.server.port=3000"
      {{#if components.traefik.ssl}}
      - "traefik.http.routers.fireblocks.entrypoints=websecure"
      - "traefik.http.routers.fireblocks.tls=true"
      - "traefik.http.routers.fireblocks.tls.certresolver=myresolver"
      {{else}}
      - "traefik.http.routers.fireblocks.entrypoints=web"
      {{/if}}
{{/if}}

How to configure Fireblocks in setter

  1. After deployment check if the configured data appeared in the configuration blockchains and payment interface lists

  2. For added blockchains on details page push “Create wallet” button.

  3. Configure currencies for fireblocks:

...