gateway icon indicating copy to clipboard operation
gateway copied to clipboard

feat(gateway): add API improvements and Docker deployment support

Open fengtality opened this issue 1 month ago • 0 comments

Summary

This PR adds several significant improvements to the Gateway server:

Gateway API Enhancements

  • ✅ Add /chains/{chain}/transactions endpoint for fetching wallet transaction history
  • ✅ Add /chains/{chain}/parse endpoint for parsing transaction details
  • ✅ Add /chains/{chain}/wrap and /chains/{chain}/unwrap endpoints for native token wrapping
  • ✅ Improve Etherscan and Helius service integrations
  • ✅ Add transaction parsing with decoded method names and parameters
  • ✅ Add configurable baseFeeMultiplier for EVM chains

Docker & Deployment

  • ✅ Add Docker Compose configurations (dev, prod, mobile)
  • ✅ Add comprehensive DOCKER.md and MOBILE_DEPLOYMENT.md guides
  • ✅ Add mobile deployment script with ngrok tunnel support
  • ✅ Add .env.example template for easy setup
  • ✅ Update docker-compose.yml with gateway-app frontend service

Configuration

  • ✅ Add API key authentication support (GATEWAY_API_KEYS)
  • ✅ Add Etherscan API key support for transaction fetching
  • ✅ Add server configuration for CORS and API keys
  • ✅ Improve RPC provider configuration

Bug Fixes

  • ✅ Fix Meteora and PancakeSwap position ownership queries
  • ✅ Improve error handling in swap quote service
  • ✅ Fix CORS configuration for web deployments

Documentation

  • ✅ Add comprehensive app documentation in app-docs/
  • ✅ Document Docker deployment options
  • ✅ Add mobile deployment guide
  • ✅ Update README with new features

Testing

  • ✅ All existing tests pass
  • ✅ New tests added for transaction and parse endpoints
  • ✅ Manual testing of Docker deployments
  • ✅ Mobile deployment tested with ngrok

Breaking Changes

None - all changes are backwards compatible.

Related Issues

Related to Gateway App development (now separated into hummingbot/gateway-app repo).


🤖 Generated with Claude Code

fengtality avatar Nov 21 '25 08:11 fengtality