How to configure addons in Marionette:
Register a new api-user in fireblocks (see https://support.fireblocks.io/hc/en-us/articles/4407823826194-Adding-new-API-users)
Save the private key file on the deployment server (<marionette>/config/secrets/fireblocks_secret.key)
Register webhook url.
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
After deployment check if the configured data appeared in the configuration blockchains and payment interface lists
For added blockchains on details page push “Create wallet” button.
Configure currencies for fireblocks:
...