@bsv/expo-wallet-toolbox 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +114 -0
- package/README.md +78 -13
- package/core/contacts/contactActivity.ts +48 -28
- package/core/contacts/contactsStore.ts +2 -2
- package/core/context/WalletContext.tsx +166 -219
- package/core/demo/demoAssets.ts +8 -10
- package/core/demo/demoLedger.ts +32 -38
- package/core/demo/demoMandalaRuntime.ts +67 -49
- package/core/demo/index.ts +1 -1
- package/core/i18n/translations.tsx +72 -0
- package/core/index.ts +55 -37
- package/core/localpay/build.ts +110 -569
- package/core/localpay/codec.ts +190 -93
- package/core/localpay/pending.ts +217 -202
- package/core/localpay/session.ts +99 -25
- package/core/localpay/types.ts +6 -5
- package/core/localpay/verify.ts +118 -173
- package/core/mandala/abortGuard.ts +97 -120
- package/core/mandala/accessPolicy.ts +133 -0
- package/core/mandala/assets.ts +370 -0
- package/core/mandala/colorGuard.ts +178 -0
- package/core/mandala/colorModule.ts +82 -0
- package/core/mandala/createRuntime.ts +483 -2392
- package/core/mandala/handle.ts +694 -0
- package/core/mandala/kvStore.ts +105 -0
- package/core/mandala/nearby.ts +185 -0
- package/core/mandala/receipt.ts +121 -0
- package/core/mandala/runtime.ts +166 -312
- package/core/mandala/settle.ts +540 -0
- package/core/mandala/transferJournal.ts +395 -0
- package/core/mandala/types.ts +61 -311
- package/core/networks.ts +5 -5
- package/core/offline/cancelParked.ts +80 -63
- package/core/offline/payerHold.ts +52 -118
- package/core/parsePeerPayURI.ts +25 -12
- package/core/pay/rails/handle.ts +15 -14
- package/core/pay/rails/index.ts +5 -3
- package/core/pay/rails/nearby.ts +25 -87
- package/core/profiles/assertProfileEmpty.ts +19 -10
- package/core/services/vault/guard.ts +5 -4
- package/core/storage/StorageExpoSQLite.ts +93 -229
- package/core/storage/methods/processOfflineActions.ts +86 -136
- package/core/storage/schema/createTables.ts +9 -184
- package/package.json +6 -5
- package/ui/components/pay/AssetPicker.tsx +2 -2
- package/ui/components/pay/HandleReceive.tsx +4 -4
- package/ui/components/pay/NearbyFlow.tsx +324 -239
- package/ui/components/pay/RequestHub.tsx +10 -0
- package/ui/components/pay/UniversalSend.tsx +31 -28
- package/ui/components/pay/useRecipientInput.ts +2 -2
- package/ui/components/ui/PermissionSheet.tsx +94 -160
- package/ui/components/ui/colorPrompt.ts +236 -0
- package/ui/components/wallet/AmountInput.tsx +9 -6
- package/ui/components/wallet/AssetAmount.tsx +6 -6
- package/ui/components/wallet/AssetSwitcherDropdown.tsx +26 -7
- package/ui/components/wallet/Balance.tsx +3 -1
- package/ui/components/wallet/ContactActivityList.tsx +10 -13
- package/ui/components/wallet/tokenEviction.ts +9 -9
- package/ui/hooks/useMandala.ts +6 -6
- package/ui/hooks/useSpendableBalance.ts +3 -1
- package/ui/importDatabases.ts +1 -1
- package/ui/screens/PayScreen.tsx +14 -20
- package/ui/screens/SettingsScreen.tsx +3 -1
- package/ui/screens/WalletCheckScreen.tsx +7 -2
- package/ui/screens/WalletHomeScreen.tsx +40 -14
- package/ui/screens/tokenRowTitle.ts +28 -15
- package/ui/tokenFormat.ts +133 -69
- package/ui/tokenStatus.ts +5 -8
- package/core/localpay/settlementAck.ts +0 -155
- package/core/mandala/basketMigration.ts +0 -166
- package/core/mandala/bundle.ts +0 -244
- package/core/mandala/drain.ts +0 -754
- package/core/mandala/inboxPrehold.ts +0 -193
- package/core/mandala/permissionModule.ts +0 -931
- package/core/mandala/resendTransfer.ts +0 -178
- package/core/mandala/settlementStore.ts +0 -434
- package/core/mandala/token.ts +0 -45
- package/core/offline/tokenFrames.ts +0 -197
package/core/demo/demoLedger.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The demo wallet's whole world: one mutable, in-memory ledger.
|
|
3
3
|
*
|
|
4
|
-
* DEV-ONLY. Holds a BSV balance with its action history and
|
|
5
|
-
* balance per demo stablecoin with its settlement history, and mutates both
|
|
4
|
+
* DEV-ONLY. Holds a BSV balance with its action history and an exact token
|
|
5
|
+
* unit balance per demo stablecoin with its settlement history, and mutates both
|
|
6
6
|
* when the UI "sends". Nothing here touches SQLite, the keychain, an overlay
|
|
7
7
|
* or the network, so a demo send can never become a real one — and everything
|
|
8
8
|
* is gone at reload, which is what makes the mode safe to hand to someone.
|
|
9
9
|
*
|
|
10
|
-
* Figures are integers throughout (satoshis, token
|
|
11
|
-
* reason `ui/tokenFormat.ts` is: a float balance prints
|
|
12
|
-
* owned.
|
|
10
|
+
* Figures are integers throughout (satoshis as numbers, token units as
|
|
11
|
+
* `bigint`) for the same reason `ui/tokenFormat.ts` is: a float balance prints
|
|
12
|
+
* money that is not owned.
|
|
13
13
|
*/
|
|
14
14
|
import type { TokenActivityRow, TokenActivityStatus } from '../mandala/runtime'
|
|
15
15
|
import type { WalletAction } from '@bsv/sdk'
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
DEMO_CHF,
|
|
18
18
|
DEMO_COUNTERPARTIES,
|
|
19
19
|
DEMO_OPENING_SATS,
|
|
20
|
-
|
|
20
|
+
DEMO_OPENING_TOKEN_UNITS,
|
|
21
21
|
DEMO_USD,
|
|
22
22
|
demoAssetById
|
|
23
23
|
} from './demoAssets'
|
|
@@ -32,7 +32,7 @@ export type DemoAction = WalletAction & {
|
|
|
32
32
|
interface DemoState {
|
|
33
33
|
satoshis: number
|
|
34
34
|
actions: DemoAction[]
|
|
35
|
-
|
|
35
|
+
tokenUnits: Record<string, bigint>
|
|
36
36
|
tokenActivity: TokenActivityRow[]
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -70,14 +70,14 @@ function bsvAction(over: Partial<DemoAction> & { satoshis: number; description:
|
|
|
70
70
|
function tokenRow(
|
|
71
71
|
assetId: string,
|
|
72
72
|
role: 'sent' | 'received',
|
|
73
|
-
|
|
73
|
+
units: bigint,
|
|
74
74
|
at: string,
|
|
75
75
|
counterpartyKey?: string,
|
|
76
76
|
status: TokenActivityStatus = 'settled'
|
|
77
77
|
): TokenActivityRow {
|
|
78
78
|
const asset = demoAssetById(assetId)
|
|
79
79
|
if (!asset) throw new Error(`demo: unknown assetId ${assetId}`)
|
|
80
|
-
return { txid: demoTxid(), role, asset,
|
|
80
|
+
return { txid: demoTxid(), role, asset, units, counterpartyKey, status, at, rail: 'handle' }
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/**
|
|
@@ -98,16 +98,16 @@ function seed(): DemoState {
|
|
|
98
98
|
bsvAction({ satoshis: 15_000_000, description: `From ${lena.name}`, created_at: daysAgo(2, 13) }),
|
|
99
99
|
bsvAction({ satoshis: -1_000_000, description: 'Lunch', created_at: daysAgo(0, 12) })
|
|
100
100
|
],
|
|
101
|
-
|
|
101
|
+
tokenUnits: { ...DEMO_OPENING_TOKEN_UNITS },
|
|
102
102
|
tokenActivity: [
|
|
103
|
-
tokenRow(DEMO_USD.assetId, 'received',
|
|
104
|
-
tokenRow(DEMO_CHF.assetId, 'received',
|
|
105
|
-
tokenRow(DEMO_USD.assetId, 'sent',
|
|
106
|
-
tokenRow(DEMO_CHF.assetId, 'sent',
|
|
107
|
-
tokenRow(DEMO_USD.assetId, 'received',
|
|
108
|
-
tokenRow(DEMO_CHF.assetId, 'received',
|
|
103
|
+
tokenRow(DEMO_USD.assetId, 'received', 50_000n, daysAgo(16, 11), sofia.key),
|
|
104
|
+
tokenRow(DEMO_CHF.assetId, 'received', 40_000n, daysAgo(13, 15), lena.key),
|
|
105
|
+
tokenRow(DEMO_USD.assetId, 'sent', 12_500n, daysAgo(9, 19), store.key),
|
|
106
|
+
tokenRow(DEMO_CHF.assetId, 'sent', 7_450n, daysAgo(6, 12), marco.key),
|
|
107
|
+
tokenRow(DEMO_USD.assetId, 'received', 86_500n, daysAgo(3, 14), marco.key),
|
|
108
|
+
tokenRow(DEMO_CHF.assetId, 'received', 53_500n, daysAgo(1, 17), sofia.key),
|
|
109
109
|
// One row mid-flight, so the "settling" copy has something to render.
|
|
110
|
-
tokenRow(DEMO_USD.assetId, 'sent',
|
|
110
|
+
tokenRow(DEMO_USD.assetId, 'sent', 2_000n, daysAgo(0, 11), lena.key, 'settling')
|
|
111
111
|
]
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -148,8 +148,8 @@ export function demoTotalActions(): number {
|
|
|
148
148
|
return state.actions.length
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
export function
|
|
152
|
-
return state.
|
|
151
|
+
export function demoTokenUnits(assetId: string): bigint {
|
|
152
|
+
return state.tokenUnits[assetId] ?? 0n
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
export function demoTokenActivity(limit?: number): TokenActivityRow[] {
|
|
@@ -157,11 +157,11 @@ export function demoTokenActivity(limit?: number): TokenActivityRow[] {
|
|
|
157
157
|
return limit == null ? sorted : sorted.slice(0, limit)
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
/**
|
|
161
|
-
export function
|
|
160
|
+
/** Units received but not yet settled — what the UI shows as pending. */
|
|
161
|
+
export function demoOfflineUnits(assetId: string): bigint {
|
|
162
162
|
return state.tokenActivity
|
|
163
163
|
.filter(r => r.asset.assetId === assetId && r.role === 'received' && r.status === 'settling')
|
|
164
|
-
.reduce((sum, r) => sum + r.
|
|
164
|
+
.reduce((sum, r) => sum + r.units, 0n)
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
// ── writes ─────────────────────────────────────────────────────────────
|
|
@@ -194,16 +194,15 @@ export function demoReceiveBsv(satoshis: number, description: string): DemoActio
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
/** Spend a token. Returns the new row, or null when the balance cannot cover it. */
|
|
197
|
-
export function demoSendToken(assetId: string,
|
|
197
|
+
export function demoSendToken(assetId: string, units: bigint, counterpartyKey?: string): TokenActivityRow | null {
|
|
198
198
|
if (!demoAssetById(assetId)) return null
|
|
199
|
-
if (
|
|
200
|
-
const held =
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
const row = tokenRow(assetId, 'sent', amount, new Date().toISOString(), counterpartyKey, 'settled')
|
|
199
|
+
if (typeof units !== 'bigint' || units <= 0n) return null
|
|
200
|
+
const held = demoTokenUnits(assetId)
|
|
201
|
+
if (units > held) return null
|
|
202
|
+
const row = tokenRow(assetId, 'sent', units, new Date().toISOString(), counterpartyKey, 'settled')
|
|
204
203
|
state = {
|
|
205
204
|
...state,
|
|
206
|
-
|
|
205
|
+
tokenUnits: { ...state.tokenUnits, [assetId]: held - units },
|
|
207
206
|
tokenActivity: [...state.tokenActivity, row]
|
|
208
207
|
}
|
|
209
208
|
notify()
|
|
@@ -211,18 +210,13 @@ export function demoSendToken(assetId: string, baseUnits: number, counterpartyKe
|
|
|
211
210
|
}
|
|
212
211
|
|
|
213
212
|
/** Receive a token — for demonstrating an incoming payment on cue. */
|
|
214
|
-
export function demoReceiveToken(
|
|
215
|
-
assetId: string,
|
|
216
|
-
baseUnits: number,
|
|
217
|
-
counterpartyKey?: string
|
|
218
|
-
): TokenActivityRow | null {
|
|
213
|
+
export function demoReceiveToken(assetId: string, units: bigint, counterpartyKey?: string): TokenActivityRow | null {
|
|
219
214
|
if (!demoAssetById(assetId)) return null
|
|
220
|
-
if (
|
|
221
|
-
const
|
|
222
|
-
const row = tokenRow(assetId, 'received', amount, new Date().toISOString(), counterpartyKey, 'settled')
|
|
215
|
+
if (typeof units !== 'bigint' || units <= 0n) return null
|
|
216
|
+
const row = tokenRow(assetId, 'received', units, new Date().toISOString(), counterpartyKey, 'settled')
|
|
223
217
|
state = {
|
|
224
218
|
...state,
|
|
225
|
-
|
|
219
|
+
tokenUnits: { ...state.tokenUnits, [assetId]: demoTokenUnits(assetId) + units },
|
|
226
220
|
tokenActivity: [...state.tokenActivity, row]
|
|
227
221
|
}
|
|
228
222
|
notify()
|
|
@@ -2,52 +2,69 @@
|
|
|
2
2
|
* A `MandalaRuntime` backed entirely by the demo ledger.
|
|
3
3
|
*
|
|
4
4
|
* DEV-ONLY. Implements the members the UI actually reads or calls; everything
|
|
5
|
-
* else on the interface is
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* else on the interface is settlement machinery that has nothing to settle
|
|
6
|
+
* here, so it answers "nothing happened" rather than throwing — a demo must
|
|
7
|
+
* never crash on a background tick.
|
|
8
8
|
*
|
|
9
9
|
* `endpoints` deliberately carries the `.invalid` demo overlay rather than the
|
|
10
10
|
* configured one: if any code path ever did try to settle one of these rows,
|
|
11
|
-
* it must fail to resolve rather than reach a real issuer.
|
|
11
|
+
* it must fail to resolve rather than reach a real issuer. The journal refuses
|
|
12
|
+
* every call for the same reason.
|
|
12
13
|
*/
|
|
13
|
-
import type {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
14
|
+
import type {
|
|
15
|
+
MandalaRuntime,
|
|
16
|
+
TokenAssetInfo,
|
|
17
|
+
TokenAssetStatus,
|
|
18
|
+
TokenBalance,
|
|
19
|
+
TokenSendResult
|
|
20
|
+
} from '../mandala/runtime'
|
|
21
|
+
import type { TransferJournal } from '../mandala/transferJournal'
|
|
22
|
+
import { DEMO_ASSETS, DEMO_OVERLAY_KEY, DEMO_OVERLAY_URL } from './demoAssets'
|
|
23
|
+
import { demoOfflineUnits, demoSendToken, demoTokenActivity, demoTokenUnits, subscribeDemoLedger } from './demoLedger'
|
|
24
|
+
|
|
25
|
+
const DEMO_MESSAGEBOX_URL = 'https://messagebox.demo.invalid'
|
|
22
26
|
|
|
23
27
|
function statusFor(): TokenAssetStatus {
|
|
24
28
|
return {
|
|
25
29
|
paused: false,
|
|
26
|
-
|
|
30
|
+
frozenUnits: 0n,
|
|
27
31
|
selfAdmitted: true,
|
|
28
32
|
recipientAdmitted: async () => true,
|
|
29
33
|
metadataResolved: true,
|
|
30
|
-
messageBoxUrl:
|
|
34
|
+
messageBoxUrl: DEMO_MESSAGEBOX_URL
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
37
|
|
|
34
38
|
function balanceFor(asset: TokenAssetInfo): TokenBalance {
|
|
39
|
+
const units = demoTokenUnits(asset.assetId)
|
|
40
|
+
const offline = demoOfflineUnits(asset.assetId)
|
|
41
|
+
return { asset, units, offlineUnits: offline > units ? units : offline }
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function demoJournal(): TransferJournal {
|
|
45
|
+
const refuse = async (): Promise<never> => {
|
|
46
|
+
throw new Error('demo mode has no color_transfers journal')
|
|
47
|
+
}
|
|
35
48
|
return {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
49
|
+
get: refuse,
|
|
50
|
+
getByReference: refuse,
|
|
51
|
+
list: refuse,
|
|
52
|
+
insert: refuse,
|
|
53
|
+
advance: refuse,
|
|
54
|
+
setDelivered: refuse,
|
|
55
|
+
statesOf: refuse
|
|
39
56
|
}
|
|
40
57
|
}
|
|
41
58
|
|
|
42
59
|
export function createDemoMandalaRuntime(): MandalaRuntime {
|
|
43
|
-
const runtime = {
|
|
60
|
+
const runtime: MandalaRuntime = {
|
|
44
61
|
available: true,
|
|
45
62
|
endpoints: {
|
|
46
|
-
overlayUrl:
|
|
47
|
-
overlayIdentityKey:
|
|
48
|
-
messageBoxUrl:
|
|
63
|
+
overlayUrl: DEMO_OVERLAY_URL,
|
|
64
|
+
overlayIdentityKey: DEMO_OVERLAY_KEY,
|
|
65
|
+
messageBoxUrl: DEMO_MESSAGEBOX_URL
|
|
49
66
|
},
|
|
50
|
-
|
|
67
|
+
journal: demoJournal(),
|
|
51
68
|
|
|
52
69
|
// ── what the UI reads ───────────────────────────────────────────
|
|
53
70
|
listAssets: async () => DEMO_ASSETS,
|
|
@@ -56,41 +73,42 @@ export function createDemoMandalaRuntime(): MandalaRuntime {
|
|
|
56
73
|
stuck: async () => [],
|
|
57
74
|
assetStatus: async () => statusFor(),
|
|
58
75
|
refreshAssetStatus: async () => statusFor(),
|
|
76
|
+
rememberDeploy: async () => {},
|
|
59
77
|
recipientRefusal: () => null,
|
|
60
78
|
subscribe: subscribeDemoLedger,
|
|
61
79
|
|
|
62
80
|
// ── what the UI calls ───────────────────────────────────────────
|
|
63
|
-
sendToHandle: async (args: {
|
|
64
|
-
|
|
81
|
+
sendToHandle: async (args: {
|
|
82
|
+
assetId: string
|
|
83
|
+
recipientIdentityKey: string
|
|
84
|
+
units: bigint
|
|
85
|
+
}): Promise<TokenSendResult> => {
|
|
86
|
+
const row = demoSendToken(args.assetId, args.units, args.recipientIdentityKey)
|
|
65
87
|
if (!row) {
|
|
66
|
-
return {
|
|
67
|
-
kind: 'refused' as const,
|
|
68
|
-
code: 'ERR_INSUFFICIENT_FUNDS',
|
|
69
|
-
message: 'Not enough balance in demo mode.'
|
|
70
|
-
}
|
|
88
|
+
return { kind: 'refused', code: 'ERR_INSUFFICIENT_FUNDS', message: 'Not enough balance in demo mode.' }
|
|
71
89
|
}
|
|
72
|
-
return { kind: 'sent'
|
|
90
|
+
return { kind: 'sent', txid: row.txid, settled: true, notified: true }
|
|
73
91
|
},
|
|
74
92
|
receiveFromInbox: async () => ({ credited: 0, failed: 0 }),
|
|
75
|
-
settleNow: async () => '
|
|
76
|
-
|
|
93
|
+
settleNow: async () => 'settled',
|
|
94
|
+
resendTransfer: async () => 'unavailable',
|
|
77
95
|
|
|
78
96
|
// ── machinery with nothing to do ────────────────────────────────
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
97
|
+
settleAll: async () => 0,
|
|
98
|
+
reviewTokenHoldings: async () => ({ settled: 0, refused: 0, pending: 0, unreachable: false }),
|
|
99
|
+
isHandoverAdmitted: async () => undefined,
|
|
100
|
+
reconcileHeld: async () => {},
|
|
101
|
+
tick: async () => {},
|
|
102
|
+
nearby: {
|
|
103
|
+
handover: async () => {
|
|
104
|
+
throw new Error('demo mode does not build nearby token payments')
|
|
105
|
+
},
|
|
106
|
+
onHandedOver: async () => {},
|
|
107
|
+
accept: async () => {
|
|
108
|
+
throw new Error('demo mode does not receive nearby token payments')
|
|
109
|
+
},
|
|
110
|
+
onReceived: async () => {}
|
|
111
|
+
}
|
|
88
112
|
}
|
|
89
|
-
|
|
90
|
-
// The remaining members are injection points for machinery demo mode never
|
|
91
|
-
// starts (the drain, the nearby build, the frame verifier, the pending
|
|
92
|
-
// queue). Casting rather than stubbing each one keeps this file honest about
|
|
93
|
-
// the fact that nothing here is a real settlement path — the same approach
|
|
94
|
-
// `__tests__/__mocks__/fakeMandalaRuntime.ts` takes.
|
|
95
|
-
return runtime as unknown as MandalaRuntime
|
|
113
|
+
return runtime
|
|
96
114
|
}
|
package/core/demo/index.ts
CHANGED
|
@@ -190,6 +190,8 @@ const resources = {
|
|
|
190
190
|
token_sent_settling_unnamed: "Sent. Settling with {{issuer}} — you'll see it confirm once one of you reconnects.",
|
|
191
191
|
token_sent_settled: 'Sent · settled with {{issuer}}',
|
|
192
192
|
token_status_settling: 'Settling',
|
|
193
|
+
token_balance_pending: '{{amount}} pending',
|
|
194
|
+
token_balance_settled: '{{amount}} settled',
|
|
193
195
|
token_status_settled: 'Settled',
|
|
194
196
|
token_status_refused: 'Refused',
|
|
195
197
|
token_status_reversed: 'Reversed',
|
|
@@ -781,6 +783,10 @@ const resources = {
|
|
|
781
783
|
baskets_section: 'Baskets',
|
|
782
784
|
certificates_section: 'Certificates',
|
|
783
785
|
requested_fields: 'Requested fields',
|
|
786
|
+
color_prompt_send_title: 'Token Send Request',
|
|
787
|
+
color_prompt_signature_title: 'Token Signature Request',
|
|
788
|
+
color_prompt_access_title: 'Token Access Request',
|
|
789
|
+
color_prompt_relinquish_title: 'Remove Token Holding',
|
|
784
790
|
|
|
785
791
|
// Amount input
|
|
786
792
|
send_max: 'Send Max',
|
|
@@ -1337,6 +1343,8 @@ const resources = {
|
|
|
1337
1343
|
token_sent_settling_unnamed: '已发送。正在与 {{issuer}} 结算 — 你们中任一方重新联网后即可看到确认。',
|
|
1338
1344
|
token_sent_settled: '已发送 · 已与 {{issuer}} 结算',
|
|
1339
1345
|
token_status_settling: '结算中',
|
|
1346
|
+
token_balance_pending: '{{amount}} 待结算',
|
|
1347
|
+
token_balance_settled: '{{amount}} 已结算',
|
|
1340
1348
|
token_status_settled: '已结算',
|
|
1341
1349
|
token_status_refused: '已拒绝',
|
|
1342
1350
|
token_status_reversed: '已撤销',
|
|
@@ -1877,6 +1885,10 @@ const resources = {
|
|
|
1877
1885
|
baskets_section: '篮子',
|
|
1878
1886
|
certificates_section: '证书',
|
|
1879
1887
|
requested_fields: '请求的字段',
|
|
1888
|
+
color_prompt_send_title: '代币发送请求',
|
|
1889
|
+
color_prompt_signature_title: '代币签名请求',
|
|
1890
|
+
color_prompt_access_title: '代币访问请求',
|
|
1891
|
+
color_prompt_relinquish_title: '移除代币持仓',
|
|
1880
1892
|
|
|
1881
1893
|
send_max: '发送最大值',
|
|
1882
1894
|
message_box_unreachable: '无法连接支付服务器。请在设置中检查消息盒 URL。',
|
|
@@ -2417,6 +2429,8 @@ const resources = {
|
|
|
2417
2429
|
'भेज दिया गया। {{issuer}} के साथ निपटान जारी — आप में से कोई भी दोबारा ऑनलाइन होने पर पुष्टि दिखेगी।',
|
|
2418
2430
|
token_sent_settled: 'भेजा गया · {{issuer}} के साथ निपटा',
|
|
2419
2431
|
token_status_settling: 'निपटान जारी',
|
|
2432
|
+
token_balance_pending: '{{amount}} लंबित',
|
|
2433
|
+
token_balance_settled: '{{amount}} निपटाया गया',
|
|
2420
2434
|
token_status_settled: 'निपट गया',
|
|
2421
2435
|
token_status_refused: 'अस्वीकृत',
|
|
2422
2436
|
token_status_reversed: 'वापस किया गया',
|
|
@@ -2987,6 +3001,10 @@ const resources = {
|
|
|
2987
3001
|
baskets_section: 'बास्केट',
|
|
2988
3002
|
certificates_section: 'प्रमाणपत्र',
|
|
2989
3003
|
requested_fields: 'अनुरोधित फ़ील्ड',
|
|
3004
|
+
color_prompt_send_title: 'टोकन भेजने का अनुरोध',
|
|
3005
|
+
color_prompt_signature_title: 'टोकन हस्ताक्षर अनुरोध',
|
|
3006
|
+
color_prompt_access_title: 'टोकन पहुँच अनुरोध',
|
|
3007
|
+
color_prompt_relinquish_title: 'टोकन होल्डिंग हटाएँ',
|
|
2990
3008
|
|
|
2991
3009
|
send_max: 'अधिकतम भेजें',
|
|
2992
3010
|
message_box_unreachable: 'भुगतान सर्वर से संपर्क नहीं हो सका। सेटिंग्स में message box URL जांचें।',
|
|
@@ -3553,6 +3571,8 @@ const resources = {
|
|
|
3553
3571
|
'Enviado. Liquidando con {{issuer}}: verás la confirmación cuando alguno de los dos se reconecte.',
|
|
3554
3572
|
token_sent_settled: 'Enviado · liquidado con {{issuer}}',
|
|
3555
3573
|
token_status_settling: 'Liquidando',
|
|
3574
|
+
token_balance_pending: '{{amount}} pendiente',
|
|
3575
|
+
token_balance_settled: '{{amount}} liquidado',
|
|
3556
3576
|
token_status_settled: 'Liquidado',
|
|
3557
3577
|
token_status_refused: 'Rechazado',
|
|
3558
3578
|
token_status_reversed: 'Revertido',
|
|
@@ -4135,6 +4155,10 @@ const resources = {
|
|
|
4135
4155
|
baskets_section: 'Cestas',
|
|
4136
4156
|
certificates_section: 'Certificados',
|
|
4137
4157
|
requested_fields: 'Campos solicitados',
|
|
4158
|
+
color_prompt_send_title: 'Solicitud de envío de tokens',
|
|
4159
|
+
color_prompt_signature_title: 'Solicitud de firma de tokens',
|
|
4160
|
+
color_prompt_access_title: 'Solicitud de acceso a tokens',
|
|
4161
|
+
color_prompt_relinquish_title: 'Eliminar tenencia de tokens',
|
|
4138
4162
|
|
|
4139
4163
|
send_max: 'Enviar máximo',
|
|
4140
4164
|
message_box_unreachable:
|
|
@@ -4719,6 +4743,8 @@ const resources = {
|
|
|
4719
4743
|
"Envoyé. Règlement avec {{issuer}} en cours — la confirmation apparaîtra dès que l'un de vous sera reconnecté.",
|
|
4720
4744
|
token_sent_settled: 'Envoyé · réglé avec {{issuer}}',
|
|
4721
4745
|
token_status_settling: 'Règlement en cours',
|
|
4746
|
+
token_balance_pending: '{{amount}} en attente',
|
|
4747
|
+
token_balance_settled: '{{amount}} réglé',
|
|
4722
4748
|
token_status_settled: 'Réglé',
|
|
4723
4749
|
token_status_refused: 'Refusé',
|
|
4724
4750
|
token_status_reversed: 'Annulé',
|
|
@@ -5301,6 +5327,10 @@ const resources = {
|
|
|
5301
5327
|
baskets_section: 'Paniers',
|
|
5302
5328
|
certificates_section: 'Certificats',
|
|
5303
5329
|
requested_fields: 'Champs demandés',
|
|
5330
|
+
color_prompt_send_title: 'Demande d’envoi de jetons',
|
|
5331
|
+
color_prompt_signature_title: 'Demande de signature de jetons',
|
|
5332
|
+
color_prompt_access_title: 'Demande d’accès aux jetons',
|
|
5333
|
+
color_prompt_relinquish_title: 'Retirer une détention de jetons',
|
|
5304
5334
|
|
|
5305
5335
|
send_max: 'Envoyer le maximum',
|
|
5306
5336
|
message_box_unreachable:
|
|
@@ -5870,6 +5900,8 @@ const resources = {
|
|
|
5870
5900
|
token_sent_settling_unnamed: 'تم الإرسال. جارٍ التسوية مع {{issuer}} — سترى التأكيد عند إعادة اتصال أحدكما.',
|
|
5871
5901
|
token_sent_settled: 'تم الإرسال · وتمت التسوية مع {{issuer}}',
|
|
5872
5902
|
token_status_settling: 'قيد التسوية',
|
|
5903
|
+
token_balance_pending: '{{amount}} معلّق',
|
|
5904
|
+
token_balance_settled: '{{amount}} تمت تسويته',
|
|
5873
5905
|
token_status_settled: 'تمت التسوية',
|
|
5874
5906
|
token_status_refused: 'مرفوض',
|
|
5875
5907
|
token_status_reversed: 'تم العكس',
|
|
@@ -6426,6 +6458,10 @@ const resources = {
|
|
|
6426
6458
|
baskets_section: 'السلال',
|
|
6427
6459
|
certificates_section: 'الشهادات',
|
|
6428
6460
|
requested_fields: 'الحقول المطلوبة',
|
|
6461
|
+
color_prompt_send_title: 'طلب إرسال رموز',
|
|
6462
|
+
color_prompt_signature_title: 'طلب توقيع رموز',
|
|
6463
|
+
color_prompt_access_title: 'طلب الوصول إلى الرموز',
|
|
6464
|
+
color_prompt_relinquish_title: 'إزالة حيازة رموز',
|
|
6429
6465
|
|
|
6430
6466
|
send_max: 'إرسال الحد الأقصى',
|
|
6431
6467
|
message_box_unreachable: 'تعذر الوصول إلى خادم الدفع. تحقق من عنوان URL لصندوق الرسائل في الإعدادات.',
|
|
@@ -6979,6 +7015,8 @@ const resources = {
|
|
|
6979
7015
|
'Enviado. A liquidar com {{issuer}} — verá a confirmação quando um de vocês voltar a ligar-se.',
|
|
6980
7016
|
token_sent_settled: 'Enviado · liquidado com {{issuer}}',
|
|
6981
7017
|
token_status_settling: 'A liquidar',
|
|
7018
|
+
token_balance_pending: '{{amount}} pendente',
|
|
7019
|
+
token_balance_settled: '{{amount}} liquidado',
|
|
6982
7020
|
token_status_settled: 'Liquidado',
|
|
6983
7021
|
token_status_refused: 'Recusado',
|
|
6984
7022
|
token_status_reversed: 'Revertido',
|
|
@@ -7558,6 +7596,10 @@ const resources = {
|
|
|
7558
7596
|
baskets_section: 'Cestas',
|
|
7559
7597
|
certificates_section: 'Certificados',
|
|
7560
7598
|
requested_fields: 'Campos solicitados',
|
|
7599
|
+
color_prompt_send_title: 'Pedido de envio de tokens',
|
|
7600
|
+
color_prompt_signature_title: 'Pedido de assinatura de tokens',
|
|
7601
|
+
color_prompt_access_title: 'Pedido de acesso a tokens',
|
|
7602
|
+
color_prompt_relinquish_title: 'Remover posse de tokens',
|
|
7561
7603
|
|
|
7562
7604
|
send_max: 'Enviar máximo',
|
|
7563
7605
|
message_box_unreachable:
|
|
@@ -8138,6 +8180,8 @@ const resources = {
|
|
|
8138
8180
|
'পাঠানো হয়েছে। {{issuer}}-এর সঙ্গে নিষ্পত্তি চলছে — আপনাদের যেকেউ আবার সংযুক্ত হলে নিশ্চয়তা দেখা যাবে।',
|
|
8139
8181
|
token_sent_settled: 'পাঠানো হয়েছে · {{issuer}}-এর সঙ্গে নিষ্পত্তি হয়েছে',
|
|
8140
8182
|
token_status_settling: 'নিষ্পত্তি চলছে',
|
|
8183
|
+
token_balance_pending: '{{amount}} মুলতুবি',
|
|
8184
|
+
token_balance_settled: '{{amount}} নিষ্পত্তি হয়েছে',
|
|
8141
8185
|
token_status_settled: 'নিষ্পত্তি হয়েছে',
|
|
8142
8186
|
token_status_refused: 'প্রত্যাখ্যাত',
|
|
8143
8187
|
token_status_reversed: 'ফিরিয়ে নেওয়া হয়েছে',
|
|
@@ -8701,6 +8745,10 @@ const resources = {
|
|
|
8701
8745
|
baskets_section: 'বাস্কেট',
|
|
8702
8746
|
certificates_section: 'সার্টিফিকেট',
|
|
8703
8747
|
requested_fields: 'অনুরোধকৃত ক্ষেত্র',
|
|
8748
|
+
color_prompt_send_title: 'টোকেন পাঠানোর অনুরোধ',
|
|
8749
|
+
color_prompt_signature_title: 'টোকেন স্বাক্ষরের অনুরোধ',
|
|
8750
|
+
color_prompt_access_title: 'টোকেন অ্যাক্সেসের অনুরোধ',
|
|
8751
|
+
color_prompt_relinquish_title: 'টোকেন হোল্ডিং সরান',
|
|
8704
8752
|
|
|
8705
8753
|
send_max: 'সর্বোচ্চ পাঠান',
|
|
8706
8754
|
message_box_unreachable: 'পেমেন্ট সার্ভারে পৌঁছানো যায়নি। সেটিংসে message box URL যাচাই করুন।',
|
|
@@ -9271,6 +9319,8 @@ const resources = {
|
|
|
9271
9319
|
'Отправлено. Идёт расчёт с {{issuer}} — подтверждение появится, когда кто-то из вас выйдет в сеть.',
|
|
9272
9320
|
token_sent_settled: 'Отправлено · расчёт с {{issuer}} завершён',
|
|
9273
9321
|
token_status_settling: 'Идёт расчёт',
|
|
9322
|
+
token_balance_pending: '{{amount}} в ожидании',
|
|
9323
|
+
token_balance_settled: '{{amount}} подтверждено',
|
|
9274
9324
|
token_status_settled: 'Расчёт завершён',
|
|
9275
9325
|
token_status_refused: 'Отклонён',
|
|
9276
9326
|
token_status_reversed: 'Отменён',
|
|
@@ -9847,6 +9897,10 @@ const resources = {
|
|
|
9847
9897
|
baskets_section: 'Корзины',
|
|
9848
9898
|
certificates_section: 'Сертификаты',
|
|
9849
9899
|
requested_fields: 'Запрошенные поля',
|
|
9900
|
+
color_prompt_send_title: 'Запрос на отправку токенов',
|
|
9901
|
+
color_prompt_signature_title: 'Запрос на подпись токенов',
|
|
9902
|
+
color_prompt_access_title: 'Запрос доступа к токенам',
|
|
9903
|
+
color_prompt_relinquish_title: 'Удалить токены из кошелька',
|
|
9850
9904
|
|
|
9851
9905
|
send_max: 'Отправить максимум',
|
|
9852
9906
|
message_box_unreachable: 'Не удалось связаться с платёжным сервером. Проверьте URL message box в настройках.',
|
|
@@ -10422,6 +10476,8 @@ const resources = {
|
|
|
10422
10476
|
'Terkirim. Sedang diselesaikan dengan {{issuer}} — konfirmasinya muncul saat salah satu dari Anda tersambung lagi.',
|
|
10423
10477
|
token_sent_settled: 'Terkirim · diselesaikan dengan {{issuer}}',
|
|
10424
10478
|
token_status_settling: 'Sedang diselesaikan',
|
|
10479
|
+
token_balance_pending: '{{amount}} tertunda',
|
|
10480
|
+
token_balance_settled: '{{amount}} selesai',
|
|
10425
10481
|
token_status_settled: 'Selesai',
|
|
10426
10482
|
token_status_refused: 'Ditolak',
|
|
10427
10483
|
token_status_reversed: 'Dibatalkan',
|
|
@@ -10996,6 +11052,10 @@ const resources = {
|
|
|
10996
11052
|
baskets_section: 'Keranjang',
|
|
10997
11053
|
certificates_section: 'Sertifikat',
|
|
10998
11054
|
requested_fields: 'Kolom yang diminta',
|
|
11055
|
+
color_prompt_send_title: 'Permintaan kirim token',
|
|
11056
|
+
color_prompt_signature_title: 'Permintaan tanda tangan token',
|
|
11057
|
+
color_prompt_access_title: 'Permintaan akses token',
|
|
11058
|
+
color_prompt_relinquish_title: 'Hapus kepemilikan token',
|
|
10999
11059
|
|
|
11000
11060
|
send_max: 'Kirim Maksimal',
|
|
11001
11061
|
message_box_unreachable: 'Tidak dapat menghubungi server pembayaran. Periksa URL message box di pengaturan.',
|
|
@@ -11569,6 +11629,8 @@ const resources = {
|
|
|
11569
11629
|
token_sent_settling_unnamed: '送信しました。{{issuer}} と決済中 — どちらかが再接続すると確認が表示されます。',
|
|
11570
11630
|
token_sent_settled: '送信済み · {{issuer}} と決済完了',
|
|
11571
11631
|
token_status_settling: '決済中',
|
|
11632
|
+
token_balance_pending: '{{amount}} 保留中',
|
|
11633
|
+
token_balance_settled: '{{amount}} 決済済み',
|
|
11572
11634
|
token_status_settled: '決済済み',
|
|
11573
11635
|
token_status_refused: '拒否されました',
|
|
11574
11636
|
token_status_reversed: '取り消されました',
|
|
@@ -12152,6 +12214,10 @@ const resources = {
|
|
|
12152
12214
|
baskets_section: 'バスケット',
|
|
12153
12215
|
certificates_section: '証明書',
|
|
12154
12216
|
requested_fields: 'リクエストされたフィールド',
|
|
12217
|
+
color_prompt_send_title: 'トークン送信リクエスト',
|
|
12218
|
+
color_prompt_signature_title: 'トークン署名リクエスト',
|
|
12219
|
+
color_prompt_access_title: 'トークンアクセスリクエスト',
|
|
12220
|
+
color_prompt_relinquish_title: 'トークン保有の削除',
|
|
12155
12221
|
|
|
12156
12222
|
// Amount input
|
|
12157
12223
|
send_max: '最大額を送金',
|
|
@@ -12727,6 +12793,8 @@ const resources = {
|
|
|
12727
12793
|
'Wysłano. Rozliczanie z {{issuer}} — potwierdzenie pojawi się, gdy któreś z was wróci do sieci.',
|
|
12728
12794
|
token_sent_settled: 'Wysłano · rozliczone z {{issuer}}',
|
|
12729
12795
|
token_status_settling: 'Rozliczanie',
|
|
12796
|
+
token_balance_pending: '{{amount}} w toku',
|
|
12797
|
+
token_balance_settled: '{{amount}} rozliczone',
|
|
12730
12798
|
token_status_settled: 'Rozliczone',
|
|
12731
12799
|
token_status_refused: 'Odrzucone',
|
|
12732
12800
|
token_status_reversed: 'Cofnięte',
|
|
@@ -13314,6 +13382,10 @@ const resources = {
|
|
|
13314
13382
|
baskets_section: 'Koszyki',
|
|
13315
13383
|
certificates_section: 'Certyfikaty',
|
|
13316
13384
|
requested_fields: 'Żądane pola',
|
|
13385
|
+
color_prompt_send_title: 'Prośba o wysłanie tokenów',
|
|
13386
|
+
color_prompt_signature_title: 'Prośba o podpis tokenów',
|
|
13387
|
+
color_prompt_access_title: 'Prośba o dostęp do tokenów',
|
|
13388
|
+
color_prompt_relinquish_title: 'Usuń posiadane tokeny',
|
|
13317
13389
|
|
|
13318
13390
|
// Amount input
|
|
13319
13391
|
send_max: 'Wyślij maksimum',
|