Date: 2026-04-24 Status: Complete - Withdrawal Tested Successfully Related: RS044 (Trading), RS018 (API Setup), RS036 (Ticker)
Mission: Document ALL fees in the Kraken integration flow and test BCH withdrawal to escrow wallet.
Key Findings:
Critical Discovery: €0.12 withdrawal fee makes small remittances (<€50) uneconomical unless batched.
| Step | Fee | Notes |
|---|---|---|
| Bizum → Escrow Bank | €0.00 | Free (Spain) |
| Bank → SEPA → Kraken | €0-1.05 | BANK DEPENDENT! |
| ↳ Sabadell | €0.00 | Free (confirmed) |
| ↳ Openbank/N26/Revolut | €0.00 | Free |
| ↳ Caja Rural | €1.05 | Expensive! |
| Kraken SEPA Deposit | €0.00 | No Kraken fee ✅ |
Conclusion: Use bank with free SEPA (Sabadell, Openbank, N26, Revolut)
| Fee Type | Rate | When Applied |
|---|---|---|
| Maker | 0.25% | Limit orders (RS044) ✅ |
| Taker | 0.40% | Market orders |
Recommendation: Use maker orders (0.25%) - 37.5% savings
For €100 BCH purchase:
| Amount | Fee | Fee % | Viable? |
|---|---|---|---|
| 0.001 BCH (~€0.39) | €0.12 | 30.8% | ❌ NO |
| 0.013 BCH (~€5) | €0.12 | 2.4% | ⚠️ MARGINAL |
| 0.026 BCH (~€10) | €0.12 | 1.2% | ⚠️ MARGINAL |
| 0.128 BCH (~€50) | €0.12 | 0.24% | ✅ ACCEPTABLE |
| 0.256 BCH (~€100) | €0.12 | 0.12% | ✅ GOOD |
| 2.56 BCH (~€1000) | €0.12 | 0.012% | ✅ EXCELLENT |
Key Insight: €0.12 is FIXED, not percentage-based!
Impact:
| Operation | Fee | Notes |
|---|---|---|
| Escrow → LP | ~€0.01-0.02 | Standard priority |
| LP → Exchange | ~€0.01-0.02 | Return flow |
BCH fees are negligible compared to Kraken withdrawal fee.
| Step | Fee | Notes |
|---|---|---|
| BCH → Kraken | €0.00 | Free deposit ✅ |
| Confirmations Required | 15 blocks | ~2.5 hours |
COSTS:
├─ Bank SEPA (Sabadell): €0.00 ✅
├─ Kraken deposit: €0.00 ✅
├─ Buy BCH (0.25% maker): €0.25
├─ Withdraw BCH: €0.12 ⚠️
└─ Send to LP (network): €0.02
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TOTAL ESCROW COSTS: €0.39 (0.39%)
REVENUE (1% fee): €1.00
MARGIN: €0.61
Split 3 ways: €0.20 each (Merchant, LP, Escrow)
VERDICT: VIABLE ✅
COSTS:
├─ Trading (0.25%): €0.05
├─ Withdrawal: €0.12 ⚠️⚠️
└─ Network: €0.02
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TOTAL: €0.19 (0.95%)
REVENUE (1%): €0.20
MARGIN: €0.01 (!!!)
Split 3 ways: €0.003 each
VERDICT: UNECONOMICAL ❌
Conclusion: Minimum €50 remittances required without batching.
Key strategy: Batch withdrawals to amortize €0.12 fee.
FLOW:
1. 10 orders arrive over 1 week
2. Buy BCH immediately (10 separate trades)
3. Accumulate on Kraken
4. Withdraw ONCE at week end
COSTS:
├─ Trading (10 × €0.25): €2.50
├─ Withdrawal (ONCE): €0.12 (not €1.20!)
└─ Network (10 × €0.02): €0.20
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TOTAL: €2.82 (0.28%)
REVENUE (1% × €1000): €10.00
MARGIN: €7.18
Split 3 ways: €2.39 each
Per €100 order: €0.24 profit each
Fee impact per order: 0.028% (negligible!)
VERDICT: VERY VIABLE ✅✅
Escrow Wallet:
bitcoincash:qzdk7nnh68qajepdld35tt7rpqsv26ppvsc5endrgcTest Parameters:
/0/private/Withdraw✅ WITHDRAWAL SUCCESSFUL
Observations:
Key Finding: Kraken charges €0.12 ON TOP of withdrawal amount, not deducted from it.
Installation (Raspberry Pi OS Debian 12+):
# Create virtual environment (required for Debian 12+)
python3 -m venv ~/asgaya_venv
source ~/asgaya_venv/bin/activate
# Clone and install
cd ~
git clone https://github.com/Electron-Cash/Electron-Cash.git
cd Electron-Cash
pip install .
# Verify
electron-cash --help
Wallet Operations:
# Restore from seed
mkdir -p ~/.electrum/wallets
electron-cash restore "12 word seed" -w ~/.electrum/wallets/escrow_test
# Start daemon
electron-cash daemon start
# Load wallet
electron-cash daemon load_wallet -w ~/.electrum/wallets/escrow_test
# Get receiving address
electron-cash getunusedaddress -w ~/.electrum/wallets/escrow_test
# Check balance
electron-cash getbalance -w ~/.electrum/wallets/escrow_test
# Send BCH
electron-cash payto <address> <amount> -w ~/.electrum/wallets/escrow_test
Notes:
€0.12 fixed fee structure:
Solutions:
1. Batching (MANDATORY for production)
Week 1: Buy BCH for 10 orders, keep on Kraken
Week end: ONE withdrawal (€0.12 for all 10)
Fee per order: €0.012 (1.2 cents)
2. Escrow Float Strategy (Suso’s Insight)
Escrow maintains €500-1000 worth of BCH in wallet
Small order (<€50):
- Pay from float immediately
- No withdrawal fee!
- Volatility exposure accepted
Large order (€100+):
- Withdraw from Kraken
- Replenish float
- €0.12 fee acceptable
Result: Fast small payments + economic large payments
3. Minimum Order Size
Without batching or float:
Minimum €50 (0.24% fee)
Recommended €100 (0.12% fee)
With batching:
Can serve €20+ (fee amortized)
With float:
Can serve ANY size (instant!)
Escrow Float Strategy Analysis:
Scenario: €500 BCH float in escrow wallet
Week 1:
- 5 small orders (€20-40 each) = €150 total
- Paid from float (no withdrawal fees!)
- Float remaining: €350 BCH
Week 2:
- 1 large order (€200)
- Withdraw €200 from Kraken (€0.12 fee)
- Send €200 to LP
- Buy €150 extra on Kraken (replenish float)
- Withdraw €150 (€0.12 fee - same tx as €200)
- Float restored: €500
Total withdrawal fees: €0.12 (not €0.60 for 5 separate withdrawals!)
Volatility exposure: €500 float
Risk: If BCH drops 5% in a week = €25 loss
Reward: 1% fee on €350 = €3.50, split 3 ways = €1.17 each
Volatility Risk Mitigation:
Comparison:
€100 Spain → Venezuela remittance:
| Provider | Total Fees | EUR Sent | VES Received* | Notes |
|---|---|---|---|---|
| Western Union | €5-8 (5-8%) | €100 | ~$418 | Slow (1-3 days) |
| Asgaya (single) | €1.00 (1%) | €100 | ~$1,659 ARS** | Fast (<1 hour) |
| Asgaya (batched) | €1.00 (1%) | €100 | ~$1,659 ARS | Fee cost: €0.28 |
*Using current rates **ARS via blue dollar, then converted to VES locally
Asgaya is 5-8× cheaper even with all fees!
| Fee Category | Amount | When | Avoidable? |
|---|---|---|---|
| Bank SEPA | €0-1.05 | Per deposit | ✅ Yes (free bank) |
| Kraken Deposit | €0.00 | N/A | N/A |
| Kraken Trading | 0.25% | Per buy | Partially (maker vs taker) |
| Kraken Withdrawal | €0.12 | Per withdrawal | ✅ Yes (batching/float) |
| BCH Network | ~€0.02 | Per send | ❌ No (blockchain) |
| BCH Deposit | €0.00 | N/A | N/A |
Optimized total: 0.28-0.39% depending on batching
Test script: /home/suso/Documents/asgaya/knowledge/research_code/test_kraken_withdraw.py
Key functions:
load_encrypted_env() - Credential loading (Pichan pattern)withdraw_bch() - Kraken API withdrawalcheck_withdrawal_status() - Status monitoringProduction integration: /home/suso/Documents/asgaya/active/settlement_engine.py
Kraken integration is VIABLE with strategic fee management:
✅ Works for €50+ remittances (no batching needed) ✅ Works for any size with batching (weekly withdrawal) ✅ Works for small amounts with float (instant, accept volatility) ✅ 5-8× cheaper than Western Union ⚠️ Requires free SEPA bank (Sabadell, Openbank, N26) ⚠️ €0.12 withdrawal fee is the bottleneck
Strategic innovations tested:
Next phase: Test escrow → LP sending, implement float strategy, document operational procedures.
Related Research:
Date Completed: 2026-04-24 Tested By: Suso Validated By: Coordination (Claude Opus 4.6) Status: Complete ✅