feat(settings): add Byreal Spot venue surface to Settings → Brokers#1107
Open
latentwill wants to merge 1 commit into
Open
feat(settings): add Byreal Spot venue surface to Settings → Brokers#1107latentwill wants to merge 1 commit into
latentwill wants to merge 1 commit into
Conversation
Adds byreal_spot to BrokersReport + BrokersSecretsFile with: - ByrealSpotCredentials store (private_key + network, no account field) - set/clear routes at POST/DELETE /api/settings/brokers/byreal-spot - byreal_spot_entry() constructor detecting BYREAL_SPOT_PRIVATE_KEY / BYREAL_SPOT_NETWORK env vars - ByrealSpotBrokerCard in Settings → Brokers UI (mirrors perps card) The trading capability shipped via PR #1082 (ByrealSpotSurface, LiveVenue::ByrealSpot, SafetyGate). This is the operator-facing credential surface only. Closes xvision-1gho.
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.
What
Adds Byreal Solana Spot credential management to Settings → Brokers. The trading capability already shipped via PR #1082 (ByrealSpotSurface, LiveVenue::ByrealSpot, SafetyGate, byreal_spot_marks.rs). This is the operator-facing credential surface only.
Changes
Backend
BrokersReportgainsbyreal_spot: BrokerEntryfieldBrokersSecretsFilegains[byreal_spot]tableByrealSpotCredentials,SetByrealSpotReq,ByrealSpotStoredbyreal_spot_entry()constructor detectingBYREAL_SPOT_PRIVATE_KEY/BYREAL_SPOT_NETWORKenv varsset_byreal_spot()/clear_byreal_spot()with audit loggingPOST/DELETE /api/settings/brokers/byreal-spotFrontend
ByrealSpotBrokerCardcomponent (private key + network toggle)ByrealBrokerCardbut without an account field (spot resolves wallet from the byreal-cli keystore)setByrealSpotCredentials()/clearByrealSpotCredentials()Verification