aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-11 22:23:59 -0700
committerAdam Soltys <[email protected]>2026-03-11 22:23:59 -0700
commit7472a9662475c634d32300c2dab514b04b74e70f (patch)
tree021de7cf6f0eb7f88d56bb782aaa66fa4f08677f /src
parentb83110a8dccb9615ff56787e4358323151ffc453 (diff)
downloadcoinos-ui-7472a9662475c634d32300c2dab514b04b74e70f.tar.gz
coinos-ui-7472a9662475c634d32300c2dab514b04b74e70f.zip
fee rate ui
Diffstat (limited to 'src')
-rw-r--r--src/locales/ar.json7
-rw-r--r--src/locales/bn.json7
-rw-r--r--src/locales/de.json7
-rw-r--r--src/locales/el.json7
-rw-r--r--src/locales/en.json1
-rw-r--r--src/locales/es.json7
-rw-r--r--src/locales/fa.json7
-rw-r--r--src/locales/fr.json7
-rw-r--r--src/locales/hi.json7
-rw-r--r--src/locales/it.json7
-rw-r--r--src/locales/ja.json7
-rw-r--r--src/locales/ko.json7
-rw-r--r--src/locales/nl.json7
-rw-r--r--src/locales/pl.json7
-rw-r--r--src/locales/pt.json7
-rw-r--r--src/locales/ru.json7
-rw-r--r--src/locales/th.json7
-rw-r--r--src/locales/tr.json7
-rw-r--r--src/locales/zh.json7
-rw-r--r--src/routes/(app)/payment/[id]/+page.svelte6
-rw-r--r--src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte22
21 files changed, 109 insertions, 46 deletions
diff --git a/src/locales/ar.json b/src/locales/ar.json
index 44c2a25e..f75a7a1e 100644
--- a/src/locales/ar.json
+++ b/src/locales/ar.json
@@ -609,7 +609,8 @@
"low": "منخفض",
"high": "عالية",
"priority": "الأولوية",
- "authorize": "الوظائف المأذون بها"
+ "authorize": "الوظائف المأذون بها",
+ "feeRate": "معدل الرسوم"
},
"items": {
"add": "البند",
@@ -661,7 +662,9 @@
"noRelaysSet": "أنتِ لم تضعي أي نقلات مفضلة لن تتمكن من تلقي أي رسائل أو رؤية الرسائل التي أرسلتها.",
"nostrSettingsLink": "إذهب إلى أماكن (نوستر) الخاصة بك لضبط مساراتك.",
"anonymous": "مجهول",
- "sendFailed": "فشلت في إرسال رسالة قد لا تكون عملية النقل متاحة."
+ "sendFailed": "فشلت في إرسال رسالة قد لا تكون عملية النقل متاحة.",
+ "searchMls": "فتش مستعملي الـ \"إم إل إس\".",
+ "noResults": "لم يعثر على مستعملين من طراز MLS."
},
"lang": {
"en": "English",
diff --git a/src/locales/bn.json b/src/locales/bn.json
index 34993590..11806f14 100644
--- a/src/locales/bn.json
+++ b/src/locales/bn.json
@@ -579,7 +579,8 @@
"low": "নিম্ন",
"high": "উচ্চ",
"priority": "অগ্রগণ্য",
- "authorize": "অনুমোদন"
+ "authorize": "অনুমোদন",
+ "feeRate": "ফিতে হার"
},
"items": {
"add": "বস্তু যোগ করুন",
@@ -661,7 +662,9 @@
"noRelaysSet": "সতর্কবার্তা: আপনি কোন পছন্দের রিলে সেট করেননি। আপনি কোন বার্তা পাবেন না অথবা আপনি প্রেরিত বার্তা পাবেন না।.",
"nostrSettingsLink": "আপনার নক্স সেটিং আপনার রিলে সেট করতে যান.",
"anonymous": "অজ্ঞাত",
- "sendFailed": "বার্তা পাঠাতে ব্যর্থ। রিলে সম্ভবত উপলব্ধ নয়."
+ "sendFailed": "বার্তা পাঠাতে ব্যর্থ। রিলে সম্ভবত উপলব্ধ নয়.",
+ "searchMls": "এস- এল- এস ব্যবহারকারী অনুসন্ধান...",
+ "noResults": "কোনও MLS ব্যবহারকারী খুঁজে পাওয়া যায়নি।."
},
"lang": {
"en": "English",
diff --git a/src/locales/de.json b/src/locales/de.json
index 502947a6..cd74a177 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -541,7 +541,8 @@
"low": "Niedrig",
"high": "Hoch",
"priority": "Priorität",
- "authorize": "Autorisieren"
+ "authorize": "Autorisieren",
+ "feeRate": "Gebührensatz"
},
"items": {
"add": "Artikel hinzufügen",
@@ -690,7 +691,9 @@
"noRelaysSet": "WARNUNG: Sie haben keine bevorzugten Relais eingestellt. Sie können keine Nachrichten empfangen oder die von Ihnen gesendeten Nachrichten sehen.",
"nostrSettingsLink": "Gehen Sie zu Ihren Nostr Einstellungen, um Ihre Relais einzustellen.",
"anonymous": "Anonym",
- "sendFailed": "Es ist fehlgeschlagen, eine Nachricht zu senden. Das Relais kann nicht verfügbar sein."
+ "sendFailed": "Es ist fehlgeschlagen, eine Nachricht zu senden. Das Relais kann nicht verfügbar sein.",
+ "searchMls": "Suche MLS-Benutzer...",
+ "noResults": "Keine MLS-Nutzer gefunden."
},
"lang": {
"en": "English",
diff --git a/src/locales/el.json b/src/locales/el.json
index 64ee46a9..edfdcb1c 100644
--- a/src/locales/el.json
+++ b/src/locales/el.json
@@ -502,7 +502,8 @@
"low": "Χαμηλή",
"high": "Υψηλό",
"priority": "Προτεραιότητα",
- "authorize": "Έγκριση"
+ "authorize": "Έγκριση",
+ "feeRate": "Ποσοστό τέλους"
},
"items": {
"add": "Πρόσθεσε είδος",
@@ -681,7 +682,9 @@
"noRelaysSet": "ΠΡΟΕΙ WARNINGΟΠΟΙΗΣΗ: Δεν έχετε ορίσει καμία προτιμώμενη ρελέ. Δεν θα μπορείτε να λάβετε μηνύματα ή να δείτε τα μηνύματα που στείλατε.",
"nostrSettingsLink": "Πηγαίνετε στις ρυθμίσεις Nostr σας για να ρυθμίσετε τα ρελέ σας.",
"anonymous": "Ανώνυμος",
- "sendFailed": "Αποτυχία αποστολής μηνύματος. Το ρελέ μπορεί να μην είναι διαθέσιμο."
+ "sendFailed": "Αποτυχία αποστολής μηνύματος. Το ρελέ μπορεί να μην είναι διαθέσιμο.",
+ "searchMls": "Αναζήτηση χρηστών MLS...",
+ "noResults": "Δεν βρέθηκαν χρήστες του MLS."
},
"lang": {
"en": "English",
diff --git a/src/locales/en.json b/src/locales/en.json
index c5cfe594..5fc2455a 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -588,6 +588,7 @@
"options": "options",
"bump": "Bump fee",
"networkFee": "Network fee",
+ "feeRate": "Fee rate",
"platformFee": "Platform fee",
"fastest": "Fastest",
"fundingAmount": "Funding amount",
diff --git a/src/locales/es.json b/src/locales/es.json
index 2372641e..a25676b2 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -514,7 +514,8 @@
"low": "Baja",
"high": "Alto",
"priority": "Prioridad",
- "authorize": "Autorizar"
+ "authorize": "Autorizar",
+ "feeRate": "Tasa de alimentación"
},
"items": {
"add": "Añadir artículo",
@@ -663,7 +664,9 @@
"noRelaysSet": "No has fijado ningún relé preferido. No podrás recibir ningún mensaje ni ver los mensajes que has enviado.",
"nostrSettingsLink": "Vaya a la configuración de Nostr para configurar sus relés.",
"anonymous": "Anónimo",
- "sendFailed": "Failed to send message. El relé puede no estar disponible."
+ "sendFailed": "Failed to send message. El relé puede no estar disponible.",
+ "searchMls": "Buscar usuarios MLS...",
+ "noResults": "No se han encontrado usuarios de MLS."
},
"lang": {
"en": "English",
diff --git a/src/locales/fa.json b/src/locales/fa.json
index 577f2569..da032c03 100644
--- a/src/locales/fa.json
+++ b/src/locales/fa.json
@@ -514,7 +514,8 @@
"low": "پایین",
"high": "ارتفاع بالا",
"priority": "اولویت",
- "authorize": "نویسنده"
+ "authorize": "نویسنده",
+ "feeRate": "نرخ هزینه"
},
"items": {
"add": "این مورد را اضافه کنید",
@@ -663,7 +664,9 @@
"noRelaysSet": "هشدار: شما هیچ رله ترجیحی را تنظیم نکرده اید. شما قادر به دریافت پیام یا دیدن پیام هایی که ارسال کرده اید نخواهید بود.",
"nostrSettingsLink": "به تنظیمات Nostr خود بروید تا رله های خود را تنظیم کنید.",
"anonymous": "ناشناس",
- "sendFailed": "شکست برای ارسال پیام رله ممکن است در دسترس نباشد."
+ "sendFailed": "شکست برای ارسال پیام رله ممکن است در دسترس نباشد.",
+ "searchMls": "کاربران MLS را جستجو کنید.",
+ "noResults": "هیچ کاربر MLS پیدا نشد."
},
"lang": {
"en": "English",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 3266fc76..2d9a72b6 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -78,7 +78,9 @@
"noRelaysSet": "AVERTISSEMENT: Vous n'avez pas specifié vos relais préferés pour messages directs. Vous ne pouvez pas reçevoir des messages ou voir les messages que vous avez envoyé.",
"nostrSettingsLink": "Spécifiez vos relais en vos préférences Nostr.",
"anonymous": "Anonyme",
- "sendFailed": "Impossible d'envoyer un message. Le relais peut ne pas être disponible."
+ "sendFailed": "Impossible d'envoyer un message. Le relais peut ne pas être disponible.",
+ "searchMls": "Rechercher les utilisateurs de MLS...",
+ "noResults": "Aucun utilisateur MLS trouvé."
},
"error": {
"header": "Erreur",
@@ -540,7 +542,8 @@
"low": "Faible",
"high": "Haut",
"priority": "Priorité",
- "authorize": "Autoriser"
+ "authorize": "Autoriser",
+ "feeRate": "Taux"
},
"items": {
"add": "Ajouter un article",
diff --git a/src/locales/hi.json b/src/locales/hi.json
index c29cf0a6..5dc450b0 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -609,7 +609,8 @@
"low": "कम",
"high": "उच्च",
"priority": "प्राथमिकता",
- "authorize": "प्राधिकरण"
+ "authorize": "प्राधिकरण",
+ "feeRate": "शुल्क दर"
},
"items": {
"add": "आइटम जोड़ें",
@@ -682,7 +683,9 @@
"noRelaysSet": "चेतावनी: आपने कोई पसंदीदा रिले निर्धारित नहीं किया है। आप किसी भी संदेश प्राप्त करने में सक्षम नहीं होंगे या आपके द्वारा भेजे गए संदेशों को देखने में सक्षम होंगे।.",
"nostrSettingsLink": "अपने रिले सेट करने के लिए अपने नोस्ट्र सेटिंग पर जाएं।.",
"anonymous": "अनाम",
- "sendFailed": "संदेश भेजने में विफल रहा। रिले अनुपलब्ध हो सकता है।."
+ "sendFailed": "संदेश भेजने में विफल रहा। रिले अनुपलब्ध हो सकता है।.",
+ "searchMls": "MLS उपयोगकर्ता खोजें...",
+ "noResults": "कोई MLS उपयोगकर्ता नहीं मिला।."
},
"map": {
"searchLocations": "स्थान खोजें...",
diff --git a/src/locales/it.json b/src/locales/it.json
index 19d682a3..9acbfbba 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -609,7 +609,8 @@
"low": "Basso",
"high": "Alto",
"priority": "Priorità",
- "authorize": "Autorizzazione"
+ "authorize": "Autorizzazione",
+ "feeRate": "Tassi di tariffa"
},
"items": {
"add": "Aggiungi articolo",
@@ -682,7 +683,9 @@
"noRelaysSet": "ATTENZIONE: Non hai impostato alcun relè preferito. Non potrai ricevere messaggi o vedere i messaggi che hai inviato.",
"nostrSettingsLink": "Vai alle impostazioni Nostr per impostare i relè.",
"anonymous": "Anonimo",
- "sendFailed": "Non ho mandato un messaggio. Il relè potrebbe non essere disponibile."
+ "sendFailed": "Non ho mandato un messaggio. Il relè potrebbe non essere disponibile.",
+ "searchMls": "Cerca utenti MLS...",
+ "noResults": "Nessun utente MLS trovato."
},
"map": {
"searchLocations": "Cerca luoghi...",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 84e2eeaa..7e43d184 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -514,7 +514,8 @@
"low": "低い",
"high": "高い",
"priority": "優先順位",
- "authorize": "認証"
+ "authorize": "認証",
+ "feeRate": "手数料料金"
},
"items": {
"add": "アイテムの追加",
@@ -663,7 +664,9 @@
"noRelaysSet": "警告: 好みのリレーは置かれません。 メッセージを受信したり、送信したメッセージが表示されたりすることはできません.",
"nostrSettingsLink": "リレーを設定するには、Nostr設定に移動します.",
"anonymous": "ログイン",
- "sendFailed": "メッセージを送信できなかった リレーは利用できません."
+ "sendFailed": "メッセージを送信できなかった リレーは利用できません.",
+ "searchMls": "MLSユーザーを検索...",
+ "noResults": "MLSユーザーが見つかりません."
},
"lang": {
"en": "English",
diff --git a/src/locales/ko.json b/src/locales/ko.json
index 9ae9892f..172cd084 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -609,7 +609,8 @@
"low": "이름 *",
"high": "주요 특징",
"priority": "회사연혁",
- "authorize": "이름 *"
+ "authorize": "이름 *",
+ "feeRate": "수수료율"
},
"items": {
"add": "더 보기",
@@ -682,7 +683,9 @@
"noRelaysSet": "경고: 당신은 어떤 선호한 릴레이를 놓지 않았습니다. 당신은 어떤 메시지를 수신 할 수 없습니다 또는 전송 된 메시지를 볼 수 없습니다.",
"nostrSettingsLink": "릴레이를 설정하려면 Nostr 설정을 이동합니다.",
"anonymous": "이름 *",
- "sendFailed": "메시지를 보낼 실패. 릴레이는 사용할 수 없습니다."
+ "sendFailed": "메시지를 보낼 실패. 릴레이는 사용할 수 없습니다.",
+ "searchMls": "MLS 사용자를 검색 ...",
+ "noResults": "MLS 사용자가 찾을 수 없습니다."
},
"map": {
"searchLocations": "장소 검색...",
diff --git a/src/locales/nl.json b/src/locales/nl.json
index e1ca21f0..7d0f195b 100644
--- a/src/locales/nl.json
+++ b/src/locales/nl.json
@@ -609,7 +609,8 @@
"low": "Laag",
"high": "Hoog",
"priority": "Prioriteit",
- "authorize": "Machtiging"
+ "authorize": "Machtiging",
+ "feeRate": "Vergoeding"
},
"items": {
"add": "Item toevoegen",
@@ -682,7 +683,9 @@
"noRelaysSet": "WAARSCHUWING: U heeft geen voorkeursrelais ingesteld. U kunt geen berichten ontvangen of de berichten zien die u hebt verzonden.",
"nostrSettingsLink": "Ga naar uw Nostr instellingen om uw relais in te stellen.",
"anonymous": "Anoniem",
- "sendFailed": "Kon bericht niet versturen. Het relais kan niet beschikbaar zijn."
+ "sendFailed": "Kon bericht niet versturen. Het relais kan niet beschikbaar zijn.",
+ "searchMls": "MLS-gebruikers zoeken...",
+ "noResults": "Geen MLS-gebruikers gevonden."
},
"map": {
"searchLocations": "Locaties zoeken...",
diff --git a/src/locales/pl.json b/src/locales/pl.json
index b0634514..0b87a17f 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -609,7 +609,8 @@
"low": "Niski",
"high": "Wysoki",
"priority": "Priorytet",
- "authorize": "Autoryzacja"
+ "authorize": "Autoryzacja",
+ "feeRate": "Stawka opłat"
},
"items": {
"add": "Dodaj element",
@@ -682,7 +683,9 @@
"noRelaysSet": "UWAGA: Nie ustawiłeś żadnych preferowanych przekaźników. Nie będziesz w stanie odbierać wiadomości ani widzieć wiadomości, które wysłałeś.",
"nostrSettingsLink": "Przejdź do ustawień Nostr, aby ustawić przekaźniki.",
"anonymous": "Anonimowy",
- "sendFailed": "Nie udało się wysłać wiadomości. Przekaźnik może być niedostępny."
+ "sendFailed": "Nie udało się wysłać wiadomości. Przekaźnik może być niedostępny.",
+ "searchMls": "Szukaj użytkowników MLS...",
+ "noResults": "Nie znaleziono żadnych użytkowników MLS."
},
"map": {
"searchLocations": "Szukaj lokalizacji...",
diff --git a/src/locales/pt.json b/src/locales/pt.json
index 93a03632..3b5bea5e 100644
--- a/src/locales/pt.json
+++ b/src/locales/pt.json
@@ -536,7 +536,8 @@
"low": "Baixo",
"high": "Alta",
"priority": "Prioridade",
- "authorize": "Autorizar"
+ "authorize": "Autorizar",
+ "feeRate": "Taxa"
},
"items": {
"add": "Adicionar item",
@@ -685,7 +686,9 @@
"noRelaysSet": "AVISO: Você não definiu nenhum relé preferido. Você não poderá receber nenhuma mensagem ou ver as mensagens que enviou.",
"nostrSettingsLink": "Vá para suas configurações Nostr para definir seus relés.",
"anonymous": "Anônimo",
- "sendFailed": "Não foi possível enviar a mensagem. O relé pode não estar disponível."
+ "sendFailed": "Não foi possível enviar a mensagem. O relé pode não estar disponível.",
+ "searchMls": "Pesquisar usuários do MLS...",
+ "noResults": "Nenhum usuário MLS encontrado."
},
"lang": {
"en": "English",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index a4dfdecb..b33876b1 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -514,7 +514,8 @@
"low": "Низкий",
"high": "Высокий",
"priority": "Приоритет",
- "authorize": "Разрешать"
+ "authorize": "Разрешать",
+ "feeRate": "Ставка пошлины"
},
"items": {
"add": "Добавить элемент",
@@ -663,7 +664,9 @@
"noRelaysSet": "ПРЕДУПРЕЖДЕНИЕ: Вы не установили никаких предпочтительных реле. Вы не сможете получать сообщения или видеть отправленные сообщения.",
"nostrSettingsLink": "Перейдите в настройки Nostr, чтобы установить реле.",
"anonymous": "Анонимный",
- "sendFailed": "Не удалось отправить сообщение. Эстафета может быть недоступна."
+ "sendFailed": "Не удалось отправить сообщение. Эстафета может быть недоступна.",
+ "searchMls": "Поиск пользователей MLS...",
+ "noResults": "Пользователей MLS не нашли."
},
"lang": {
"en": "English",
diff --git a/src/locales/th.json b/src/locales/th.json
index db3c19ba..84d09cfc 100644
--- a/src/locales/th.json
+++ b/src/locales/th.json
@@ -579,7 +579,8 @@
"low": "ต่ํา",
"high": "สูง",
"priority": "สูง",
- "authorize": "การตรวจสอบสิทธิ์"
+ "authorize": "การตรวจสอบสิทธิ์",
+ "feeRate": "อัตราเร็ว:"
},
"items": {
"add": "เพิ่มรายการ",
@@ -682,7 +683,9 @@
"noRelaysSet": "คุณยังไม่ได้ตั้งเครื่องส่งใด ๆ ที่ชื่นชอบ คุณจะไม่ได้รับข้อความใด ๆ หรือเห็นข้อความที่คุณส่งไป.",
"nostrSettingsLink": "ไปที่กองจมูกของคุณเพื่อตั้งค่าเครื่องส่งของคุณ.",
"anonymous": "นิรนาม",
- "sendFailed": "ล้มเหลวในการส่งข้อความ เครื่องส่งอาจจะไม่ว่าง."
+ "sendFailed": "ล้มเหลวในการส่งข้อความ เครื่องส่งอาจจะไม่ว่าง.",
+ "searchMls": "ค้นหาผู้ใช้ MLS...",
+ "noResults": "ไม่พบผู้ใช้ MLS."
},
"map": {
"searchLocations": "ค้นหาสถานที่...",
diff --git a/src/locales/tr.json b/src/locales/tr.json
index 054ba0e6..0c1fc8cc 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -609,7 +609,8 @@
"low": "Low",
"high": "Yüksek",
"priority": "Öncelik",
- "authorize": "Authorize"
+ "authorize": "Authorize",
+ "feeRate": "Ücret oranı"
},
"items": {
"add": "Ekle item",
@@ -682,7 +683,9 @@
"noRelaysSet": "WARNING: Herhangi bir tercih edilen röle ayarlamadın. Herhangi bir mesaj alabilir veya gönderdiğiniz mesajları göremezsiniz.",
"nostrSettingsLink": "Rölelerinizi ayarlamak için Nostr ayarlarınıza gidin.",
"anonymous": "Anonim",
- "sendFailed": "Mesaj göndermeye başarısız oldu. röle mevcut olabilir."
+ "sendFailed": "Mesaj göndermeye başarısız oldu. röle mevcut olabilir.",
+ "searchMls": "Arama MLS kullanıcıları...",
+ "noResults": "No MLS kullanıcıları bulundu."
},
"map": {
"searchLocations": "Konum ara...",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 4e37db9e..032ad049 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -514,7 +514,8 @@
"low": "低级",
"high": "高级",
"priority": "优先权",
- "authorize": "授权"
+ "authorize": "授权",
+ "feeRate": "收费率"
},
"items": {
"add": "新增项目",
@@ -663,7 +664,9 @@
"noRelaysSet": "你没有设置任何首选接力 你将无法收到任何信息 或看到你已经发送的信息.",
"nostrSettingsLink": "到您的鼻孔设置来设置接力 .",
"anonymous": "无名",
- "sendFailed": "发送消息失败 。 中继器可能无法使用 ."
+ "sendFailed": "发送消息失败 。 中继器可能无法使用 .",
+ "searchMls": "搜索 MLS 用户...",
+ "noResults": "未找到 MLS 用户 ."
},
"lang": {
"en": "English",
diff --git a/src/routes/(app)/payment/[id]/+page.svelte b/src/routes/(app)/payment/[id]/+page.svelte
index ff5cc9ef..8ba33c02 100644
--- a/src/routes/(app)/payment/[id]/+page.svelte
+++ b/src/routes/(app)/payment/[id]/+page.svelte
@@ -69,7 +69,7 @@
bumpTargetRate = targetRate;
bumpError = "";
try {
- bumpEstimate = await post(`/payment/${id}/bump-estimate`, { id, targetFeeRate: targetRate });
+ bumpEstimate = await post("/bump/estimate", { id, targetFeeRate: targetRate });
} catch (e: any) {
bumpError = e.message;
}
@@ -80,7 +80,7 @@
bumpEstimate = null;
bumpError = "";
try {
- const est = await post(`/payment/${id}/bump-estimate`, { id, targetFeeRate: 10 });
+ const est = await post("/bump/estimate", { id, targetFeeRate: 10 });
bumpEstimate = est;
bumpTargetRate = est.fees?.fastestFee || 10;
await fetchEstimate(bumpTargetRate);
@@ -93,7 +93,7 @@
bumpLoading = true;
bumpError = "";
try {
- const res = await post(`/payment/${id}/bump`, { id, targetFeeRate: bumpTargetRate });
+ const res = await post("/bump", { id, targetFeeRate: bumpTargetRate });
p.childTxid = res.txid;
p.bumpedFee = res.childFee;
showBump = false;
diff --git a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte
index d5a8f6e5..022abea1 100644
--- a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte
+++ b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte
@@ -169,7 +169,7 @@
let lowRate = $derived(fees ? 0.1 : 0.1);
let midRate = $derived(fees ? fees.hourFee : 1);
let highRate = $derived(fees ? Math.max(fees.fastestFee, 8) : 10);
- let maxRate = $derived(Math.max(highRate * 2, 16));
+ let maxRate = $derived(highRate);
let sliderValue = $state(50);
@@ -229,18 +229,26 @@
{#if fees}
<div class="text-center space-y-2">
- <h2 class="text-secondary text-lg">{$t("payments.networkFee")}</h2>
+ <h2 class="text-secondary text-lg">{$t("payments.feeRate")}</h2>
<div class="px-2">
- <Slider bind:value={sliderValue} handle={handleSlide} min={0} max={100} />
+ <div class="relative">
+ <Slider bind:value={sliderValue} handle={handleSlide} min={0} max={100} />
+ <div class="absolute inset-0 pointer-events-none">
+ <span
+ class="absolute top-1/2 -translate-y-1/2 text-sm font-semibold whitespace-nowrap"
+ style="left: calc({sliderValue}% + 20px)"
+ >{feeRate} sat/vB</span>
+ </div>
+ </div>
<div class="flex justify-between text-secondary mt-1 px-1">
- <span>{lowRate} sat/vB</span>
- <span>{midRate} sat/vB</span>
- <span>{highRate} sat/vB</span>
+ <span>{$t("payments.slow")}</span>
+ <span>{$t("payments.medium")}</span>
+ <span>{$t("payments.fast")}</span>
</div>
</div>
- <div class="text-lg">{feeRate} sat/vB</div>
+ <h2 class="text-secondary text-lg">{$t("payments.networkFee")}</h2>
{#if feeLoading}
<Spinner class="text-secondary" />
{:else}