v0.1.7
Release v0.1.7 — 2025-09-16
This release introduces TRON blockchain support, high availability (HA) implementation, enhanced security features, and significant improvements to messaging infrastructure and deployment workflows.
New Features
TRON Blockchain Support
- Initialized TRON support across various components
- Fixed TRON signing with MPC
- Enhanced TRON transaction handling with new error checks and balance updates
- Improved TRON address validation
- Fixed TRON asset display issues
- Added update address support for MPC wallets
High Availability (HA) Implementation
- Implemented leader election for HA
- Added separate functions to start scheduler and block scanners
- Optimized HA logic for distributed deployments
- Added HA sample configuration
- Improved graceful shutdown logic
- Support for distributed mode in rescanner
Security & Access Control
- Implemented secret store supporting AWS and config reader
- Moved encryption key to secret store
- Added AWS KMS signer support
- Added system admin checker
- Implemented RBAC on wallet role assignment
- Only allow system admin to update and add networks/assets
- Improved webhook security
- Added address risk checker implementation
- Load TLS configuration from config files
Messaging & Queue Infrastructure
- Migrated statistic events to use queue
- Migrated standard signing to queue
- Migrated pubsub to queue consumer (#312)
- Fixed #300: migrate pubsub to queue consumer
- Marked NATS core pubsub as legacy
- Added max age for JetStream configuration
Email Service Integration
- Added email service integration for user verification and payment notifications (#298)
Aptos Enhancements
- Enhanced Aptos fund sweeping functionality with wallet type support
- Refactored transaction handling for Aptos FA
- Improved error handling for Aptos operations
Improvements
Sweep Logic Enhancements
- Major improvements to sweep logic
- Implemented deterministic taskID for sweeps
- Fixed sweep task conflicts
- Fixed precision when updating balances
- Implemented sweep batches in chunks
- Improved sweep job logic
Error Handling & Reliability
- Enhanced error handling (#315)
- Refactored MPC signing event for better error handling
- Increased MPC signing withdrawal timeout
- Enhanced robust automation logic
- Fixed stack overflow issue
- Improved payment service
Configuration & Deployment
- Used distroless to build Docker image for API (improved security)
- Better logging setup
- Updated Redis configuration
- Support building multiple architectures
- Refactored Docker Compose setup for APEX services
- Added production scripts
- Updated configuration to allow logging
API & Endpoints
- Added rescan API to rescan missing blocks
- Added RPC health check script
- Updated Consul version and configuration
- Only add HTTP auth if both username and password are defined
- Return 404 instead of 500 for webhook validation
- Fixed #288: renamed reject to cancel for cancel API for withdrawal (#299)
Rate Limiting
- Made rate limit configurable
Bug Fixes
- Fixed MPC transaction broadcast for TRON
- Fixed get Webacy configuration
- Fixed add asset TRX assets not shown
- Replaced dummy addresses with proper implementation
- Removed root user migration for production
- Fixed various typos and minor issues
Developer & Internal Changes
- Cleaned up codebase
- Reverted HA changes on rescanner and scheduler (rescanner supports distributed mode, scheduler does not support multiple instances)
- Code refactoring for leader logic
- Moved start rescanner logic to initialize
- Updated documentation
- Removed hardcoded values
- Discarded draft code
- Reverted testnet seed assets
- Updated Makefile
- Refactored create webhook verification key
- Refactored add asset to wallet logic
- Updated wallet asset management for Hyper wallet
- Added batch logic for statistic indexer
Deployment Notes
- AWS KMS Integration: If using AWS KMS for key management, ensure AWS credentials and KMS configuration are properly set
- Secret Store: Update configuration to use secret store instead of direct config files for sensitive data
- Queue Migration: NATS JetStream configuration required for queue-based messaging (pubsub is now legacy)
- Docker Images: New distroless-based Docker images provide improved security
- Multi-Architecture: Docker images now support multiple architectures (amd64, arm64)
- HA Deployment: Use provided HA sample configuration for high availability setups
- TLS Configuration: Ensure TLS certificates are configured if using encrypted connections
- System Admin: First deployment requires creating a system admin user for network/asset management