aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-04 07:08:42 -0700
committerAdam Soltys <[email protected]>2026-07-04 07:08:42 -0700
commitd39aa82e0e97f1f3373980cb28f04e0415965723 (patch)
tree1c9fc1d30b6c19530c47e0153c6fc90b16518487 /tools
parent035e81375784b766027b403e4f2685105c4b2150 (diff)
downloadcoinosv3-d39aa82e0e97f1f3373980cb28f04e0415965723.tar.gz
coinosv3-d39aa82e0e97f1f3373980cb28f04e0415965723.zip
Ark: hide fee-rate, coin control, Max, and add-recipient for Ark sends
An arkoor send has no mining fee and no coin selection, so pasting an Ark address now shows just the amount field plus a hint line; the irrelevant on-chain controls stay hidden. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QFAcD4V284DvYZZHP7Rxxy
Diffstat (limited to 'tools')
-rw-r--r--tools/ark/ui-test.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ark/ui-test.js b/tools/ark/ui-test.js
index 259172f..2c488d8 100644
--- a/tools/ark/ui-test.js
+++ b/tools/ark/ui-test.js
@@ -123,6 +123,11 @@ try {
await page.type('.mono-input', aliceAddr);
await sleep(400); // destReady re-render reveals the amount input
await page.type('input[type="number"]', '7000');
+ const noFeeUi = await page.evaluate(() => {
+ const txt = document.body.innerText.toLowerCase();
+ return !txt.includes('fee rate') && !txt.includes('coin control') && txt.includes('no mining fee');
+ });
+ check('no fee/coin controls for ark dest', noFeeUi);
await clickText('button.btn-primary', 'Review transaction');
check('ark review shown', await waitText('Send over Ark', 5000));
await clickText('button.btn-primary', 'Send');