feat: enable xcashu mode in CLI

Removed the 'coming soon' guard that blocked xcashu mode selection.
The SDK fully supports xcashu: Cashu tokens are sent via X-Cashu header
per request, and refunds are received via x-cashu response header.
Verified working: request creates 1-sat token, sends X-Cashu header,
receives response with refund, no balance kept with provider.
This commit is contained in:
Paperclip Deployment Engineer
2026-07-24 12:20:01 +00:00
parent 88dd937f57
commit b79ff7a5b9
+1 -8
View File
@@ -1757,7 +1757,7 @@ program
" 1) lazyrefund/apikeys - Pseudonymous accounts are kept with the Routstr nodes and are refunded after 5 mins if not used.",
);
console.log(
" 2) xcashu (coming soon) - Balances are never kept with the nodes, all balances are refunded in response.",
" 2) xcashu - Balances are never kept with the nodes, all balances are refunded in response.",
);
console.log(`\nCurrent mode: ${currentMode}`);
@@ -1777,13 +1777,6 @@ program
const selectedMode = modes[selectedIndex];
if (selectedMode === "xcashu") {
console.log(
"\nxcashu mode is coming soon! Only lazyrefund/apikeys is available at this time.",
);
return;
}
if (selectedMode === currentMode) {
console.log(`Mode is already set to '${selectedMode}'. No changes made.`);
return;