gateway
gateway copied to clipboard
feat(gateway): add API improvements and Docker deployment support
Summary
This PR adds several significant improvements to the Gateway server:
Gateway API Enhancements
- ✅ Add
/chains/{chain}/transactionsendpoint for fetching wallet transaction history - ✅ Add
/chains/{chain}/parseendpoint for parsing transaction details - ✅ Add
/chains/{chain}/wrapand/chains/{chain}/unwrapendpoints for native token wrapping - ✅ Improve Etherscan and Helius service integrations
- ✅ Add transaction parsing with decoded method names and parameters
- ✅ Add configurable
baseFeeMultiplierfor EVM chains
Docker & Deployment
- ✅ Add Docker Compose configurations (dev, prod, mobile)
- ✅ Add comprehensive
DOCKER.mdandMOBILE_DEPLOYMENT.mdguides - ✅ Add mobile deployment script with ngrok tunnel support
- ✅ Add
.env.exampletemplate for easy setup - ✅ Update
docker-compose.ymlwith 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