Commit Graph

24 Commits

Author SHA1 Message Date
Ginta 93b32d38d9 test: eth 2026-04-11 22:10:48 +08:00
line-6000 3f071e6c01 feat: add Solana payment scanning with USDT/USDC support and wallet management API
- Rewrite Solana scanner: stateless scan with processed-signature cache, query wallet + USDT ATA + USDC ATA addresses to cover all SPL transfers
  - Add network field to transaction_lock (4-tuple unique index) and order flow
  - Add wallet management endpoints (add/list/get/status/delete) with token auth
  - Add network info to Telegram payment notification
  - Add USDC hint to test script GMPay prompt
  - Add API docs and Solana scanning docs
2026-04-11 00:10:54 +08:00
sojibimran d7fa90112d test: fix macOS path assertion and wallet address unique index 2026-04-04 00:57:52 +08:00
sojibimran 537168008c update payment ui and change api route path 2026-04-03 22:00:24 +08:00
alphago9 682aa3907a refactor: harden sqlite runtime and packaged startup flow
- refine config loading with --config and current-directory .env

- improve sqlite busy handling and runtime DB tuning

- restore telegram payment notification and wallet input flow

- add behavior-based config and callback recovery tests
2026-03-31 13:54:10 +08:00
alphago9 08f0c93e11 Merge branch 'dev' into dev-runtime 2026-03-30 20:14:29 +08:00
line-6000 938396d82b feat: refactor payment system with multi-currency support and TRX native transfer detection
- Add multi-currency exchange rate API integration (GetRateForCoin)
 - Implement native TRX transfer detection alongside TRC20 USDT transfers
 - Replace deprecated Tronscan API with Trongrid API for better reliability
 - Add TRON Grid API key configuration support
 - Refactor order service to support multiple tokens and currencies
 - Update wallet address locking/unlocking to track token type
 - Add base58 and gjson dependencies for crypto operations
 - Optimize SQLite connection with WAL mode and busy timeout
 - Remove deprecated USDT rate job (replaced by dynamic rate API)
 - Update order data model to include currency and receive address fields
 - Enhance TRC20 callback with improved error handling and logging
2026-03-30 16:19:10 +08:00
alphago9 fc8d58024e refactor: replace redis runtime and queues with sqlite-backed scheduler 2026-03-29 17:26:36 +08:00
line-6000 d6e7927605 feat: use no cgo sqlite as default 2026-03-27 17:04:43 +08:00
dev 9def1ec447 为asynq历史任务在redis中添加生命周期,过期时间为订单过期时间 2026-01-27 12:18:32 +08:00
dev 14435ba426 更新carbon依赖 2026-01-25 13:03:31 +08:00
“dev” 1ab580ea13 debug 2025-04-07 09:31:04 +08:00
noreply 67206df6a7 修改数据库连接失败后的处理逻辑为报错,然后退出程序 2024-10-14 21:20:46 +08:00
noreply 392c922130 修改数据库连接失败挂起的逻辑为10s后重试 2024-10-14 20:14:10 +08:00
noreply b697409ec0 修改数据库连接失败挂起的逻辑为10s后重试 2024-10-14 20:12:34 +08:00
noreply c09886f6da debug 2024-07-29 12:25:13 +08:00
noreply 3d02b41dba add sqlite 2024-07-29 10:07:22 +08:00
noreply ed0a7f7d07 debug 2024-04-16 23:55:11 +08:00
noreply d3ed2c927e 新增 订单回调失败最大重试次数 配置项 2024-04-16 20:32:04 +08:00
noreply aae8308973 add pg conf 2024-04-10 11:00:50 +08:00
Ashang e69cade706 修复获取交易记录行数 2022-09-29 10:59:27 +08:00
Ashang 37d4ed3844 更新Api接口,并将最小支付小数点修正为2位数 2022-09-29 10:06:24 +08:00
Ashang 68f92dd1b1 修复:优化创建交易流程代码,将金额修改为保留3位小数点 2022-04-04 16:18:31 +08:00
Ashang 20c576b9bc init 2022-04-04 16:01:36 +08:00