feat(core): implement unified Web3 EIP-712 session lifecycle #1612
Closed
AbhilashG12 wants to merge 5 commits into
Closed
feat(core): implement unified Web3 EIP-712 session lifecycle #1612AbhilashG12 wants to merge 5 commits into
AbhilashG12 wants to merge 5 commits into
Conversation
- Add auth types to generator TYPE_MAP - Regenerate client.ts with auth methods Fixes pmxt-dev#1606 pmxt-dev#1589
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.
Resolves #1606.
Context
The core sidecar previously lacked a unified EIP-712 authentication flow. This resulted in broken sessions, middleware hangs during high traffic, and forced Web3 venues (like Probable) to rely on static, out-of-band API keys instead of programmatic wallet logins.
Architectural Changes
getAuthNonce,loginWithSignature,logout) toBaseExchangeandtypes.ts.postAuthLogin, etc.) into the new unified methods viacallApi.openapi.yamland regenerated the Python and TypeScript SDKs.Next Steps
Once this architectural pattern is reviewed and approved, I plan to implement the exact same interface for Limitless (Resolves #1589) in a follow-up PR to completely eliminate the remaining session-flow gaps.