feat: save/import custom network profiles with passphrase check - #172
Open
Vivianndev wants to merge 8 commits into
Open
feat: save/import custom network profiles with passphrase check#172Vivianndev wants to merge 8 commits into
Vivianndev wants to merge 8 commits into
Conversation
|
@Vivianndev Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds a Custom Network Profile Manager that lets users save, import, and verify named Horizon configurations (name, base URL, network passphrase, optional friendbot URL, and default flag). It removes the need to re-enter network settings on every session and prevents silent failures when a Horizon URL does not match the expected network passphrase.
Related Issue
Closes #
Changes
🗂 Network Profile Persistence & CRUD
[ADD]
network_profilestableapps/api/src/database/migrations/1786000000000-create-transaction-sequence.tsid,owner_id,name,horizon_url,network_passphrase,friendbot_url,is_default, and timestamps.owner_idand remain private by default.[ADD] Network module CRUD endpoints
apps/api/src/modules/network/network.module.tsapps/api/src/modules/network/network.controller.tsapps/api/src/modules/network/network.service.tsapps/api/src/modules/network/entities/network-sample.entity.ts[MODIFY] Web API client and network context
apps/web/src/lib/api.tsapps/web/src/lib/network-context.tsx🔒 Passphrase Verification
network_passphrase.📤 Import / Export
{ name, horizon_url, network_passphrase, friendbot_url, is_default }.🖥 UI
apps/web/src/app/network/page.tsx🧪 Tests
Verification Results
Closes #153