メインコンテンツまでスキップ

Interface: UpbondWalletRecoveryConfig

Wiring for the two-service non-custodial recovery split (WO 2026/003995, redirect mode). Usually supplied by a WalletEnvironment preset; an RP only sets these to point at a custom deployment. See .claude/rules/wallet.md for the ciphertext-store / recoverian separation.

Properties​

promptOtp?​

optional promptOtp?: () => Promise<string>

Asks the user for the OTP the recoverian sent to their bound contact; called mid-recovery (between recoverStart and recoverVerify). Optional so recovery-service registration can be wired before the OTP input UI exists; recoverWallet throws clearly if invoked without it.

Returns​

Promise<string>


recoverianServiceName​

recoverianServiceName: string

Cloud Run service name of the recoverian (used to scope its requests).


recoverianUrl​

recoverianUrl: string

recoverian-service base URL — the independent identify + KMS-decrypt side.


serviceUrl​

serviceUrl: string

recovery-service base URL — the encrypted-blob store (ciphertext only).