2.4.5 Backend Changelog (Aug 09 2024)
Upgrades
Currency Payment Interface Network entity, designed to streamline deposits and withdrawals across multiple blockchain types via payment interfaces. This new entity allows easy management of key parameters, including minimum and maximum amounts for deposits and withdrawals, as well as fee configurations, ensuring seamless and flexible transaction handling across different blockchain networks.
Upgrade Nodes Management with Networks: A new "Networks" action has been added to enhance node management, and the service start process has been updated to include network registration. Additionally, Puppeteer components have been integrated, with necessary modifications made to the compose file. The system now successfully supports UTXO, ETH, and TRON nodes.
Improvements
Parameter Modifications: Parameters for generating new deposit addresses and creating new recipients have been adjusted and updated to enhance system functionality.
Fee and Limit Management: The configuration for specifying fees and setting limits on one-time deposits and withdrawals has been moved to the Currency Payment Interface Network entity.
Receiving Formula Update: A new step, "Waiting for payment confirmation," has been added to the receiving operation. This step is triggered during payouts if the payment interface returns a JSON response with
{status: "waiting"}
.PaymentGateway Service Separation: The PaymentGateway service has been decoupled from the backend image, requiring adjustments when configuring Marionette.
Blockchain Commission: Blockchain commission collection from users during payout withdrawals has been removed, and the commission is now recorded in the ledger to reflect system costs.
Quota Status Update for Off-chain Swap: An issue where existing quota statuses were not updating correctly has been resolved.
Third-Party Exchange Error Handling: A bug in the error-handling process for issues from third-party exchanges has been fixed.
AWS Storage Picture URL: Fixed an issue where picture URLs stored in AWS were not functioning correctly.
Puppeteer Admin Panel Changelog
Upgrades
The Currency Payment Interface Network entity in the Admin Panel is designed to streamline the management of deposits and withdrawals across multiple blockchain types via payment interfaces. This entity allows administrators to easily manage key parameters, including setting minimum and maximum amounts for deposits and withdrawals and configuring fees. It ensures seamless and flexible transaction handling, enabling precise control over how different blockchain networks are integrated and utilized within the system. This tool simplifies the complex task of managing various blockchain networks, making it easier to adapt to different requirements and optimize transaction flows.
Improvements
The mechanism for loading federated components has been updated to enhance performance and reliability.
2.4.5 Backend Changelog Table of Updates to Components
# | Product | Last version | Release version | Additional notes / Compatibility |
---|---|---|---|---|
Main components | ||||
1 | Backend (core) | 2.4.4 |
| |
2 | UserApp | 2.7.0 |
| |
3 | Puppeteer | 2.4.4 | 2.4.5 | The system must be updated to ensure compatibility with the current core version. |
4 | CoreConfig | 2.4.4 | 2.4.5 | The system must be updated to ensure compatibility with the current core version. |
5 | Workflow | 2.4.4 | 2.4.5 |
|
6 | Roles | 2.4.4 |
|
|
7 | PaymentGateway | - | 1.0.0 | The system must be updated to ensure compatibility with the current core version. |
8 | WithdrawRestrictions | 2.4.4 |
|
|
9 | SwapGateway | 2.4.4 | 2.4.5 |
|
11 | GoogleAuth | 2.4.1 |
|
|
12 | ManualRateSource | 2.4.4 |
|
|
13 | ManualPaymentInterface | 2.2.0 |
|
|
14 | Proxy | 1.4.0 | 1.4.1 |
|
Public components | ||||
15 | TradingView | 0.1.0 |
|
|
16 | Elboto | 1.0.0-37 |
|
|
Additional components | ||||
17 | UtxoPaymentInterface | 2.1.0 | 2.1.1 | The system must be updated to ensure compatibility with the current core version. |
18 | BankPaymentInterface | 1.4.0 | 1.4.1 | The system must be updated to ensure compatibility with the current core version. |
19 | EthGoPI | 1.0.0 | 1.0.1 | The system must be updated to ensure compatibility with the current core version. |
20 | TronPaymentInterface | 1.0.4 | 1.0.5 | The system must be updated to ensure compatibility with the current core version. |
21 | Whitebit | 2.4.4 | 2.4.5 | The system must be updated to ensure compatibility with the current core version. |
22 | ReferralProgram | 2.4.4 |
|
|
22 | Staking | 2.4.1 |
|
|
23 | Sumsub | 2.2.0 |
|
|
24 | Stripe | 1.3.5 |
| The system needs to be reworked to ensure compatibility with the current core version. |
25 | Fireblocks | 1.0.4 |
| The system needs to be reworked to ensure compatibility with the current core version. |
Client components - Afridax | ||||
26 | BankPaymentInterfaceGlorep | 2.4.0 | 2.4.1 | The system must be updated to ensure compatibility with the current core version. |
27 | Glorep | 2.1.0 |
|
|
Backend v.2.4.5 Technical Release notes:
NEW FEATURE:
CurrencyPaymentInterfaceNetwork Entity: a new entity,
CurrencyPaymentInterfaceNetwork
, which facilitates deposits and withdrawals via payment interfaces capable of handling multiple blockchain types.
IMPROVEMENTS:
Parameter Modifications:
Deposit Address Generation: Adjusted parameters for generating new deposit addresses.
Recipient Creation: Updated parameters for creating new recipients.Fee and Limit Management: The configuration for specifying fees and setting limits on one-time deposits and withdrawals has been moved to the
CurrencyPaymentInterfaceNetwork
entity.Receiving Formula Update: Added a new step in the receiving operation: Waiting for payment confirmation. This step is triggered during payouts if the payment interface returns a JSON response with
{status: "waiting"}
.PaymentGateway Service Separation: The
PaymentGateway
service has been decoupled from the backend image. This separation requires adjustments when configuring Marionette.
COMMISSION HANDLING:
Blockchain Commission: Removed the blockchain commission collection from users during payout withdrawals. The commission is now recorded in the ledger to reflect system costs.
Puppeteer v.2.4.5
NEW FEATURE
Component Loading Notification: Added an information message displaying the name of the component currently being loaded, enhancing transparency during the loading process.
IMPROVEMENTS:
Mechanism Update
Federated Components Loading: Updated the mechanism for loading federated components to improve performance and reliability.
Workflow v.2.4.5
Update on Federated Components
Federated Component Loading: Enhanced the performance and reliability of the federated components loading mechanism.
CoreConfig v.2.4.5
Update on Federated Components
Federated Component Loading: Enhanced the performance and reliability of the federated components loading mechanism.
PaymentGateway v.1.0.0
Service Separation
Decoupling from Backend: The
PaymentGateway
service has been decoupled from the backend and is now offered as a separate product.
Deployment Instructions
Compose File Updates: When deploying, update the compose file, including modifying the service image and its startup configuration.
Traefik Labels: Add the necessary labels for Traefik routing
Example Configuration:
paymentGateway:
image: gitlab.tunex.io:5050/<...>/core/payment-gateway:latest
hostname: paymentGateway
env_file:
- ../config/path.env
- ../config/storage.env
environment:
LOGLEVEL: info
BASE_URL: https://domain.name
KEY_PLATFORM_CURRENCY: USDT
labels:
- "traefik.http.routers.paymentGateway.rule=Host(`domain.name`) && PathPrefix(`/components/paymentgateway`)"
- "traefik.enable=true"
- "traefik.http.services.paymentGateway.loadbalancer.server.port=3000"
- "traefik.http.routers.paymentGateway.entrypoints=websecure"
- "traefik.http.routers.paymentGateway.tls=true"
- "traefik.http.routers.paymentGateway.tls.certresolver=myresolver"
- "traefik.http.routers.paymentGateway.middlewares=secureheaders"
SwapGateway v.2.4.5
Bug Fixes
Quota Status Update: Resolved an issue where the status of existing quotas was not updating correctly.
Third-Party Exchange Error Handling: Fixed a bug in the error-handling process for issues originating from third-party exchanges.
swapGateway:
image: gitlab.tunex.io:5050/<...>/core/chainswapgateway:latest
restart: always
environment:
LOGLEVEL: info
BASE_URL: https://domain.name
env_file:
- ../config/database.env
depends_on:
- api
- db-bridge
labels:
- "traefik.http.routers.puppeteerswapgateway.rule=Host(`domain.name`) && PathPrefix(`/components/swapgateway`)"
- "traefik.enable=true"
- "traefik.http.services.puppeteerswapgateway.loadbalancer.server.port=3000"
- "traefik.http.routers.puppeteerswapgateway.entrypoints=websecure"
- "traefik.http.routers.puppeteerswapgateway.tls=true"
- "traefik.http.routers.puppeteerswapgateway.tls.certresolver=myresolver"
- "traefik.http.routers.puppeteerswapgateway.middlewares=secureheaders"
Proxy v.1.4.1
Issue Resolved
AWS Storage Picture URL: Fixed an issue where picture URLs stored in AWS were not functioning correctly
UtxoPaymentInterface v.2.1.1
New Actions
Networks and isCurrencySupported Actions: Added two new actions,
networks
andisCurrencySupported
, have been added to enhance functionality. These actions allow users to check available networks and determine if a specific currency is supported.
Service Start Update
Network Registration: Updated the service start process to include network registration, ensuring proper network initialization upon service initiation.
TronPaymentInterface v.1.0.5
New Features
"Networks" Action: A new action,
"networks"
, has been added to the system.
Service Updates
Service Start Modification: Updated the service start process to include network registration.
Component Additions
Puppeteer Component: Added Puppeteer components, requiring modifications to the compose file.
Example:
TRON-PI: image: gitlab.tunex.io:5050/<...>/addons/tron-payment-interface:latest hostname: TRON-PI restart: always command: npm start environment: PREFIX: TRON-PI EXPLORER_ADDRESS: https://tronscan.org/#/address/#{address} EXPLORER_TRANSACTION: https://tronscan.org/#/transaction/#{txid} LOGLEVEL: info NETWORK: -1 TITLE: TRON SUBTITLE: TRX20 DESCRIPTION: Mainnet CHAIN_ID: -1 TYPE: trongrid URL: https://api.trongrid.io API_KEY: <...> MAX_REQUEST_BLOCKS: 3 MIN_CONFIRMATIONS: 4 BASE_URL: https://domain.name depends_on: - api - db-bridge labels: - "traefik.http.routers.tronpi.rule=Host(`domain.name`) && PathPrefix(`/components/tronpi`)" - "traefik.enable=true" - "traefik.http.services.tronpi.loadbalancer.server.port=3000" - "traefik.http.routers.tronpi.entrypoints=websecure" - "traefik.http.routers.tronpi.tls=true" - "traefik.http.routers.tronpi.tls.certresolver=myresolver" - "traefik.http.routers.tronpi.middlewares=secureheaders"
EthGoPI
New Action
"Networks" Action: A new action,
"networks"
, has been added to the system.
Service Update
Service Start: Updated the service start process to include network registration.
BankPaymentInterface v.1.4.1
New Action
"Networks" Action: A new action,
"networks"
, to manage and interact with network configurations within the system.
Whitebit v.2.4.5
Issue Resolved
Balance Transfer: Fixed an issue with transferring funds between the main and trade balances.