aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-24 20:40:38 -0700
committerAdam Soltys <[email protected]>2026-06-24 20:40:38 -0700
commitae62886bb3a7fe72a3828089c58205662696bca9 (patch)
treeb31d8e07e6cae91db5ed2057b3d5f2c22002ec07 /src/i18n.js
parenta6bfb5bd4429cf7069a5d0c5e61cb5873ddd8230 (diff)
downloadcoinosv3-ae62886bb3a7fe72a3828089c58205662696bca9.tar.gz
coinosv3-ae62886bb3a7fe72a3828089c58205662696bca9.zip
Minimize gift lock-up: best-fit coins + optional pre-split
Gift coin selection now picks the smallest single coin that covers the gift (was largest-first), locking the least value until claim. When no near-exact coin exists, offer to pre-split: broadcast a self-send carving out a gift+dust coin so the gift later locks only ~the gift amount. The split is only offered when the liquidity it frees (lock - gift - dust) exceeds the split's own fee, so it never costs more than it regains. Decision is surfaced as an interstitial on Create, since a full re-render drops input focus and a live preview isn't viable. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index 8e7cbf4..a4f2180 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -195,6 +195,11 @@ const STR = {
giftAmountInvalid: 'Enter at least {n}.',
giftMinNote: 'Minimum {n} at current fees, so it clears dust when claimed.',
giftAnother: 'Create another',
+ giftSplitExplain: 'This gift would lock {lock} until it’s claimed ({change} of it comes back to you then). You can split a right-sized coin first for about {fee} so only the gift amount stays locked.',
+ giftSplitFirst: 'Split a coin first',
+ giftLockWhole: 'Lock the whole coin ({n})',
+ giftSplitPending: 'Coin split sent. Once it confirms, create your gift link — it’ll lock only the gift amount.',
+ giftSplitFailed: 'Could not split the coin.',
lockedInGifts: 'Locked in gifts',
giftReserved: 'Unclaimed gift links ({n})',
giftReclaim: 'Reclaim',