Closed kwoktung closed 5 days ago
Improved Retrieval of Network Settings
Adjusted ServiceNetwork.ts
to increase efficiency in fetching network settings; implemented methods for fetching various configuration settings like accounts, public keys and address book enabled networks.
Enabled Public Key Export and Disabled Address Book for Specific Networks
In the settings.ts
files in directories impls/btc
, impls/lightning
, impls/nostr
, and settings-testnet.ts
the public key export was enabled, and the address book was disabled where needed.
Modified Data Types in Vaults
In the types.ts
file in the vaults
directory, publicKeyExportEnabled and addressBookDisabled were added as optional properties to the vault settings.
Changed Prop from excludedNetworkIds
to networkIds
This prop change took place in NetworkSelectorTrigger.tsx
, ChainSelectorInput.tsx
, CreateOrEditContent.tsx
, ImportAddress.tsx
, ImportPrivateKey.tsx
and ImportSingleChainBase.tsx
.
Enhanced Network Management in Import Onboarding
In ImportAddress.tsx
and ImportPrivateKey.tsx
, network management was improved during the import process by using network IDs that either allow public key export or watching accounts. Applied similar change in ImportSingleChainBase.tsx
.
Review or Edit in CodeSandbox
Open the branch in Web Editor • VS Code • Insiders
Open Preview