Skip to content

feat: FixedFloat payments for XMR LTC ETH USDTTRC - #424

Merged
v0l merged 2 commits into
masterfrom
feat/monero-fixedfloat
Oct 20, 2026
Merged

v0l merged 2 commits into
masterfrom
feat/monero-fixedfloat

Conversation

@v0l

@v0l v0l commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Adds a fixedfloat payment method. The customer picks a coin with ?method=fixedfloat&coin=XMR (XMR, LTC, ETH or USDTTRC). Each payment creates a FixedFloat order from that coin to BTC whose BTC destination is a fresh address from the company's on-chain provider. The existing on-chain watcher matches the arriving BTC by that address and re-prices from what actually arrived, so a short or late deposit buys proportionally less time.

Configured with a fixedfloat provider config (api_key, api_secret, optional url, refcode, afftax). The method's supported_currencies is the coin allowlist (empty accepts all four). The company also needs an enabled onchain config.

Needs payments-rs 0.8.0, which adds the coin variants to Currency.

Not yet run against the live FixedFloat API; the create request is written from their docs and covered by wiremock tests only.

@v0l v0l added enhancement New feature or request payments Payment/invoice logic labels Oct 20, 2026
@v0l v0l changed the title feat: Monero payments via FixedFloat swap feat: FixedFloat payments for XMR LTC ETH USDTTRC Oct 20, 2026
@v0l
v0l enabled auto-merge (squash) October 20, 2026 15:30
@v0l
v0l merged commit 5b3c304 into master Oct 20, 2026
10 checks passed
@v0l
v0l deleted the feat/monero-fixedfloat branch October 20, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request payments Payment/invoice logic

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant