Implementation Notes

This document records the web wallet implementation direction chosen for adding the Photon regtest backend without breaking the current working wallet.

Design

Implemented Scope

  1. Added backend profile support to the web wallet settings flow.
  2. Added profile-aware Bitcoin API base resolution.
  3. Updated fee, address-history, UTXO, activity, and broadcast helpers to use that resolver.
  4. Updated RGB occupied UTXO fetching to reuse the configured Bitcoin backend instead of a hardcoded explorer URL.

Profiles

Photon Regtest Defaults

Remaining Requirement

The web wallet routing is now prepared for the Photon regtest adapter, but the adapter service itself still needs to exist at dev-api.photonbolt.xyz for regtest requests to succeed under that profile.