asxpio/lib
Sergei Poljanski 0fbb6ee809
All checks were successful
Build and Deploy to Production / test (push) Successful in 18s
Build and Deploy to Production / build (push) Successful in 49s
Build and Deploy to Production / deploy (push) Successful in 31s
invoices: multi-crypto payment support
One asset per invoice from a registry (lib/crypto_asset.rb): BTC, LTC,
ETH, XMR, SOL, ALGO, USDT/USDC on ERC-20/TRC-20/BEP-20/Solana/Algorand.
Migration 003 generalizes the ltc_* columns to crypto_* + crypto_coin
(existing LTC invoices backfilled). QR payload adapts per asset: BIP21
amount URIs where supported, bare address for tokens with a network
hint on the PDF. Default addresses come from the CRYPTO_ADDRESSES
secret (JSON code=>address); LTC_ADDRESS still works as legacy.
2026-07-03 02:01:57 +04:00
..
admin_auth.rb admin: constant-time credential comparison 2026-07-02 17:31:19 +04:00
crypto_asset.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
crypto_qr.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
crypto_rate.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
db.rb db: connection helper and invoices migration 2026-05-26 17:43:18 +03:00
fmt.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
gel_rate.rb nbg and auto fill GEL exchange rate 2026-06-08 19:29:25 +03:00
invoice.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
invoice_pdf.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
mailer.rb useful icon and links 2026-05-05 00:57:11 +04:00
rate_limit.rb rate limit: prune stale keys so @hits cannot grow unbounded 2026-07-02 17:31:19 +04:00
s3.rb fix: pending/paid invoices 2026-06-08 19:00:03 +03:00