From d337776034d098600c412e096cc2c98a19ad8793 Mon Sep 17 00:00:00 2001 From: Bernd Date: Sun, 25 Jan 2026 12:52:22 +0100 Subject: [PATCH 1/4] Add WBTC token and WBTC/cBTC swap pair - Add WBTC token to Ethereum configuration (both DEV and PRD) - Add WBTC/cBTC swap pair for Ethereum WBTC <-> Citrea cBTC swaps - WBTC contract: 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 --- .../config/boltz/backend/dev-boltz.conf | 25 +++++++++++++++++++ .../config/boltz/backend/prd-boltz.conf | 25 +++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/infrastructure/config/boltz/backend/dev-boltz.conf b/infrastructure/config/boltz/backend/dev-boltz.conf index 4c3d8d6..b7c9cd2 100644 --- a/infrastructure/config/boltz/backend/dev-boltz.conf +++ b/infrastructure/config/boltz/backend/dev-boltz.conf @@ -129,6 +129,24 @@ minSwapAmount = 2_500 # 2,500 sats minimum (Citrea Testnet has low fees) swapMaximal = 2880 # Maximum timeout (~16.7 hours) - allows 100 Bitcoin blocks CLTV swapTaproot = 10080 # Taproot timeout (~16.7 hours) +# Swap Pair Configuration: WBTC/cBTC (Ethereum WBTC <-> Citrea cBTC) +[[pairs]] +base = "WBTC" +quote = "cBTC" +rate = 1 +fee = 0 +swapInFee = 0 + +maxSwapAmount = 10_000_000 # 0.1 WBTC/cBTC +minSwapAmount = 2_500 # 2,500 sats minimum + + [pairs.timeoutDelta] + chain = 1440 # Chain swap timeout (~24 hours) + reverse = 1440 # Reverse swap timeout + swapMinimal = 1440 # Minimum timeout + swapMaximal = 2880 # Maximum timeout + swapTaproot = 10080 # Taproot timeout + [[pairs]] base = "USDT_ETH" quote = "JUSD_CITREA" @@ -204,6 +222,13 @@ providerEndpoint = "[PROVIDER_ENDPOINT]" minWalletBalance = 1_000_000 # 1 USDC_ETH + [[ethereum.tokens]] + symbol = "WBTC" + decimals = 8 + contractAddress = "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + + minWalletBalance = 100_000 # 0.001 WBTC (in satoshis) + # POL (Polygon) Configuration [polygon] networkName = "Polygon Mainnet" diff --git a/infrastructure/config/boltz/backend/prd-boltz.conf b/infrastructure/config/boltz/backend/prd-boltz.conf index f087cbe..15b7134 100644 --- a/infrastructure/config/boltz/backend/prd-boltz.conf +++ b/infrastructure/config/boltz/backend/prd-boltz.conf @@ -129,6 +129,24 @@ minSwapAmount = 2_500 # 2,500 sats minimum (Citrea Testnet has low fees) swapMaximal = 2880 # Maximum timeout (~16.7 hours) - allows 100 Bitcoin blocks CLTV swapTaproot = 10080 # Taproot timeout (~16.7 hours) +# Swap Pair Configuration: WBTC/cBTC (Ethereum WBTC <-> Citrea cBTC) +[[pairs]] +base = "WBTC" +quote = "cBTC" +rate = 1 +fee = 0 +swapInFee = 0 + +maxSwapAmount = 10_000_000 # 0.1 WBTC/cBTC +minSwapAmount = 2_500 # 2,500 sats minimum + + [pairs.timeoutDelta] + chain = 1440 # Chain swap timeout (~24 hours) + reverse = 1440 # Reverse swap timeout + swapMinimal = 1440 # Minimum timeout + swapMaximal = 2880 # Maximum timeout + swapTaproot = 10080 # Taproot timeout + [[pairs]] base = "USDT_ETH" quote = "JUSD_CITREA" @@ -204,6 +222,13 @@ providerEndpoint = "[PROVIDER_ENDPOINT]" minWalletBalance = 1_000_000 # 1 USDC_ETH + [[ethereum.tokens]] + symbol = "WBTC" + decimals = 8 + contractAddress = "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + + minWalletBalance = 100_000 # 0.001 WBTC (in satoshis) + # POL (Polygon) Configuration [polygon] networkName = "Polygon Mainnet" From bdfef981dc92030df945299c2315baf132a82a7e Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Sun, 25 Jan 2026 13:03:17 +0100 Subject: [PATCH 2/4] Fix WBTC swap pair: use WBTCe_CITREA instead of cBTC - Change swap pair from WBTC/cBTC to WBTC/WBTCe_CITREA (PRD only) - Add WBTCe_CITREA token on Citrea with contract 0xDF240DC08B0FdaD1d93b74d5048871232f6BEA3d - Remove WBTC configuration from dev-boltz.conf (PRD only feature) --- .../config/boltz/backend/dev-boltz.conf | 25 ------------------- .../config/boltz/backend/prd-boltz.conf | 13 +++++++--- 2 files changed, 10 insertions(+), 28 deletions(-) diff --git a/infrastructure/config/boltz/backend/dev-boltz.conf b/infrastructure/config/boltz/backend/dev-boltz.conf index b7c9cd2..4c3d8d6 100644 --- a/infrastructure/config/boltz/backend/dev-boltz.conf +++ b/infrastructure/config/boltz/backend/dev-boltz.conf @@ -129,24 +129,6 @@ minSwapAmount = 2_500 # 2,500 sats minimum (Citrea Testnet has low fees) swapMaximal = 2880 # Maximum timeout (~16.7 hours) - allows 100 Bitcoin blocks CLTV swapTaproot = 10080 # Taproot timeout (~16.7 hours) -# Swap Pair Configuration: WBTC/cBTC (Ethereum WBTC <-> Citrea cBTC) -[[pairs]] -base = "WBTC" -quote = "cBTC" -rate = 1 -fee = 0 -swapInFee = 0 - -maxSwapAmount = 10_000_000 # 0.1 WBTC/cBTC -minSwapAmount = 2_500 # 2,500 sats minimum - - [pairs.timeoutDelta] - chain = 1440 # Chain swap timeout (~24 hours) - reverse = 1440 # Reverse swap timeout - swapMinimal = 1440 # Minimum timeout - swapMaximal = 2880 # Maximum timeout - swapTaproot = 10080 # Taproot timeout - [[pairs]] base = "USDT_ETH" quote = "JUSD_CITREA" @@ -222,13 +204,6 @@ providerEndpoint = "[PROVIDER_ENDPOINT]" minWalletBalance = 1_000_000 # 1 USDC_ETH - [[ethereum.tokens]] - symbol = "WBTC" - decimals = 8 - contractAddress = "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" - - minWalletBalance = 100_000 # 0.001 WBTC (in satoshis) - # POL (Polygon) Configuration [polygon] networkName = "Polygon Mainnet" diff --git a/infrastructure/config/boltz/backend/prd-boltz.conf b/infrastructure/config/boltz/backend/prd-boltz.conf index 15b7134..41d7327 100644 --- a/infrastructure/config/boltz/backend/prd-boltz.conf +++ b/infrastructure/config/boltz/backend/prd-boltz.conf @@ -129,15 +129,15 @@ minSwapAmount = 2_500 # 2,500 sats minimum (Citrea Testnet has low fees) swapMaximal = 2880 # Maximum timeout (~16.7 hours) - allows 100 Bitcoin blocks CLTV swapTaproot = 10080 # Taproot timeout (~16.7 hours) -# Swap Pair Configuration: WBTC/cBTC (Ethereum WBTC <-> Citrea cBTC) +# Swap Pair Configuration: WBTC/WBTCe_CITREA (Ethereum WBTC <-> Citrea WBTC.e) [[pairs]] base = "WBTC" -quote = "cBTC" +quote = "WBTCe_CITREA" rate = 1 fee = 0 swapInFee = 0 -maxSwapAmount = 10_000_000 # 0.1 WBTC/cBTC +maxSwapAmount = 10_000_000 # 0.1 WBTC/WBTC.e minSwapAmount = 2_500 # 2,500 sats minimum [pairs.timeoutDelta] @@ -265,3 +265,10 @@ providerEndpoint = "[CITREA_MAINNET_RPC]" contractAddress = "[CITREA_MAINNET_JUSD]" minWalletBalance = 1_000_000_000_000_000_000 # 1 JUSD_CITREA + + [[citrea.tokens]] + symbol = "WBTCe_CITREA" + decimals = 8 + contractAddress = "0xDF240DC08B0FdaD1d93b74d5048871232f6BEA3d" + + minWalletBalance = 100_000 # 0.001 WBTC.e From c152d3b1862aaa08ad8eee0b33e94c4da3057b5d Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Sun, 25 Jan 2026 13:06:27 +0100 Subject: [PATCH 3/4] Rename WBTC to WBTC_ETH for naming consistency --- infrastructure/config/boltz/backend/prd-boltz.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/infrastructure/config/boltz/backend/prd-boltz.conf b/infrastructure/config/boltz/backend/prd-boltz.conf index 41d7327..25e4fe7 100644 --- a/infrastructure/config/boltz/backend/prd-boltz.conf +++ b/infrastructure/config/boltz/backend/prd-boltz.conf @@ -129,15 +129,15 @@ minSwapAmount = 2_500 # 2,500 sats minimum (Citrea Testnet has low fees) swapMaximal = 2880 # Maximum timeout (~16.7 hours) - allows 100 Bitcoin blocks CLTV swapTaproot = 10080 # Taproot timeout (~16.7 hours) -# Swap Pair Configuration: WBTC/WBTCe_CITREA (Ethereum WBTC <-> Citrea WBTC.e) +# Swap Pair Configuration: WBTC_ETH/WBTCe_CITREA (Ethereum WBTC <-> Citrea WBTC.e) [[pairs]] -base = "WBTC" +base = "WBTC_ETH" quote = "WBTCe_CITREA" rate = 1 fee = 0 swapInFee = 0 -maxSwapAmount = 10_000_000 # 0.1 WBTC/WBTC.e +maxSwapAmount = 10_000_000 # 0.1 WBTC_ETH/WBTC.e minSwapAmount = 2_500 # 2,500 sats minimum [pairs.timeoutDelta] @@ -223,11 +223,11 @@ providerEndpoint = "[PROVIDER_ENDPOINT]" minWalletBalance = 1_000_000 # 1 USDC_ETH [[ethereum.tokens]] - symbol = "WBTC" + symbol = "WBTC_ETH" decimals = 8 contractAddress = "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" - minWalletBalance = 100_000 # 0.001 WBTC (in satoshis) + minWalletBalance = 100_000 # 0.001 WBTC_ETH # POL (Polygon) Configuration [polygon] From 05fbb4d760af2bfff257612141c13c70ce1c8e8f Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Sun, 25 Jan 2026 13:09:45 +0100 Subject: [PATCH 4/4] Update JUSD_CITREA contract address for testnet --- infrastructure/config/boltz/backend/dev-boltz.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/config/boltz/backend/dev-boltz.conf b/infrastructure/config/boltz/backend/dev-boltz.conf index 4c3d8d6..b4d451c 100644 --- a/infrastructure/config/boltz/backend/dev-boltz.conf +++ b/infrastructure/config/boltz/backend/dev-boltz.conf @@ -237,6 +237,6 @@ providerEndpoint = "https://dev.rpc.testnet.juiceswap.com" [[citrea.tokens]] symbol = "JUSD_CITREA" decimals = 18 - contractAddress = "0xFdB0a83d94CD65151148a131167Eb499Cb85d015" + contractAddress = "0x6a850a548fdd050e8961223ec8FfCDfacEa57E39" minWalletBalance = 1_000_000_000_000_000_000 # 1 JUSD_CITREA