diff options
| author | Adam Soltys <[email protected]> | 2026-07-03 15:08:26 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-07-03 15:08:26 -0700 |
| commit | 190c13a338462a7a76ee65e9486e42c0165a65f4 (patch) | |
| tree | 0006e713e91e39b5b90d458a35b6c4a33cef34cc /src/i18n.js | |
| parent | 5b7f8ba40cbf5c8189147b6a37aadc1b230ac4e9 (diff) | |
| download | coinosv3-190c13a338462a7a76ee65e9486e42c0165a65f4.tar.gz coinosv3-190c13a338462a7a76ee65e9486e42c0165a65f4.zip | |
Ark: wire into the wallet UI
- Settings: Ark server card (off by default, per-network presets incl.
Second mainnet + local regtest, custom URLs) with balance, coin count,
board form (on-chain -> Ark; funding output pinned to vout 0 via the
new buildTx noSort option), refresh/consolidate, and recent activity.
- Receive: Ark option in the address-type dropdown (QR + copy).
- Send: t?ark1 addresses are recognized in the normal send form and
route to an Ark confirmation (no mining fee) with a success view.
- Balance card: Ark balance line under the on-chain figure.
- ArkManager lifecycle: per-wallet instance created on account
activation, background sync every 5s (regtest) / 30s, state persisted
under the wallet cache key.
Verified end-to-end in a real browser (tools/ark/ui-test.js, puppeteer
against the regtest stack): receive, send, board, and refresh all green.
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QFAcD4V284DvYZZHP7Rxxy
Diffstat (limited to 'src/i18n.js')
| -rw-r--r-- | src/i18n.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js index c852c5c..32af229 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -349,6 +349,28 @@ const STR = { receiveAddressTab: 'Bitcoin address', receiveLnTab: 'Lightning', receiveSpTab: 'Silent payment', + receiveArkTab: 'Ark', + arkReceiveIntro: 'Receive instantly over Ark — off-chain, self-custodial, no fees.', + arkDesc: 'Off-chain payments via an Ark server: instant, no mining fees, self-custodial (you can always exit on-chain). Off unless you pick a server.', + arkServerUrl: 'Ark server URL', + arkEsploraUrl: 'Esplora URL (chain source)', + arkWatchOnly: 'Ark needs the wallet keys — load the seed to use it.', + arkConnecting: 'Connecting to the Ark server…', + arkNotConnected: 'Ark is not connected — pick a server in Settings.', + arkBalance: 'Ark balance', + arkVtxos: 'Coins (VTXOs)', + arkPendingActions: '{n} operation(s) in progress', + arkBoardPlaceholder: 'Board amount (min {n} sats)', + arkBoardBtn: 'Board', + arkBoardStarted: 'Boarding — spendable in the Ark after 1 confirmation.', + arkRefreshBtn: 'Refresh / consolidate {n} coin(s)', + arkRefreshStarted: 'Refresh submitted — completes with the next round.', + arkActivity: 'Ark activity', + arkSendTitle: 'Send over Ark', + arkPayTo: 'To', + arkNoFee: 'none — instant off-chain send', + arkSendBtn: 'Send', + arkSentTitle: 'Sent!', lnReceiveIntro: 'Receive over Lightning — paid into this wallet on-chain, non-custodial.', lnReceiveAwaiting: 'Share this invoice. When it’s paid, the sats land here automatically.', lnReceiveWatching: 'Waiting for payment…', |
